ZHCSH00F August 2016 – November 2019 AM5706 , AM5708
PRODUCTION DATA.
The McSPI is a master/slave synchronous serial bus. There are four separate McSPI modules (SPI1, SPI2, SPI3, and SPI4) in the device. All these four modules support up to four external devices (four chip selects) and are able to work as both master and slave.
The McSPI modules include the following main features:
NOTE
For more information, see the Serial Communication Interface section of the Device TRM.
NOTE
The McSPIm module (m = 1 to 4) is also referred to as SPIm.
CAUTION
The I/O timings provided in this section are applicable for all combinations of signals for SPI1 and SPI2. However, the timings are valid only for SPI3 and SPI4 if signals within a single IOSET are used. The IOSETS are defined in Table 5-68.
Table 5-66, Figure 5-46 and Figure 5-47 present Timing Requirements for McSPI - Master Mode.
NO. | PARAMETER | DESCRIPTION | MODE | MIN | MAX | UNIT |
---|---|---|---|---|---|---|
SM1 | tc(SPICLK) | Cycle time, spi_sclk (1)(2) | SPI1/2/3/4 | 20.8 (3) | ns | |
SM2 | tw(SPICLKL) | Typical Pulse duration, spi_sclk low (1) | 0.5 × P-1 (4) | ns | ||
SM3 | tw(SPICLKH) | Typical Pulse duration, spi_sclk high (1) | 0.5 × P-1 (4) | ns | ||
SM4 | tsu(MISO-SPICLK) | Setup time, spi_d[x] valid before spi_sclk active edge (1) | 3.5 | ns | ||
SM5 | th(SPICLK-MISO) | Hold time, spi_d[x] valid after spi_sclk active edge (1) | 3.7 | ns | ||
SM6 | td(SPICLK-SIMO) | Delay time, spi_sclk active edge to spi_d[x] transition (1) | SPI1 | -3.57 | 4.1 | ns |
SPI2 | -3.9 | 3.6 | ns | |||
SPI3 | -4.9 | 4.7 | ns | |||
SPI4 | -4.3 | 4.5 | ns | |||
SM7 | td(CS-SIMO) | Delay time, spi_cs[x] active edge to spi_d[x] transition | 5 | ns | ||
SM8 | td(CS-SPICLK) | Delay time, spi_cs[x] active to spi_sclk first edge (1) | MASTER_PHA0 (5) | B-4.2 (6) | ns | |
MASTER_PHA1 (5) | A-4.2 (7) | ns | ||||
SM9 | td(SPICLK-CS) | Delay time, spi_sclk last edge to spi_cs[x] inactive (1) | MASTER_PHA0 (5) | A-4.2 (7) | ns | |
MASTER_PHA1 (5) | B-4.2 (6) | ns |
Table 5-67, Figure 5-48 and Figure 5-49 present Timing Requirements for McSPI - Slave Mode.
NO. | PARAMETER | DESCRIPTION | MODE | MIN | MAX | UNIT |
---|---|---|---|---|---|---|
SS1 (1) | tc(SPICLK) | Cycle time, spi_sclk | 62.5 (2)(3) | ns | ||
SS2 (1) | tw(SPICLKL) | Typical Pulse duration, spi_sclk low | 0.45 × P (4) | ns | ||
SS3 (1) | tw(SPICLKH) | Typical Pulse duration, spi_sclk high | 0.45 × P (4) | ns | ||
SS4 (1) | tsu(SIMO-SPICLK) | Setup time, spi_d[x] valid before spi_sclk active edge | 5 | ns | ||
SS5 (1) | th(SPICLK-SIMO) | Hold time, spi_d[x] valid after spi_sclk active edge | 5 | ns | ||
SS6 (1) | td(SPICLK-SOMI) | Delay time, spi_sclk active edge to mcspi_somi transition | SPI1/2/3 | 2 | 26.6 | ns |
SPI4 | 2 | 20.1 | ns | |||
SS7 (5) | td(CS-SOMI) | Delay time, spi_cs[x] active edge to mcspi_somi transition | 20.95 | ns | ||
SS8 (1) | tsu(CS-SPICLK) | Setup time, spi_cs[x] valid before spi_sclk first edge | 5 | ns | ||
SS9 (1) | th(SPICLK-CS) | Hold time, spi_cs[x] valid after spi_sclk last edge | SPI1/2 | 5 | ns | |
SPI3 | 7.5 | ns | ||||
SPI4 | 6 | ns |
In Table 5-68 are presented the specific groupings of signals (IOSET) for use with SPI3 and SPI4.
SIGNALS | IOSET1 | IOSET2 | IOSET3 | IOSET4 | IOSET5 | |||||
---|---|---|---|---|---|---|---|---|---|---|
BALL | MUX | BALL | MUX | BALL | MUX | BALL | MUX | BALL | MUX | |
McSPI3 | ||||||||||
spi3_cs0 | T5 | 7 | B18 | 3 | D23 | 2 | AA3 | 1 | ||
spi3_cs1 | W2 | 1 | A19 | 3 | W2 | 1 | ||||
spi3_d0 | T4 | 7 | B16 | 3 | A24 | 2 | AA2 | 1 | ||
spi3_d1 | N6 | 7 | B17 | 3 | B25 | 2 | Y4 | 1 | ||
spi3_sclk | N5 | 7 | A18 | 3 | C23 | 2 | Y1 | 1 | ||
McSPI4 | ||||||||||
spi4_cs0 | L3 | 8 | B9 | 8 | R1 | 7 | AC4 | 2 | AB1 | 1 |
spi4_cs1 | G1 | 8 | G1 | 8 | N6 | 8 | N6 | 8 | N6 | 8 |
spi4_cs2 | H3 | 8 | H3 | 8 | T4 | 8 | T4 | 8 | T4 | 8 |
spi4_cs3 | H4 | 8 | H4 | 8 | T5 | 8 | T5 | 8 | T5 | 8 |
spi4_d0 | J2 | 8 | C8 | 8 | R2 | 7 | AA5 | 2 | AA4 | 1 |
spi4_d1 | H1 | 8 | B8 | 8 | P3 | 7 | U6 | 2 | AA1 | 1 |
spi4_sclk | K4 | 8 | E8 | 8 | P4 | 7 | AC3 | 2 | Y3 | 1 |