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.

CCS/TMS570LS3137: How to know the residual space of the buffer when use TG in Interupt?

Part Number: TMS570LS3137


Tool/software: Code Composer Studio

I hope to know the residual space of the buffer. Because I would intend to transfer TGs in the right amounts so that the buffer will not be empty.

As the manual said”TXBUF ,RXBUF and SHIFT_REGISTER are user-invisible registers.”

Is every TG has own TXBUF and RXBUF or all of the TGs used a common TXBUF and RXBUF?

Is there any information to Instruction?

 

PS:MIBSPI configration:master,3-pin mode;

TG:8 Groups,Length=16 of every group,Buffer Mode=4(Always),Oneshot Transfer,Trigger Event=TRG_ALWAYS;