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.

CCS/TDA2SX: How to remove CPLD Pinmux for my custom board

Part Number: TDA2SX


Tool/software: Code Composer Studio

Hi,

I am using TDA2xx reference board. I am using Vision SDK 3.04 as reference code. I want to remove all MUX code and CPLD programming from this reference code. Can you please help me what are the changes require for Pin mux to bringup camera and display for my custom board.

In my custom board, I am using TDA2Sx SOC and 3 Camera's connected to VIN1A, VIN2A, VIN5A in my custom board.

I did pinmux in uboot mux_data and device tree also changed.

Q1) As per the board, what are the changed need to do in PDK ??

Q2) what and all changes have to do in Bsp_boardSetPinMuxTda2xx() ?

VIP/DSS/I2C/UART pinmuxing did in bspboardTDA2xx.  For this, i comment the DSS, UART, I2C except VIP and tried. Capture and Display working fine.

Q3) whether mux_data will take care ?? no need of remuxing here ??

Could you please let me know,

why is that mentioned ? was it useful anywhere ? any other changes needed ?

Regards,

ARUNKUMAR V N

  • Hi,

    You do not need to do pinmux in the PDK.
    TI recommends to perform all the pinmux from u-boot first stage. So mux_data change is sufficient.

    If yours is a custom board, most likely there wont be any board muxes to setup.

    So you don;t have to do anything board specific in the PDK.

    Nikhil D

  • Hi Nikhil,

    If mux_data change is sufficient. Then, why they are initializing all VIP Slices and Ports pin muxing in BspboardTDA2xx Pinmuxing.

    How M4 knows the VIP ports ?

    How M4 knows the Sensor ?

    As per my understanding, PDK needs input.

    If i am wrong, please help me with detailed information.

    Regards,

    ARUNKUMAR VN

  • Hello,

    PDK code is written generic. It can be used without u-boot as well. That;s why this exist.

    In general, there is strong recommendation to perform pinmux from u-boot first stage.

    M4 software does not take any input, all the required pinmux, devices needs to be selected at compile time

    Regards,

    Nikhil D