??? 04/15/09 11:22 Read: times |
#164605 - Check if the Rx pin is pulled low? Responding to: ???'s previous message |
SBUF holds only 0x00, which is then fed through the rest of my code and messes it all up.
Can you check if the Rx line pin is pulled low? This would cause the "reception" of a 0x00 byte, as well as setting the appropriate error flag (should cause a framing error due to the lack of a stop bit, or maybe a "break detected" flag). |
Topic | Author | Date |
RI always set after EA Set | 01/01/70 00:00 | |
I don't know, but... | 01/01/70 00:00 | |
your application should be designed so as to be tolerant | 01/01/70 00:00 | |
Check if the Rx pin is pulled low? | 01/01/70 00:00 | |
Ports are set as: | 01/01/70 00:00 | |
without looking at the datasheet, I can say it is wrong | 01/01/70 00:00 | |
Why? | 01/01/70 00:00 | |
I did not clean my glasses | 01/01/70 00:00 | |
Config Registers | 01/01/70 00:00 | |
Check the BR and FE bits in SSTAT. | 01/01/70 00:00 | |
Yes they are set - Why? | 01/01/70 00:00 | |
When do you start the BRG? | 01/01/70 00:00 | |
BRG set as part of UART Init (before EA) | 01/01/70 00:00 | |
I would... | 01/01/70 00:00 | |
Thanks - Done![]() | 01/01/70 00:00 | |
aren't the LPC9xx's pins... | 01/01/70 00:00 | |
Yes but - it also happens in the real hardware | 01/01/70 00:00 | |
the point of asking nonsense questions... | 01/01/70 00:00 | |
Understood, appreciate being 2nd guessed | 01/01/70 00:00 | |
The Teddy Bear Effect | 01/01/70 00:00 |