3 Replies Latest reply on Aug 8, 2017 4:53 AM by maknc_1366086

    Why status register take the program into forever chk mode?

      Hello Every body,


      I am doing SPI communication between Pi and PSOC 5LP.


      I placed a command


      while(!(SPIS_ReadTxStatus() & SPIS_STS_SPI_DONE));


      But by doing this, my program just takes too long to fulfill the condition and when I replace the above condition with just:




      It does not!


      I wonder why it is behaving so wierd?


      Looking forward to your answers!