Example: Write Message to TXFIFO Using Polling Method

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2022-09-15
Revision
2.3 English

1.Poll the TXFIFO status. Read can.SR[TXFLL] for a 0 and can.SR[TXFEMP] for a 1, and then write the message into the TXFIFO.

2.Write the message to TXFIFO. Write to all four data registers (can.TXFIFO_ID, can.TXFIFO_DLC, can.TXFIFO_DATA1, and can.TXFIFO_DATA2).