I am using AM335x-SK board and would like to configure pin 5 and 6 on J11 for UART2 (/dev/ttyO2 on Linux). The problem I run into is I can send from AM335x to other board, but could not receive anything. I looped pin 5 and 6, change program to write to /dev/ttyO2 and read back immediately on /dev/ttyO2, but it still does not work. During this loopback test. Checking the omap_mux and it looks ok to me:
root@am335x-evm:/sys/kernel/debug/omap_mux# cat spi0_sclk
name: spi0_sclk.uart2_rxd (0x44e10950/0x950 = 0x0071), b NA, t NA
mode: OMAP_MUX_MODE1 | AM33XX_PIN_INPUT_PULLUP | AM33XX_SLEWCTRL_SLOW
signals: spi0_sclk | uart2_rxd | i2c2_sda | NA | NA | NA | NA | gpio0_2
root@am335x-evm:/sys/kernel/debug/omap_mux# cat spi0_d0
name: spi0_d0.uart2_txd (0x44e10954/0x954 = 0x0059), b NA, t NA
mode: OMAP_MUX_MODE1 | AM33XX_SLEWCTRL_SLOW
signals: spi0_d0 | uart2_txd | i2c2_scl | NA | NA | NA | NA | gpio0_3
I would appreciate if you can give me some help.
Thanks