AnsweredAssumed Answered

VADC failed - i.MXSoloX

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



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         check_synchronization.out  mxc_mlb_test.out          check_volume2.out          mxc_sdma_test.out           csi_v4l2_overlay.out       mxc_spdc_fb_test.out         daisy-640x480-565.rgb      mxc_spi_test1.out             mxc_tuner_test.out       desk240x180-565.rgb                 mxc_uart_stress_test.out             mxc_uart_test.out     etm                        mxc_uart_xmit_test.out                     mxc_v4l2_output.out                 mxc_v4l2_still.out     memtool                    mxc_v4l2_tvin.out        mmdc2                      pansy-1280x720-565.rgb          mx6s_v4l2_capture.out      plumbago-1280x1024-565.rgb          mxc_asrc_test.out          pxp_test.out        mxc_dcic_test.out   mxc_epdc_fb_test.out       pxp_v4l2_test.out     mxc_epdc_v2_fb_test.out    rose-800x600-565.rgb         mxc_epdc_x11_fb_test.out   rtctest.out         mxc_fb_test.out            rtcwakeup.out              mxc_fb_vsync_test.out

cam2mpeg4.out           mxc_i2c_slave_test.out

check_2w1r.out          mxc_iim_test.out 

check_audio.out          wall-1024x768-565.rgb

check_ioctls.out        mxc_isl29023.out           wdt_driver_test.out

check_minor_open.out           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?