This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDS64GPEVM: Activating UART and GPIO using Safety Connector

Part Number: TMDS64GPEVM

Hi experts,

Please let me confirm about TMDS64GPEVM.

My customer is using Safety Connector and wants to use pin.11 and pin.13 of Safety Connector as UART and pin.9 as GPIO_input. However, when they downloaded PROCESSOR-SDK-AM64X and checked the device tree(k3-am642-evm.dtsi), it seems that status = "disabled". Also, the MCU_UART1 pin and MCU_GPIO0_7 pin setting is not defined.

Q1:They would like to change the CPU setting to the following, could you tell me how to change it?

Ball Number C9 -> MCU_UART1_RXD
Ball Number D9 -> MCU_UART1_TXD
Ball Number D7 -> MCU_GPIO0_7 (input)

Q2:If I refer to the following thread, can they add the pin settings for MCU_UART1 and remove the status = "disabled" to be able to use it?

URL:e2e.ti.com/.../change-pinmux-for-am335x-using-device-tree

Best regards,
O.H

  • Hi O.H,

    Technically it is possible to use MCU_UART1 in Linux by adding the pinmux settings and enabling the MCU_UART1 module node in devicetree. But there are more work needed in current Processor SDK to use MCU_UART1 in Linux, MCU domain padcfg is not unlocked in U-Boot, unlocking it is required for kernel to modify the pinmux settings. Also MCU domain pinmux controller is not defined in AM64x devicetree which is required for add MCU_UART1 pinmux settings in devicetree.

  • Hi Bin Liu,

    Thanks for the reply.

    I will refer to the above approach, but let me check another approach.

    Is there any other option than HSE connector to evaluate UART alone on TMDS64GPEVM?

    I have checked the schematic and could not find any pin for UART (other than MCU_UART) that can be directly connected to AM6442. The only way to do this is to use "Samtec SEAM-30-03.5-L-05-2-AK-TR" as shown in the following thread and extend it by myrself, is it correct?

    e2e.ti.com/.../tmds64gpevm-breakout-board-connector-for-j2--- hse-connector

    We don't mind using other pins as long as we can use the UART on the EVM. Any good advice would be appreciated.

    Best regards,
    O.H

  • Hi O.H,

    Looking at the GPEVM schematics, MCU_UART1 is routed to the HSE connector, MCU_UART0, MAIN_UART0/1/3/ are on the FTDI USB connector. If you cannot use any of these, you probably can consider using either MCAN0/MAIN_UART4 on J9, or MCAN1/MAIN_UART5 on J10. Modify the pinmux to UART mode instead of MCAN.

  • Hi Bin Liu,

    Thanks for the reply. I understood.

    Best regards,
    O.H