|
![]() MCU User Forum
![]() F120 UART1
|
| next newest topic | next oldest topic |
| Author | Topic: F120 UART1 |
|
Codedawg New Member |
Anyone ever have trouble with F120 RX on UART1 only at baud rates above 14400? Wondering if it might be something to do with RX sync on TIMER1. Hoping to heck its not the layout of my board... Thanks IP: Logged |
|
erikm Member |
Assuming you are doing it right, using an ISR not a wait loop in main only at baud rates above 14400? Wondering if it might be something to do with RX sync on TIMER1. Hoping to heck its not the layout of my board... My best guess is that you have another ISR that is too lenghty, the check is simple, as a diagnostic means set UART1 ONLY at high priority, if that makes higher baudrates work my best guess is correct Erik IP: Logged |
|
Codedawg New Member |
Thanks Eric, Turned out to be a faulty 232 to 485 converter in my test setup. Replaced it with a quality American made one, all works fine. Apologies, question withdrawn. IP: Logged |
|
erikm Member |
Turned out to be a faulty 232 to 485 converter 232-485 converters have a bit of trouble switching direction, more if you go fster. the other way (485-232) is even more tricky, the better ones follow a good way, but must eventually give up. If at all possible, AVOID 485-232 converters, if you have to use them keep the baudrate 'low' Erik IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?