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.

RTOS/TDA3XEVM: How to change the pin assignment of UART3 in Vision SDK 3.00

Part Number: TDA3XEVM

Tool/software: TI-RTOS

I want to change the pin assignment of UART 3 terminal for debug messages according to our custom board, but which source code of Vision SDK should I edit?

  • Hello,

    You need to change PAD configuration setting as per your need in Bsp_boardSetPinMuxTda2ex function in ti_components\drivers\pdk_x_xx_xx\packages\ti\drv\vps\src\boards\src\bsp_boardTda2ex.c
  • Thank you for your reply.

    I am using TDA 3x, should I change bsp_boardTda2ex.c? There is also bsp_boardTda3xx.c.

    I searched the vision_sdk folder with "Bsp_boardSetPinMux", but I can not find the place where UART is set. Where in the vision_sdk is the function of Bsp_boardSetPinMux called?

  • Hello,

    My bad. Didnt see you are using TDA3xx. You should change bsp_boardTda3xx.c

    In VSDK the pin mux is done as part of default system initialization (system_init)
    -System_bspInit
    --Bsp_platformInit
    ---Bsp_platformTda3xxInit
    ----Bsp_platformTda3xxSetPinMux

    and bord mux is done as part of UART init in links_fw/src/rtos/utils_common/src/utils_uart.c using Bsp_boardSelectDevice(BSP_DRV_ID_UART, BSP_DEVICE_UART_INST_ID_1);

    Now for your board, you can change Bsp_boardSetPinMux and call Bsp_boardSetPinMux using BSP_DEVICE_UART_INST_ID_3 or directly change Bsp_platformTda3xxSetPinMux.


    Hope this helps.