Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216565

Forum Post: CCS/TMS320F28379D: Synchronizing Manual Control (GPIO) of the SPISTE Signal?

$
0
0
Part Number: TMS320F28379D Tool/software: Code Composer Studio When using GPIO to control the SPISTE signal manually, what interrupt or register should be used to indicate the last bit has been shifted out of SPIDAT? I've used the following and they all cause the GPIO (for SPISTE) to be set too early: 1) while (SpiaRegs.SPIFFTX.bit.TXFFINT == 0) {} 2) while (SpiaRegs.SPIFFTX.bit.TXFFST > 0) {} 3) while (SpiaRegs.SPISTS.bit.BUFFULL_FLAG == 0x1) {} 4) while (SpiaRegs.SPISTS.bit.INT_FLAG == 0) {} The GPIO (for SPISTE) would be called after the while loop. Kindly, Graham

Viewing all articles
Browse latest Browse all 216565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>