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.

Compiler/AM3358: AM3358: TMDSSK3358 + TCAN1042DEVM

Part Number: AM3358
Other Parts Discussed in Thread: TCAN1042DEVM, SYSCONFIG

Tool/software: TI C/C++ Compiler

Hi. TI.


I would like to add CAN function to TMDSSK3358.

I would like to use the TCAN1042DEVM product in the following configuration.
-U12 IC of TMDSSK3358 has been removed.
-Connect UART1_RTSn&CTSn of TMDSSK3358 with JMP2 of TCAN1042DEVM

Q1. Is there any problem with the above configuration?


Q2. Can I still get technical support in this case?


Thank you in advance.


Regards,
Simon

  • Hello Simon,

    The DCAN0 RX and TX signals are PinMuxed with the UART1 CTSn and RTSn signals. This means that from a device standpoint this use case is completely valid. The SysConfig/PinMux Tool is great at checking and verifying possible use cases, I've attached a .sysconfig file for reference (required zip for upload). This started with the original AM335x StarterKit .pinmux configuration, I then modified it to use the DCAN0 signals rather than UART1.

    We can support the general use of the CAN interface and it's functionality. However, direct support for modified StarterKit EVM HW will not be possible at this time.

    /cfs-file/__key/communityserver-discussions-components-files/791/AM335xSK_5F00_w_5F00_CAN.zip

    Regards,

    Zackary Fleenor

  • Hi. Fleenor.


    Thanks for the reply.

    I have additional questions.

    I can modify am335x_evmsk.dts in PROCESSOR-SDK-LINUX-AM335X as follows:
    dcan0_pins_default: dcan0_pins_default {
        pinctrl-single,pins = <
            AM33XX_IOPAD(0x978, PIN_OUTPUT | MUX_MODE2)                    /* uart1_ctsn.d_can0_tx */
            AM33XX_IOPAD(0x97C, PIN_INPUT_PULLDOWN | MUX_MODE2) /* uart1_rtsn.d_can0_rx */
        >;
    };

    &dcan0 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&dcan0_pins_default>;
    };

    Q. In addition to the above, do I need to apply an additional .syscfg file?
         If I need to add it, can you tell me how?


    Regards,
    Simon

  • Hey Simon,

    You can verify this kind of information with the SysConfig tool. Compare the new generated output files with your manually modified .dtsi file.

    The .sysconfig file is equivalent to the .pinmux file and allows you to transfer and share configurations between SysConfig users/instances. It defines the configuration parameters set by the user for a specific device in the tool.

    It is used by the SysConfig tool and should not require additional steps in regards to programming device.

    Regards,