Page 1 of 1

Mod5213 Determining how full uart buffers are getting

Posted: Thu Oct 22, 2009 6:17 am
by mcreakbaum
I'm using a Mod5213 and all 3 Uarts on the chip. I'm connected to 3 devices that will stream data and have an individual task for each that parses it and computes certain variables. Each device streams at different frequencies and different amounts of data. I need to dertermine which tasks need to run longer so they all have a chance to get their data and parse it.

Is there any way to determine how much information is in the receive buffers so I know I'm not missing any data and filling the buffers full?

Also out of curiosity what is the max size the buffers can be turned up to? When I turn them up too high the Mod5213 crashes on boot.