If there are no other interrupts that "steal" time, you might have reached a hardware limit. I don't know the MSP432 in detail, but I would definitely test for other errors than overflow as well. Perhaps the signal is (or arrives) distorted beyond tolerance, and causes parity/noise errors. At least it does so on other Cortex-M MCUs. [quote] // I worry about turning on optimization - I do not want the RXBUF read below to be optimized // away!!![/quote] If RXBUF is properly defined (as "volatile"), there is no need to worry.
↧