Hi
We are working on our custom board using AM5726. It is nearly identical to GP EVM but UART3_TXD & UART3_RXD Pads are being routed as UART3 debug output.
We are trying to redirect UART3 Module to UART3_TXD & UART3_RXD pads, default was attached to UART2_RSTN & UART2_CTSN pads.
I change these in the dts file.
uart3_pins_default: uart3_pins_default {
pinctrl-single,pins = <
0x248 (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd */
0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */
>;
};
&uart3 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
<&dra7_pmx_core 0x248>;
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins_default>;
};
And these in the mux_data.h file
//{UART3_RXD, (M11 | PIN_INPUT_PULLDOWN)}, /* uart3_rxd.pr1_mii0_rxdv */
//{UART3_TXD, (M11 | PIN_INPUT_PULLDOWN)}, /* uart3_txd.rp1_mii_mr0_clk */
{UART3_RXD, (M0 | PIN_INPUT_PULLUP)}, /* uart3_rxd.uart3_rxd */
{UART3_TXD, (M0 | PIN_INPUT_PULLUP)}, /* uart3_txd.uart3_txd */
//{UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */
//{UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */
Attached image is what we get. TXD pin should be always high but what I get is always low. Looks like it is inverted. In terminal, it is showing weird characters.
I have tested the TXD signal on GP EVM and it is ok. Logic analyzer settings are correct.
Could you advise me what happened?
Regards,
Hein