XMC4500 USIC FIFO size

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Is it possible to determine the number of bytes of space remaining in the transmit FIFO on the XMC4500?
Thanks,
Kirk
0 Likes
3 Replies
Not applicable
I answered my own question.
After digging into the reference manual I found:

The Transmit/Receive Buffer Status Register (TRBSR) has bit field Transmit Buffer Filling Level (TBFLVL bits 24:30).
It would be nice if the DAVE UART001App provided access to TBFLVL in its API calls.

Kirk
0 Likes
Not applicable
Kirk,

have a look at the generated USIC.H.

You will find the macros there.
0 Likes
Not applicable
Yes, thanks, I see the USIC_GetTxFIFOFillingLevel there.

I'm surprised that these macros are not "published" in the API Documentation section of the DAVE3 help for UART001App.

I guess we're just supposed to dig around in the generated code to see what we can find that is useful???

Kirk
0 Likes