Dear,
In the board-am335xevm.c uart1_cts is configured as output rts as input.
{"uart1_ctsn.uart1_ctsn", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
{"uart1_rtsn.uart1_rtsn", OMAP_MUX_MODE0 | AM33XX_PIN_INPUT},
In the datasheet is uart1_cts (ball D18, zcz package, pag 43) declared as input and uart1_rts as output?
D19 D17 UART1_RTSn uart1_rtsn 0 O Z H 7 VDDSHV6 / Yes 4 PU/PD LVCMOS
E17 D18 UART1_CTSn uart1_ctsn 0 I Z H 7 VDDSHV6 / Yes 4 PU/PD LVCMOS
What confuses me? From DTE (pc side) is cts an input why is it configured as output in the board file?
Assume cts is an input: if cts is high (connect to 3.3V) echo "hello" > /dev/ttyO1 shouldn't output any data. Setting cts high informs the AM335x not to transmit any data.
Thx