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.

AM4379: Using CAN and UART simultaneously

Part Number: AM4379
Other Parts Discussed in Thread: SYSCONFIG

Hi.

I want to use UART1 for communicate with C2000 and CAN for connecting other devices. AM4379 has overlapping pins for these interfaces. Is it possible to configure the pins in such a way as to use L21 and К21 for UART and  K22 and L22 for CAN? For programming I use PDK and TI RTOS. Is it possible to solve this without resorting to bare metal programming?

Regards, Dmitry.

  • Hello Dmitry,

    This kind of functionality is enabled through use of the SysConfig Tool (https://dev.ti.com/sysconfig/). The "overlapping" of device signals to device pins is known as Pin Multiplexing (PinMux). 

    The use case you mention above (UART1_TXD & UART1_RXD + DCAN0_TX & DCAN0_RX) is a valid pinmux configuration for the AM437x device. 

    I have included two screenshots below showing how you would configure these peripherals in the SysConfig-PinMux Tool. The tool will also generate the AM43xx_pinmux.h and am43xx_pinmux_data.c files necessary for development in the AM437x Processors SDK - RTOS.

    Let us know if you have additional questions.

    Regards,

  • Hello Dmitry,

    I wanted to follow up and see if you were able to resolve your issue regarding the UART1 and CAN0 Pin Mux configurations. Please let us know if you have any further questions or comments. Thank!

    Regards,

  • Hello.

    At the moment I am creating a PCB for my project. I needed to understand whether it was possible to create a printed circuit board the way I wanted. 

    You answered that this option is possible.
    I can give you an answer later, when I finish with the board and return to the software part.

    Regards, Dmitry.