Jump to content

Uart errors on Banana Pi


sebastien35

Recommended Posts

Hello,

 

I am trying to have a serial link between an arduino and a banana pi.

As a basic test, the Arduino is sending "hello" every seconds.

I observe that the reception by the Banana pi is not good. I have tried , several baud rates, /dev/ttyS2 and FTDi adaptor.

The best result seems to be with  the FTDI adapter , at 115200 bps. But I have still a lot of errors, see below.

When I plug the FTDI adapter on my laptop, it works without issues.

 

Do you know what could be the cause of my issues?

 

Thank you

Sebastien

 

 

 

hell»½ýhgn·ïÏÞh»½ëèu·oÝÕýemmÍÿÿý¿¿ëÏÿÿýïï»ÿ½{í»ÿ¯nïÿý{¿ûoïÿÿÿÝÿïÏíumío^huw·oMÕhello
hello
hello
hello
hello
hello
hello
hello                                                                                                
hello                                                                                                
^hÛ·mÍïèunìïýj»û»ÿ¯ÿï{¯ÿÿïoõõooëÿÿûÿÿ÷ÿëîÿhÙ·no]Õhello                                            
hello                                                                                                
hello                                                                                                
hello
hello
hello
hello
hello
hello
·hÝï·»íýìõímo¯ÿ~Ý··¿ÿÿ}Ý··ï½ýÿwïÿ¿ÿ×ÿÿÿÿ¿ÿûûÿÿíÿ÷ÿo¿¿ÞýlenloµhenloMNhello
hello
hello
hello
hello
hello
hello
hello
hello
hello
hello«h7ë{ë¿èåímo¯¯êõ}·»_ÿíõ»Oÿ¿óíïíïïûûëï¿ûýÿûÿÿÿïïýxu|loMÞhello
hello
hello
hello
hello
hello
hello
hello
hello
hello
hel·ë¯ÿheomïÍýèïo»ïÿîû÷mëïÿÿwûßÿÝÿÿýï¿ëê¯ÿûoÿûÿÿïïÿìo7|oÍõhullo

 

 

 

 

Link to comment
Share on other sites

21 minutes ago, sebastien35 said:

On the FTDI USB adapter, I can select 3.3 or 5V.

With 5 V , I have the result posted previously.

With 3.3V, it is worst

Is GND securely connected at both ends? I got problems like this when my GND wasnt seated correctly and only TX,RX was connected.

And how long are the TTL-cables - maybe not enough shielding?
How does the arduino and the Babana Pi gets his power?

Link to comment
Share on other sites

Thanks a lot! GND was not connected on the USB adapter! Now, with GND connected, it is perfect!

 

And what about the use of /dev/ttyS2? Do you confirm that I have to use 3.3 level. I can't test it for now because I haven't level adapters.

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines