TC358743 driver for IMX6DL ,open camera 出現"ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0"

cancel
Showing results for 
Search instead for 
Did you mean: 

TC358743 driver for IMX6DL ,open camera 出現"ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0"

664 Views
Contributor II

您好

porting TC358743 Driver open camera app 遇到"ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0"

1、SDK 是使用m6.0.1_2.0.0-ga android6.0

2、TC358743 driver 從boundarydevices下載,並修改

3、參考Debug steps for customer MIPI sensor.pdf & MIPI–CSI2 Peripheral on i.MX6 MPUs.pdf 兩份文件,進行修改及確認相關mipi 設定。

4、Mipi clk and Data 訊號都有出來(1024x768@60)

請問IMX6DL 還需要在確認那一些register???

還是HAL部份沒有作好設定所造成嗎???

有用其他App open /dev/video1  一樣會出現"ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0"

請協助,謝細

 

Labels (1)
0 Kudos
3 Replies

10 Views
Contributor II

Hi Joan 

這一篇有參考過,狀況一樣

使用mxc-v4l2-tvin -ol 0 -ot 0 -ow 1024 -oh 768 -d 1 -x 1 -f YUYV
並參考Debug steps for customer MIPI sensor.pdf,將相關的register print 出來
是否有相關的register設定有問題才會造成,以下相關的register設定數值

IPU_CONF =        0x20000762
IDMAC_CONF =      0x0000002F
IDMAC_CHA_EN1 =   0x00800002
IDMAC_CHA_EN2 =   0x00000000
IDMAC_CHA_PRI1 =  0x18800003
IDMAC_CHA_PRI2 =  0x00000000
IDMAC_BAND_EN1 =  0x00000000
IDMAC_BAND_EN2 =  0x00000000
IPU_CHA_DB_MODE_SEL0 0x00000002
IPU_CHA_DB_MODE_SEL1 0x00000000
IPU_CHA_TRB_MODE_SEL00x00800000
IPU_CHA_TRB_MODE_SEL10x00000000
DMFC_WR_CHAN =    0x00000090
DMFC_WR_CHAN_DEF =   0x202020F6
DMFC_DP_CHAN =    0x000096CA
DMFC_DP_CHAN_DEF =   0x2020F6F6
DMFC_IC_CTRL =    0x00000002
IPU_FS_PROC_FLOW1 =  0x00000000
IPU_FS_PROC_FLOW2 =  0x00000000
IPU_FS_PROC_FLOW3 =  0x00000000
IPU_FS_DISP_FLOW1 =  0x00000000
IPU_VDIC_VDI_FSIZE = 0x00000000
IPU_VDIC_VDI_C =  0x00000000
IPU_IC_CONF =     0x00000000
SMFC_BS0x70
SMFC_MAP0x20
CSI1_MIPI_DI0xffffff1e
CSI1_SENS_CONF0x920
CSI1_ACT_FRM_SIZE0x2ff03ff
0 Kudos

10 Views
NXP TechSupport
NXP TechSupport

pls refer to the link as below, this is very useful for you

https://community.nxp.com/thread/431947 

0 Kudos

10 Views
NXP TechSupport
NXP TechSupport

pls refer to the discussion as below, hope helpful for you

https://community.nxp.com/thread/307065 

0 Kudos