Olimex A20-OlinuXino LIME - Changing the csi_twi_id has no effect

Started by jschmucker, October 27, 2015, 04:50:39 PM

Previous topic - Next topic

jschmucker

Heyho,

I have a problem regarding the csi_twi_id in the fex-File.
I connected an OV5640 Camera Sensor to the GPIO2-Port using twi3.
I made all the changes in the fex-File but the sun4i_csi0-Modul still uses twi1.

Does anybody know why the driver doesn't use the settings from the fex-File?

PS: Here are my fex settings:


[twi3_para]
twi3_used = 1
twi3_scl = port:PI00<3><default><default><default>
twi3_sda = port:PI01<3><default><default><default>


[camera_list_para]
camera_list_para_used = 1
ov7670 = 0
gc0308 = 0
gt2005 = 0
hi704 = 0
sp0838 = 0
mt9m112 = 0
mt9m113 = 0
ov2655 = 0
hi253 = 0
gc0307 = 0
mt9d112 = 0
ov5640 = 1
gc2015 = 0
ov2643 = 0
gc0329 = 0
gc0309 = 0
tvp5150 = 0
s5k4ec = 0
ov5650_mv9335 = 0
siv121d = 0
gc2035 = 0

[csi0_para]
csi_used = 1
csi_dev_qty = 1
csi_stby_mode = 0
csi_mname = "ov5640"
csi_twi_id = 3
csi_twi_addr = 0x78
csi_if = 0
csi_vflip = 0
csi_hflip = 0
csi_iovdd = "axp20_pll"
csi_avdd = ""
csi_dvdd = ""
csi_vol_iovdd = 2800
csi_vol_dvdd =
csi_vol_avdd =
csi_flash_pol = 0
csi_pck = port:PE00<3><default><default><default>
csi_ck = port:PE01<3><default><default><default>
csi_hsync = port:PE02<3><default><default><default>
csi_vsync = port:PE03<3><default><default><default>
csi_d0 = port:PE04<3><default><default><default>
csi_d1 = port:PE05<3><default><default><default>
csi_d2 = port:PE06<3><default><default><default>
csi_d3 = port:PE07<3><default><default><default>
csi_d4 = port:PE08<3><default><default><default>
csi_d5 = port:PE09<3><default><default><default>
csi_d6 = port:PE10<3><default><default><default>
csi_d7 = port:PE11<3><default><default><default>
csi_reset = port:PI21<1><default><default><0>
csi_power_en = port:PI20<1><default><default><0>
csi_stby = port:PI20<1><default><default><0>
csi_flash =
csi_af_en =


jschmucker

I measured the Pins now and found out:
TWI3 doesn't seem to have the 3.3V Pullup.
There is no Voltage on the TWI3-Port

Though on the others (except for TWI4: SCL is low (0V), SDA 100Hz rectangle signal) have 3.3V.