Part Number: AM4378
Other Parts Discussed in Thread: AM4372
AM4378I am using a custom board based on AM4378. While trying export (to toggle) GPIO4[16] from /sys/class/gpio I get an error:
# echo 144 > export
[70099.801668] export_store: invalid GPIO 144
sh: write error: Invalid argument
AM4372_IOPAD(0x9f0, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1--(AD21) cam1_data2.gpio4[16]=144 */
This GPIO4[16] is part of the UART1 group. It could be the CTS pin if hardware handshake is used, but my intention is not to use hardware handshake, as this drives an RS485 port. Therefore this pin is wired to control the Direction of a line driver chip.
Thanks in advance for your help!
Mukundan