Skip to main content
Associate III
Jun 30, 2024 16:54 UTC
Question

i2c3 not probe

hi,

   I found stm32mp135faf7 MPU's i2c3 is not be probed

1、"ovti,ov5640" probe() function no enter

2、not found i2c3 in /sys/class/i2c-dev/

here is my dtsi:

&i2c3 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c3_pins_mx>;
pinctrl-1 = <&i2c3_sleep_pins_mx>;
status = "okay";

i2c-scl-rising-time-ns = <170>;
i2c-scl-falling-time-ns = <5>;
clock-frequency = <100000>;
/delete-property/ dmas;
/delete-property/ dma-names;
ov5640: ov5640@3c{
compatible = "ovti,ov5640";
reg = <0x3c>;
clocks = <&clk_ext_camera>;
clock-names = "xclk";
DOVDD-sup = <&vdd>;
//reset-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
rotation = <180>;
status = "okay";

port {
ov5640_0: endpoint {
remote-endpoint = <&dcmipp_0>;
bus-width = <8>;
bus-type = <5>;
data-shift = <2>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
pclk-max-frequency = <77000000>;
};

}

This topic has been closed for replies.

2 replies

PatrickF
ST Employee
Jul 1, 2024 13:44 UTC

Hi @guansonghuang 

maybe have a look at this page which help to debug this kind of issue (example for UART, but should be similar for I2C)

https://wiki.st.com/stm32mpu/wiki/Trace_and_debug_scenario_-_UART_issue

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Associate III
Jul 5, 2024 02:56 UTC

Thank you very much.this helpful