Tool/software: Linux
Hello,
I have a question about using RS232. We have currently problems to send and receive Data over rs232.
I try to read the received data over cat /dev/ttyS1 but no data is recognized.
We use the MAX3243RS-232 transceiver on our Custom-Board
The Pinmux in the Devicetree for the Uart1 has been done as following:
rs232_pins_default: rs232_pins_default { pinctrl-single,pins = < 0x1e8 ( PIN_INPUT | MUX_MODE1 ) /* (AB20) cam1_data0.uart1_rxd */ 0x1ec ( PIN_OUTPUT | MUX_MODE1 ) /* (AC21) cam1_data1.uart1_txd */ 0x1f0 ( PIN_INPUT | MUX_MODE1 ) /* (AD21) cam1_data2.uart1_ctsn */ 0x1f4 ( PIN_OUTPUT | MUX_MODE1 ) /* (AE22) cam1_data3.uart1_rtsn */ 0x200 ( PIN_INPUT | MUX_MODE1 ) /* (AD23) cam1_data6.uart1_dcdn */ 0x1fc ( PIN_INPUT | MUX_MODE1 ) /* (AE23) cam1_data5.uart1_dsrn */ 0x204 ( PIN_OUTPUT | MUX_MODE1 ) /* (AE24) cam1_data7.uart1_dtrn */ >; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&rs232_pins_default>; status = "okay"; };