CM4 pinout on Pi terminal
I unable to find what pins are used for what on the Pi terminal.
Currently searching for
Fan PWM
Uart 1 + 2
the Dout en DIn
and if possible the other pins
I don't seen to find any definition of this
I unable to find what pins are used for what on the Pi terminal.
Currently searching for
Fan PWM
Uart 1 + 2
the Dout en DIn
and if possible the other pins
I don't seen to find any definition of this
Comments
Hello @arneman44,
This link is about pins that are defined in the Wiki, see if it helps you!
https://www.elecrow.com/wiki/Pi-Terminal.html#pin-definition
manual:
https://www.elecrow.com/download/product/DIS01447T/7_inch_CM4_Pi_Terminal_User_Manual.pdf
These only tell what the pins do. not to what GPIO on the cm4 they are connected.
I mainly need to know what interface the uart is connected to.
Hello @arnemann44,
I have the same problems. No RS485 work. I have try all names tty1, ttyAMA0, ttyAMA1, ttyAMA2 and ttyS0, but the RS485 do not work. I want to know which pins from the PI terminal connector with RS485 driver on the board are connected to the GPIO of the CM-4 board.
Hello @arneman44,
Which UART are you mentioning ?Is it RS485 or RS232?
Hello
/dev/ttyAMA1 is the device number corresponding to RS232, /dev/ttyAMA2 is the device number corresponding to RS485
/dev/ttyAMA2 do not work. I think, in need first the information, witch GPIO-No from CM-4 board is connected with which RS485 driver. And the other problem is, I send any 0 and 1 to GPIO-8, then I can see on A1,B1 AND on A2,B2 from RS485 the information. Why are both RS485 on the same GPIO?