Hi George and Ric
Thanks for this. I had tried setting the FERR bit using the Pin/Register Actions, but I'm guessing that that alone will not fire the interrupt.
What I'm trying to simulate is a break condition on the receive line, i.e. a low signal for a couple of character times, which would normally generate a framing error.
This is the beginning of a DMX protocol frame. After the break condition, there is a sequence of bytes.
My code is waiting for the UART interrupt to check the the FERR bit and advance the receive state variable to the next value. The breakpoint in the IRQ handler never fires.
I tried setting the FERR bit using the Watches window and the bit just gets cleared again immediately.
Any suggestions?
Kind regards
John