Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to properly set up ov2718 camera module?
#1
Hey everyone!

I tested Lindenis with imx317 module and it works good, but we're currently trying to make it work with "ov2718" and it doesn't work.
I compiled ov2718_mipi.c driver, it correctly loads into kernel and even able to read/write to camera's i2c address but when I run 'ldcam -c -d 0 -o out'  it freezes with the following dmesg errors:

Code:
[  114.995285] [ov2718_mipi]PWR_ON!
[  115.079343] [ov2718_mipi]sensor_detect read value is 0x27
[  115.086025] [ov2718_mipi]sensor_detect read value is 0x70
[  115.101275] [VIN_ERR]buffer count is invalid, set to 3
[  115.120535] [ov2718_mipi]sensor_s_stream on = 1, 1920*1080 3008
[  116.178767] [ov2718_mipi]s_fmt set width = 1920, height = 1080
[  116.279632] [VIN_ERR]isp0 frame error
[  118.140426] [ov2718_mipi]sensor_s_stream on = 0, 1920*1080 3008
[  118.147839] [ov2718_mipi]PWR_OFF!


Here's the [sensor0] section from sys_config.fex file that I corrected to suit my camera:

Code:
[vind0/sensor0]
sensor0_used          = 1
sensor0_mname         = "ov2718_mipi"
sensor0_twi_cci_spi   = 0
sensor0_twi_cci_id    = 2
sensor0_twi_addr      = 0x6c
sensor0_mclk_id       = 2
sensor0_pos           = "front"
sensor0_isp_used      = 1
sensor0_fmt           = 1
sensor0_vflip         = 0
sensor0_hflip         = 0
sensor0_iovdd         = "iovdd-csi"
sensor0_iovdd_vol     = 1800000
sensor0_avdd          = ""
sensor0_avdd_vol      = 1800000
sensor0_dvdd          = "dvdd-csi-1"
sensor0_dvdd_vol      = 1200000
sensor0_power_en      =
sensor0_reset         = port:PI3<1><0><1><0>
sensor0_pwdn          = port:PI10<1><0><1><0>
sensor0_sm_hs         = port:PI5<1><0><1><0>
sensor0_sm_vs         = port:PI6<1><0><1><0>

Can someone help me with getting this camera to work?
According to Allwinner V5 manual it is supported.
Reply


Messages In This Thread
How to properly set up ov2718 camera module? - by DWD - 10-22-2019, 07:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)