HDingmar
Newbie level 5
Dear all,
I’m currently working on a project which requires RS232 communications
between two PCB boards. I wrote small script
to test the function of their communication and find out that the noise between them is really huge(3 wires RS232, no shield,baud rate 19200). The UART keeps of generating error interrupt(parity error) continuously and mess up the real signal. My code should work well, I verify my code by attaching the main board to another sensor(with UART interface )which has same baut rate, and there is no noise issue and I can send simply command to it and get respond for the sensor.
I powered the two boards with the same power supply(+12V), however, the two boards have their own voltage regulator which cut the voltage down to 5V. So the two boards don't have common ground, I guess.
I've bought a RS232 opto-isolator which should solve my problem. But I still want to post this thread to ask everyone, if there are some way to solve this problem without big surgery of PCB board.
Any suggestion would be appreciated, thanks in advance.
>
> Best regards,
I’m currently working on a project which requires RS232 communications
between two PCB boards. I wrote small script
to test the function of their communication and find out that the noise between them is really huge(3 wires RS232, no shield,baud rate 19200). The UART keeps of generating error interrupt(parity error) continuously and mess up the real signal. My code should work well, I verify my code by attaching the main board to another sensor(with UART interface )which has same baut rate, and there is no noise issue and I can send simply command to it and get respond for the sensor.
I powered the two boards with the same power supply(+12V), however, the two boards have their own voltage regulator which cut the voltage down to 5V. So the two boards don't have common ground, I guess.
I've bought a RS232 opto-isolator which should solve my problem. But I still want to post this thread to ask everyone, if there are some way to solve this problem without big surgery of PCB board.
Any suggestion would be appreciated, thanks in advance.
>
> Best regards,