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
↧