AM McSpi
From Texas Instruments Embedded Processors Wiki
This page provides information about the Multichannel Serial Peripheral Interface (McSPI) modules available on the AM35x and AM37x devices.
For more detailed information see Useful Links
Contents |
Features
Function Features
- 4 independent McSPI modules with up to 4 master channels or single channel in slave mode.
- - SPI1 with 4 master channels
- - SPI2 with 2 master channels
- - SPI3 with 2 master channels
- - SPI4 with 1 master channel
- Serial clock with programmable frequency, polarity, and phase for each module
- Wide selection of SPI word lengths ranging from 4 bits to 32 bits
- Up to four master channels or single channel in slave mode
- Master multichannel mode:
- – Full duplex/half duplex
- – Transmit-only/receive-only/transmit-and-receive modes
- – Flexible I/O port controls per channel
- – Two direct memory access (DMA) requests (read/write) per channel
- Single interrupt line for multiple interrupt source events
- Power management through wake-up capabilities
- Enable the addition of a programmable start-bit for SPI transfer per channel (start-bit mode)
- Support start-bit write command
- Support start-bit pause and break sequence
- 64 bytes built-in FIFO available for a single channel
Block Diagram
Schematic
Master Mode
Master Signal Names and Directions
The diagram below shows the signal names and their directions when the module is configured as a master.
Master Mode Connection Examples
The following is an example of the module configured as a master connected to multiple slaves in full duplex mode. Note that only McSpi 1,2 & 3 support multiple slaves.
The following is an example of the module configured as a master with a single slave device which only receives data (has no transmit capability)
Slave Mode
Slave Signal Names and Directions
The diagram below shows the signal names and their directions when the module is configured as a Slave. Note that on modules that support multiple CS signals, only cs0 is supported in slave mode.
Slave Mode Connection Examples
The following is an example of the module configured as a slave connected to a master in full duplex mode.
The following is an example of the module configured as a slave connected to a master which only receives data.
Symbols, Footprints, and Simulation Models
AM35x
- The OrCad Symbols can be found here.
- The Allegro foorptrints can be found here.
- The BSDL simulation model can be found here.
- The IBIS simulation model can be found here.
AM37x
Software Design Support
Coming soon!
Examples
Coming soon!
FAQ
Useful Links
- Sitara E2E forums
- Sitara ARM® product page
- AM3517 Data Sheet (McSpi: Section 6.6.2)
- AM35x Technical Reference Manual (TRM) (McSpi: Section 16)
- SPI definition on Wikipedia
