Software UART Problem PIC 18F2550
Posted: Mon Aug 08, 2011 9:03 pm
Hey there,
Im using the hardware uart RS 232 (115200,9N1) for RS 485 connection => ok
Also i want to use software uart RS 232(115200,8N1) for the comunication between PIC and Edip - Displays.
Everything is working fine but the display shows nothing.
I look the data on the line and there is nothing right.
It seems to be a timing problem with software uart or code.
Configuration:
WDT off
20Mhz Xtal PLL
Target freqency 48Mhz
Software uart 115200,8,N,1
Bootloader USB
No supplymentary code or things like that.
Any suggentions?
In another topic there is a "frig - facote" or a "trick - calculation" by i can´t find out any solution for my application.
Is there any calculation or code i have to write or change baudrates?
Are the software uart and the hardware uarts independent of each other?
Please help me
Thanks guys!
Im using the hardware uart RS 232 (115200,9N1) for RS 485 connection => ok
Also i want to use software uart RS 232(115200,8N1) for the comunication between PIC and Edip - Displays.
Everything is working fine but the display shows nothing.
I look the data on the line and there is nothing right.
It seems to be a timing problem with software uart or code.
Configuration:
WDT off
20Mhz Xtal PLL
Target freqency 48Mhz
Software uart 115200,8,N,1
Bootloader USB
No supplymentary code or things like that.
Any suggentions?
In another topic there is a "frig - facote" or a "trick - calculation" by i can´t find out any solution for my application.
Is there any calculation or code i have to write or change baudrates?
Are the software uart and the hardware uarts independent of each other?
Please help me
Thanks guys!