This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART Problems

I'm having bizzare UART problems using STR730 ARM cpu.
I'm trying to code an interrupt driven handler, but although the code will break correctly when a byte is received ( JTAG to target hardware ), the flag I expect to be set ( RxBufFull ) is clear. The only flags set are TX Empty and TxHalfFull and these are not enabled as interrupts.

In the Simulator, I cannot seem to get the Serial window to do anything - although it shows correctly my regular tx send of a test character. Also,
using S0IN='A' does nothing.

Using the Simulator still, if I flip the 'LoopBack' bit - then things seem to work better - the RxBufFull flag gets set and the code seems to find the data ok.

Bizzare and confusing. Any advice apppreciated.

0