2010-11-08 04:39 AM
My interrupts takes to long time. Blocks another interrupt.
2011-05-17 05:14 AM
Give the USART interrupts a higher priority/preemption, and make them REAL simple. (ie just FIFO the data and look at it later)
Use DMA for USART Rx Use a lower priority 800us timer task Use a worker task to do the computation Simplify the computation. (ie optimize it, use reciprocal multiplication instead of divides) Break the computation into smaller pieces, or precompute parts of it.