| ??? 10/25/07 17:12 Modified: 10/25/07 17:15 Read: times |
#146212 - now you have two Responding to: ???'s previous message |
i have code arch. and i tried code generated by that, but with that too i am not able to get it work.
Now you have two that do not work, the likelyhood they both do not work for the same reason is quite small. Grab the datsheet and the UM, look at those and both codes, see the places where they differ in method, SFR values/store etc and you will most probably slap your forehead in a short time. anyhow while fiddling with SFRs and such make your loop this
while (1)
{
if (TI1) // whatever it is called for UART1 read and mask??
{
SBUF1 = 'U'; // access method
}
}Erik
PS: my typical UART goof is baud rate send some 'U's and scope the time. |
| Topic | Author | Date |
| UART1 problem in P89LPC952 | 01/01/70 00:00 | |
| What ? | 01/01/70 00:00 | |
| Compare with other examples | 01/01/70 00:00 | |
| Compare with other examples ... and | 01/01/70 00:00 | |
| Re: Compare with other examples | 01/01/70 00:00 | |
| now you have two | 01/01/70 00:00 | |
| Don't trust anything | 01/01/70 00:00 | |
| Re:Don't trust anything | 01/01/70 00:00 | |
| its working | 01/01/70 00:00 | |
| how? | 01/01/70 00:00 | |
| Re:how? | 01/01/70 00:00 | |
| Yep : Don\'t trust anything! | 01/01/70 00:00 | |
| Whose header? | 01/01/70 00:00 | |
Re:Whose header? | 01/01/70 00:00 | |
| MCB950 board is working | 01/01/70 00:00 | |
| UART1 S1BUF doesn't use std SFR | 01/01/70 00:00 | |
| Check the header file | 01/01/70 00:00 | |
| Re:Check the header file | 01/01/70 00:00 | |
| Overcomplicated? | 01/01/70 00:00 |



