Part Number: LAUNCHXL-F280039C
Other Parts Discussed in Thread: TMS320F280039C
Tool/software:
I'm working on SPI communication between a TMS320F280039C (configured as SPI Master) and a PIC33EP128GP504 (SPI Slave). I'm using a custom SPI driver on the TI side, implementing polling and timeout logic to detect communication failures.
I'm using the following function for SPI transmit/receive with error handling:
However, even when I remove power or disconnect the slave device, the timeout is not triggered. The SPI_STS_INT_FLAG gets set and dummy datas like 0xFF or 0x00 is returned.
-
Is this expected behavior of the SPI module on F28003x?
-
Is there a way to reliably detect no slave response or timeout ?
-
Is there any recommended strategy for implementing error detection or diagnostics in such SPI master-slave setups?