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.

TMS570LS0714: MIBSPI : group cascading trigger

Expert 2025 points
Part Number: TMS570LS0714

How / best way to setup MIBSPI so that  only first group is HW triggered, and others ARE ONLY triggered after the first has completed  transmit & receive?

What I want : 

tick  --> triggers TG0 --> completes RX and ONLY then, which AUTOMATICALLY triggers  next group (TG1), which .. next (TGn).. etc.      

What I have now is,  EVERY group triggered on rising tick, which then triggers all of them, and , as I understand and see data, it goes by priority or group 0 to N. 
Is this the only way to setup what I want, i.e, you have to set same trigger on each?    One problem with this is that higher priority group will always supersede others, so if tick happens before my group list completes, it will start back from group 0, which is Not what I want.  You can lock group transmit, but this only helps while within One group transmitting.

And i do not want to software /manually trigger next group inside ISR.    Just want to make sure I'm not missing some obvious bit setting which allows to do this :  TG0 completed -> trigger TG -> next .. next next.

  • Hi,

    Each TG can have its own trigger. Two or more TGs can use one trigger to trigger the data transfer: TG0 will transfer first, then TG1, TG2,... The transfer group with the lowest number has the highest priority, and the transfer group with the highest number has the lowest priority.