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

Trouble with reading SBUF1

HI everyone!

I am workinf with Silabs 8051F020, and I need to use the uart1 shift register mode (mode 0).
Everything seems to work fine, except that when I try to read the SBUF1 register and load it to a software buffer,
i don't get anything.
I am debugging on software, and loading myself the sbuf1 reg with a byte (0x51), and when i set the interrupt flag, it recognises a reception, but when it gets to the point

buffer = SBUF1;

i get 0x00 on buffer.
i also checked that SBUF1 is loaded by posing the mouse over it's name
Any ideas will be appreciated

Thanks