I have questions about the SPI flags. The MCC generated cod for an 8 bit exchange somehow seems wrong.in pseuo-codespi_exchange(...){ while (SPISTATLbits.SPITBF==true) {} SPIBUFL=data; while (SPISTATLbits.SPIRBE == true{} data=SPIBUFL;}NOW SPIRBE is set w..
↧