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.

MCU-PLUS-SDK-AM263X: Example MCAN External Read Write uses I2C. Why?

Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: TCAN1042H

I want to use the MCAN External Read Write example in the SDK (v8.06) but I don't know enough about what the I2C is used for to either remove it or understand how it might affect board layout and future capabilities.  Can you explain what it does?

  • Hello Daniel,

    I am going to assume you are specifically using the AM263 Control Card example here.

    If so, the answer is that the on-board CAN transceiver, TCAN1042H, is one that requires a few I2C commands to configure it's operation. So the I2C was added to communicate with the CAN transceiver to enable it to work in the correct mode. If you use a CAN transceiver that does not require configuration then the I2C code can be omitted.

    If you look for the AM263 LaunchPad, you'll see that example instead just has GPIO control for the CAN transceiver as the transceiver on that board just needs to be enabled via I/O without any registers involved.

    Best Regards,

    Ralph Jacobi

  • Thank you.  That's exactly what I wanted to know.