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.

SK-AM62B: Enabling i2c2 interface

Part Number: SK-AM62B


Tool/software:

Hi,

we are trying to interface i2c2 interface between am62x board and external mcu board, but we couldn't able to communicate.

&main_pmx0 {

    main_i2c2_pins_default: main-i2c2-pins-default {
   pinctrl-single,pins = <
   /*AM62X_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) (K22) GPMC0_CSn2.I2C2_SCL */
  /*AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) (K24) GPMC0_CSn3.I2C2_SDA */
  >;
   };

};

&main_i2c2 {

status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c2_pins_default>;
clock-frequency = <100000>;
};

please find dts configuration as mentioned above & could you please help us to resolve it.

Best Regards,

Prasad.

  • Hello Prasad,

    I am on vacation from now until July 15, so I am going to start by sending you over to our hardware team to discuss how to check that the hardware design looks good.

    1) Are you using a TI EVM, or a custom board?

    2) Are you seeing any helpful terminal output during bootup? e.g., what does this give you?
    dmesg | grep i2c

    3) What commands are you using to try to communicate?

    4) Are you using a specific driver to communicate with the MCU board? If so, which one?

    Regards,

    Nick