SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
FILE: fsi_ex6_spi_main_tx.c
FSI supports SPI compatibility mode to talk to the devices not having FSI but SPI module. Example sets up infinite data frame transfers where FSI acts like main Tx and SPI as remote Rx. API to decode FSI frame received at SPI end is implemented and checks are made to ensure received details(frame tag/type, userdata, data) match with transfered frame.
If there are any comparison failures during transfers or any of error event occurs, execution will stop.
External Connections
For FSI <-> SPI communication, make below connections in GPIO settings
Watch Variables