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.

Linux/AM5728: i893 DCAN Initialization Sequence

Part Number: AM5728


Tool/software: Linux

Hi,

Did the linux DCAN driver fix the following errata?
i893 DCAN Initialization Sequence

Best Regards,
Shigehiro Tsuda

  • Hi,

    To workaround the issue the pin mux definition for the DCAN is arranged in a different order. The default state is set to off or sleep mode, this isolates the DCAN ip from seeing line transitions before the ip is initialized per the errata.

    Referencing the appended dcan1 node in the AM57xx-idk-common.dtsi you will see the sleep definition is used for the default and sleep. The active setting uses the default which enables the pins.

    &dcan1 {
    status = "okay";
    pinctrl-names = "default", "sleep", "active";
    pinctrl-0 = <&dcan1_pins_sleep>; <----- IP Module initialized isolates from line transitions
    pinctrl-1 = <&dcan1_pins_sleep>;
    pinctrl-2 = <&dcan1_pins_default>; <------ IP Module at run time or active
    };

    Best Regards,
    Schuyler