AnsweredAssumed Answered

VADC failed - i.MXSoloX

Question asked by osmarfrisonjunior2 on Feb 22, 2016
Latest reply on Feb 24, 2016 by CarlosCasillas

Hi,

 

I am trying to use the VADC at the MX6SX SDB. (i.MX L3.14.52_1.1.0 GA)

 

I connected the camera input at the VADC_IN0, and I checked the signal after the C353 using the oscilloscope, and it is okay.

 

 

Captura de tela de 2016-02-22 09:48:18.png

 

The imx6sx-sdb.dts says:

 

&vadc {

    vadc_in = <0>;

    csi_id = <1>;

    status = "okay";

    port {

        vadc_ep: endpoint {

            remote-endpoint = <&csi2_ep>;

        };

    };

};

 

The i.MX_Linux_Reference_Manual says:

 

Captura de tela de 2016-02-22 10:01:17.png

 

My unit_tests doesn't have "csi_v4l2_tvin.out"

 

 

root@imx6sxsabresd:/unit_tests# ls

all-suite.txt           check_mixer.out            mxc_l2switch_test.out

audio8k16S.wav          check_recording.out        mxc_mcc_tty_test.out

autorun-asrc.sh         check_synchronization.out  mxc_mlb_test.out

autorun-ata.sh          check_volume2.out          mxc_sdma_test.out

autorun-fb.sh           csi_v4l2_overlay.out       mxc_spdc_fb_test.out

autorun-firi.sh         daisy-640x480-565.rgb      mxc_spi_test1.out

autorun-hantro.sh       dbg_monitor.sh             mxc_tuner_test.out

autorun-keypad.sh       desk240x180-565.rgb        mxc_tuner_test.sh

autorun-mmc-blockrw.sh  dryice.sh                  mxc_tve_test.sh

autorun-mmc-fdisk.sh    dump-clocks-dot.sh         mxc_uart_stress_test.out

autorun-mmc-fs.sh       dump-clocks.sh             mxc_uart_test.out

autorun-mmc-mkfs.sh     etm                        mxc_uart_xmit_test.out

autorun-mmc.sh          gpu.sh                     mxc_v4l2_output.out

autorun-mxc_uart.sh     gpuinfo.sh                 mxc_v4l2_still.out

autorun-oprofile.sh     memtool                    mxc_v4l2_tvin.out

autorun-owire.sh        mmdc2                      pansy-1280x720-565.rgb

autorun-pxp.sh          mx6s_v4l2_capture.out      plumbago-1280x1024-565.rgb

autorun-rtc.sh          mxc_asrc_test.out          pxp_test.out

autorun-sound.sh        mxc_dcic_test.out          pxp_v4l2_out_test.sh

autorun-usb-gadget.sh   mxc_epdc_fb_test.out       pxp_v4l2_test.out

autorun-usb-host.sh     mxc_epdc_v2_fb_test.out    rose-800x600-565.rgb

autorun-v4l2.sh         mxc_epdc_x11_fb_test.out   rtctest.out

autorun-wdog.sh         mxc_fb_test.out            rtcwakeup.out

autorun.sh              mxc_fb_vsync_test.out      suspend_quick_auto.sh

cam2mpeg4.out           mxc_i2c_slave_test.out     suspend_random_auto.sh

check_2w1r.out          mxc_iim_test.out           test-utils.sh

check_audio.out         mxc_irlan_test.sh          wall-1024x768-565.rgb

check_ioctls.out        mxc_isl29023.out           wdt_driver_test.out

check_minor_open.out    mxc_keyb_test.sh           x11_overlay.out

 

 

 

Some debugs:

 

/**********************************************************************************************/

 

root@imx6sxsabresd:/unit_tests# lsmod

Module                  Size  Used by

mx6s_capture           14549  0

mxc_dcic                6569  0

ov5640_camera          20096  0

evbug                   1875  0

 

/**********************************************************************************************/

 

root@imx6sxsabresd:/unit_tests# ./mx6s_v4l2_capture.out -l

 

open video device /dev/video0

Video device /dev/video0 not support v4l2 capture

 

open video device /dev/video1

Found v4l2 capture device /dev/video1

 

open video device /dev/video2

Found v4l2 capture device /dev/video2

 

unable to open /dev/video3 for capture device.

 

unable to open /dev/video4 for capture device.

 

/**********************************************************************************************/

 

root@imx6sxsabresd:/unit_tests# ./mxc_v4l2_tvin.out -ow 1024 -oh 768

Unable to open /dev/video17

 

/**********************************************************************************************/

 

 

How can I test the camera input?

 

 

Thanks.

Outcomes