??? 04/15/09 11:10 Read: times |
#164604 - I don't know, but... Responding to: ???'s previous message |
Marshall Brown said:
SBUF holds only 0x00, which is then fed through the rest of my code and messes it all up.
Why is this occuring? I don't know why it's occuring, but I think your application should be designed so as to be tolerant of it happening! It is quite common to get a few junk characters on any serial interface at startup - so your code should be sufficiently resilient to not be "messed up" by it. |
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 |