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.

AM4379: No VPFE interrupt from sensor

Part Number: AM4379

 Our project used platform AM4379, I encountered a problem when I was debugging camera sensor MT9V034,with"ISIF_FRMFMT_PROGRESSIVE"  input); No VDINT  interrupt generated in vpfe.

I had confirmed the timing which was MT9V034  output to AM437x vpfe, VD,HD and  PCLK looked like ok.  I confirmed vpfe and mt9v034 are set in the progressive scan. I am confused why it happened? 

Thanks!

  • What Linux version is this? Can you post the relevant device tree section?
  • Thanks for the reply!

    linux version :Linux am437x-evm 3.14.43

    DTS:
    vpfe0 {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&vpfe0_pins_default>;
    pinctrl-1 = <&vpfe0_pins_sleep>;

    /* Camera port */
    port {
    vpfe0_ep: endpoint {
    remote-endpoint = <&mt9v034_0>;
    if_type = <2>;
    bus_width = <8>;
    hdpol = <0>;
    vdpol = <0>;
    };
    };
    };

    mt9v034@48 {
    compatible = "aptina,mt9v034";
    reg = <0x48>;
    port {
    mt9v034_0: endpoint {
    remote-endpoint = <&vpfe0_ep>;
    mclk-frequency = <24000000>;
    };
    };
    };
  • If you are not getting interrupts it usually means the module is not receiving/detecting video data.

    Have you verified the pinmux? Looks like you are using your own camera module. Are you using TI evm or your own board?

    If you are using our gp evm then for vpfe0 the external camera connector is hooked up to i2c1.

    If you have been able to probe the Pclk, Vsync and Hsync signal at the connector and they all look like what you are expecting
    (i.e. pclk < 72MHZ, and both hsync and vsync toggling) then pin connectivity (i.e pinmux) would be the best guess for issue at your end.
  • Thank you very much,It works,