SPRS964H June 2016 – February 2020 TDA3LA , TDA3LX , TDA3MA , TDA3MD , TDA3MV
PRODUCTION DATA.
Refer to the PDF data sheet for device specific package drawings
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.
Table 7-20, Figure 7-26 and Figure 7-27 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 | ns | |
SM2 | tw(SPICLKL) | Typical Pulse duration, spi_sclk low (1) | 0.5×P-1 (3) | ns | ||
SM3 | tw(SPICLKH) | Typical Pulse duration, spi_sclk high (1) | 0.5×P-1 (3) | ns | ||
SM4 | tsu(MISO-SPICLK) | Setup time, spi_d[x] valid before spi_sclk active edge (1) | 2.29 | ns | ||
SM5 | th(SPICLK-MISO) | Hold time, spi_d[x] valid after spi_sclk active edge (1) | 2.67 | ns | ||
SM6 | td(SPICLK-SIMO) | Delay time, spi_sclk active edge to spi_d[x] transition (1) | SPI1/2/4 | -3.57 | 3.57 | ns |
SPI3 | -3.57 | 3.57 | ns | |||
SM7 | td(CS-SIMO) | Delay time, spi_cs[x] active edge to spi_d[x] transition | 3.57 | ns | ||
SM8 | td(CS-SPICLK) | Delay time, spi_cs[x] active to spi_sclk first edge (1) | MASTER_PHA0 (4) | B-4.2 (5) | ns | |
MASTER_PHA1 (4) | A-4.2 (6) | ns | ||||
SM9 | td(SPICLK-CS) | Delay time, spi_sclk last edge to spi_cs[x] inactive (1) | MASTER_PHA0 (4) | A-4.2 (6) | ns | |
MASTER_PHA1 (4) | B-4.2 (5) | ns |
Table 7-21, Figure 7-28 and Figure 7-29 present Timing Requirements for McSPI - Slave Mode.
NO. | PARAMETER | DESCRIPTION | MODE | MIN | MAX | UNIT |
---|---|---|---|---|---|---|
SS1 (1)(2) | tc(SPICLK) | Cycle time, spi_sclk | SPI1 | 25 | ns | |
SPI2/3/4 | 33.3 | ns | ||||
SS2 (1) | tw(SPICLKL)(3) | Typical Pulse duration, spi_sclk low | 0.45×P | ns | ||
SS3 (1) | tw(SPICLKH)(3) | Typical Pulse duration, spi_sclk high | 0.45×P | ns | ||
SS4 (1) | tsu(SIMO-SPICLK) | Setup time, spi_d[x] valid before spi_sclk active edge | 2.82 | ns | ||
SS5 (1) | th(SPICLK-SIMO) | Hold time, spi_d[x] valid after spi_sclk active edge | 2.82 | ns | ||
SS6 (1) | td(SPICLK-SOMI) | Delay time, spi_sclk active edge to mcspi_somi transition | SPI1 | 2 | 9.8 | ns |
SPI2/3/4 | 2 | 21 | ns | |||
SS7 (4) | td(CS-SOMI) | Delay time, spi_cs[x] active edge to mcspi_somi transition | 16 | ns | ||
SS8 (1) | tsu(CS-SPICLK) | Setup time, spi_cs[x] valid before spi_sclk first edge | 2.82 | ns | ||
SS9 (1) | th(SPICLK-CS) | Hold time, spi_cs[x] valid after spi_sclk last edge | 2.82 | ns |
CAUTION
The IO timings provided in this section are applicable for all combinations of signals for SPI2 and SPI4. However, the timings are only valid for SPI1 and SPI3 if signals within a single IOSET are used. The IOSETs are defined in Table 7-22.
In Table 7-22 are presented the specific groupings of signals (IOSET) for use with McSPI.
SIGNALS | IOSET1 | IOSET2 | IOSET3 | |||
---|---|---|---|---|---|---|
BALL | MUX | BALL | MUX | BALL | MUX | |
SPI1 | ||||||
spi1_sclk | M2 | 0 | M2 | 0 | M2 | 0 |
spi1_d1 | U6 | 0 | U6 | 0 | U6 | 0 |
spi1_d0 | T5 | 0 | T5 | 0 | T5 | 0 |
spi1_cs0 | R6 | 0 | R6 | 0 | R6 | 0 |
spi1_cs1 | R5 | 0 | ||||
spi1_cs2 | F14 | 5 | ||||
spi1_cs3 | C14 | 5 | ||||
SPI3 | ||||||
spi3_sclk | F15 | 4 | C6 | 4 | ||
spi3_d1 | D14 | 4 | F7 | 4 | ||
spi3_d0 | D15 | 4 | E7 | 4 | ||
spi3_cs0 | F16 | 4 | B6 | 4 |