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.

AM623: Issue with WKUP_I2C0 Port Usage

Part Number: AM623

Tool/software:

Hi,

I’m trying to use the WKUP_I2C0 (B9/A9) port as an I2C interface, but I am encountering the following error:

root@am62xx-evm:~# i2cget -y 0 0x49
[ 72.731744] omap_i2c 2b200000.i2c: controller timed out
Error: Read failed

When probing with an oscilloscope, I noticed that no I2C clock signal is generated, which makes me suspect that the I2C functionality might be disabled or blocked somehow.

My current device tree configuration is quite minimal, and I’m not sure what else needs to be modified to enable proper I2C operation:

i2c_csi_pins_default: i2c-csi-default-pins {
pinctrl-single,pins = <
AM62X_MCU_IOPAD(0x004c, PIN_INPUT_PULLUP, 0) /* (B9) WKUP_I2C0_SCL */
AM62X_MCU_IOPAD(0x0050, PIN_INPUT_PULLUP, 0) /* (A9) WKUP_I2C0_SDA */
AM62X_MCU_IOPAD(0x01ac, PIN_INPUT_PULLUP, 7) /* (E19) GPIO1_13 */
>;
};

&wkup_i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c_csi_pins_default>;
clock-frequency = <400000>;
status = "okay";

#address-cells = <1>;
#size-cells = <0>;

//gt911@5d {
// compatible = "goodix,gt911";
// reg = <0x5d>;
// interrupt-parent = <&main_gpio1>;
// interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
// irq-gpios = <&main_gpio1 13 IRQ_TYPE_LEVEL_LOW>;
//};
};
To confirm the pin's basic functionality, I reconfigured the SCL and SDA pins as GPIO output and successfully toggled them High/Low without issue.

Could you please advise on what might be preventing the I2C controller from operating correctly, or what additional configuration might be required?

Thank you in advance for your support.