This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049: The ISR triggered by SPI INT with FIFO function could not be executed after stop at breakpoint

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Hi Expert,

Customer meets an issue when uses breakpoint to debug the ISR triggered by SPI INT.

F280049 is slave and receive the data with FIFO, when set a breakpoint in the ISR loop, there occurs SPI receive FIFO overflow, cause

  1. the ISR loop could not be triggered again after removing the breakpoint or clearing the FIFO overflow flag
  2. the SPI communication is failed.

Could you please suggest how to debug the ISR triggered by SPI INT to avoid influence the SPI communication?

Thanks!

Best Regards

Rayna

  • Rayna,

    You have provided very little information to provide any meaningful debug tips. Below SPI example shows how to configure SPI in slave mode with FIFO mode. Also, check the spiaRxFIFOISR (slave ISR) routine whether you clearing and acknowledging interrupts.

    Path: <C2000Ware>\driverlib\f28004x\examples\spi\

    Project:spi_ex5_external_loopback_fifo_interrupts

    Regards,

    Manoj