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.

J721EXSOMXEVM: SoC Domain change for Ethernet UART

Part Number: J721EXSOMXEVM

Hello,

We are trying to re-direct the UART logs of Ethernet switch from MAIN to MCU Domain. I followed the steps mentioned in the original question (and also mentioned below). This works fine if we change the UART just in Main Domain.

  1. <SDK>/pdk/packages/ti/drv/enet/examples/utils/include/enet_apputils.h
    • Set initParams.uartInst value in EnetBoard_boardInit() function to new UART instance number.
    • If the new UART instance is not in Main domain, also change initParams.uartSocDomain in the same function.
  2. <SDK>/pdk/packages/ti/drv/enet/examples/utils/V1/enet_board_pinmux_j721e_data.c
    1. Update gUartPinCfg array with the pin mux settings corresponding to the new UART instance.

However, when we try to change UART to MCU or WKUP domain it doesn't work.

This is the change I maid in "static void EnetBoard_boardInit(Board_initCfg *boardCfg)" function.

	initParams.uartInst      = 0U;	// Use UART1 instead of UART2 ****************************
    initParams.uartSocDomain = BOARD_SOC_DOMAIN_MCU;

This is the line added in enet_board_pinmux.c which adds pinmux for MCU & MAIN domain UART.

    Board_pinmuxUpdate(gJ721E_WkupPinmuxData_ivp,
                       BOARD_SOC_DOMAIN_MCU);

Do you know what am I missing here?

Thank you,

Satish