ZHCSIM5F December 2016 – July 2018 AM5746 , AM5748 , AM5749
ADVANCE INFORMATION for pre-production products; subject to change without notice.
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 IO timings provided in this section are applicable for all combinations of signals for SPI1 and SPI2. However, the timings are only valid for SPI3 and SPI4 if signals within a single IOSET are used. The IOSETS are defined in the Table 5-75.
Table 5-73, Figure 5-49 and Figure 5-50 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) | 4.4 | ns | ||
SM5 | th(SPICLK-MISO) | Hold time, spi_d[x] valid after spi_sclk active edge (1) | 3.9 | ns | ||
SM6 | td(SPICLK-SIMO) | Delay time, spi_sclk active edge to spi_d[x] transition (1) | SPI1 | -4.27 | 4.27 | ns |
SPI2 | -4.32 | 4.32 | ns | |||
SPI3 | -5.37 | 4.23 | ns | |||
SPI4 | -3.81 | 4.41 | 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.6 (6) | ns | |
MASTER_PHA1 (5) | A-4.6 (7) | ns | ||||
SM9 | td(SPICLK-CS) | Delay time, spi_sclk last edge to spi_cs[x] inactive (1) | MASTER_PHA0 (5) | A-4.6 (7) | ns | |
MASTER_PHA1 (5) | B-4.6 (6) | ns |
Table 5-74, Figure 5-51 and Figure 5-52 present Timing Requirements for McSPI - Slave Mode.
NO. | PARAMETER | DESCRIPTION | MODE | MIN | MAX | UNIT |
---|---|---|---|---|---|---|
SS1(2)(1) | tc(SPICLK) | Cycle time, spi_sclk (3) | 62.5 | ns | ||
SS2(1) | tw(SPICLKL) | Typical Pulse duration, spi_sclk low | 0.45P (4) | ns | ||
SS3(1) | tw(SPICLKH) | Typical Pulse duration, spi_sclk high | 0.45P (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.1 | ns |
SPI4 | 2 | 18 | 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 | 5 | ns |
In Table 5-75 are presented the specific groupings of signals (IOSET) for use with SPI3 and SPI4.
Signal | IOSET1 | IOSET2 | IOSET3 | IOSET4 | IOSET5 | IOSET6 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
BALL | MUX | BALL | MUX | BALL | MUX | BALL | MUX | BALL | MUX | BALL | MUX | |
SPI3 | ||||||||||||
spi3_sclk | AD9 | 8 | E11 | 8 | V2 | 7 | B12 | 3 | C18 | 2 | AC4 | 1 |
spi3_d1 | AF9 | 8 | B10 | 8 | Y1 | 7 | A11 | 3 | A21 | 2 | AC7 | 1 |
spi3_d0 | AE9 | 8 | C11 | 8 | W9 | 7 | B13 | 3 | G16 | 2 | AC6 | 1 |
spi3_cs0 | AF8 | 8 | D11 | 8 | V9 | 7 | A12 | 3 | D17 | 2 | AC9 | 1 |
spi3_cs1 | - | - | B11 | 8 | - | - | E14 | 3 | - | - | AC3 | 1 |
spi3_cs2 | - | - | F11 | 8 | - | - | - | - | - | - | - | - |
spi3_cs3 | - | - | A10 | 8 | - | - | - | - | - | - | - | - |
SPI4 | ||||||||||||
spi4_sclk | N7 | 8 | G1 | 8 | V7 | 7 | AA3 | 2 | AC8 | 1 | - | - |
spi4_d1 | R4 | 8 | G6 | 8 | U7 | 7 | AB9 | 2 | AD6 | 1 | - | - |
spi4_d0 | N9 | 8 | F2 | 8 | V6 | 7 | AB3 | 2 | AB8 | 1 | - | - |
spi4_cs0 | P9 | 8 | F3 | 8 | U6 | 7 | AA4 | 2 | AB5 | 1 | - | - |
spi4_cs1 | P4 | 8 | - | - | Y1 | 8 | - | - | - | - | - | - |
spi4_cs2 | R3 | 8 | - | - | W9 | 8 | - | - | - | - | - | - |
spi4_cs3 | T2 | 8 | - | - | V9 | 8 | - | - | - | - | - | - |