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.

Compiler/TMS570LS0432: When i use spi commnunication ,

Part Number: TMS570LS0432


Tool/software: TI C/C++ Compiler

Hello

  I do the two cpu with spi commnunication ,master,and slave

   but in slave cpu ,I use api function  spiGetData,means,but cpu can't interrupt

   spi->INT0 |= 0x0100U;   CPU can't  do interrupt function< void mibspi1HighLevelInterrupt(void)>\

  but I use api function spiSendAndGetData means spi->INT0 |= 0x0300U;  cpu can do interrupt

   why??

   

#pragma INTERRUPT(mibspi1HighLevelInterrupt, IRQ)
/* SourceId : SPI_SourceId_021 */
/* DesignId : SPI_DesignId_016 */
/* Requirements : HL_SR141, HL_SR142, HL_SR143 */
void mibspi1HighLevelInterrupt(void)