orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
687 stars 289 forks source link

Orange Pi Zero 2 - UART5 #73

Closed rbn920 closed 1 year ago

rbn920 commented 1 year ago

Page 144 of the Orange Pi Zero 2 give instructions on enabling and testing the UART5 pins. The loopback test does not display results as the manual shows. As an additional test I connected the Orange Pi Zero 2 to a Raspberry Pi4 via UART pins and opened minicom on each device. The Orange Pi Zero 2 will receive but not send.

orangepi-xunlong commented 1 year ago

Which linux image?

rbn920 commented 1 year ago

Orangepizero2_3.0.6_debian_bullseye_server_linux5.16.17

orangepi-xunlong commented 1 year ago

Please add overlays=uart5 in /boot/orangepiEnv.txt.

orangepi@orangepi:~$ sudo vim /boot/orangepiEnv.txt overlays=uart5

rbn920 commented 1 year ago

That was done, just as noted in the manual. Testing using gpio as also noted in the manual does yield correct results. Also when connected to a Pi4 I could receive commands but not send them using minicom.

orangepi-xunlong commented 1 year ago

??? The loopback test does not display results as the manual shows. ???

rbn920 commented 1 year ago

The manual (p. 145) has you wire the tx pin to the rx pin (8 to 10) then run gpio serial /dev/ttyS5 with results like:

Out: 0: -> 0
Out: 1: -> 1
...

but instead I get:

Out: 0: 
Out: 1: 
...

Also, this is all from OrangePi_Zero2_H616_User manual_v3.7.

orangepi-xunlong commented 1 year ago

Are the pins connected correctly?

If the settings are all correct, the hardware is broken.

rbn920 commented 1 year ago

Yes, the pins are connected correctly. I guess my board is bad then.