vtech Posted May 27, 2024 Posted May 27, 2024 (edited) I used python script with Orange pi zero 3 (Armbian_community_24.8.0-trunk.6_Orangepizero3_bookworm_current_6.6.31_minimal.img) Observation: 1) /dev/ttyS1 is actually Serial 2 as per pin diagram as per Orange Pi Zero 3 - Armbian web page 2) /dev/ttyS2 is actually Serial 5 as per pin diagram as per Orange Pi Zero 3 - Armbian web page 3) even if I set rtscts=True in crateing object ser in above script, there is no output on rts or cts pin. I am looking forward to have RTS pin remain high during transmission to easily integrate ic for RS485 communication. I was glad that Amrbian for Orange Pi Zero 3 has out of the box RTS CTS pin support which otherwise is a complicated matter for me. Please guide how to make the serial port work along with RTS pin to remain high during transmission of data. Regards Edited May 27, 2024 by vtech 0 Quote
vtech Posted June 4, 2024 Author Posted June 4, 2024 (edited) I also tried adding line "param_uart2_rtscts=1" to "/boot/armbianEnv.txt". This enabled GPIO Mode ALT2 for UART2_RTS and UART2_CTS. However, still no voltage changes on RTS or CTS pin when tried to send data over TX. Looking forward for help. Thanks in advance. P.S.: WiringPi (https://github.com/orangepi-xunlong/wiringOP.git) does not seem to be working for Orange Pi Zero 3 as it is showing H616 in output of gpio readall command Regards. Edited June 4, 2024 by vtech 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.