Search found 9 matches

by delgoodie
Sun Jan 12, 2020 5:02 am
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

I’m not exactly sure where the current drivers are but I must have them in my folder to get any camera to work at all right? If so, I think the driver code is inside https://github.com/ArduCAM/MIPI_Camera/blob/master/RPI/lib/libarducam_mipicamera.so which is a binary compiled c code file. I can’t lo...
by delgoodie
Thu Jan 09, 2020 11:51 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

Wow I can’t believe I’ve never seen that, I basically used the arducam function and re wrote the capture2opencv cpp to initiate two cameras with a camera structure containing the valid StereoPi pins(but for i2c I did bus 1 and chose the gpio pins for sda and scl) then I used the arducam capture func...
by delgoodie
Wed Jan 08, 2020 8:33 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

Yes, when I remove the camera in the default csi port and only use the camera connected to i2c bus 1 through gpio wires, everything works perfectly, I get images and can write & registers.
by delgoodie
Sun Jan 05, 2020 3:46 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

I have dt_param=i2c_arm=on and dt_param=i2c_vc=on in my config which means both busses are enabled. In my /boot folder I have all the default dtb files that came with raspbian and in my overlays I don’t see a StereoPi dtbo. I never downloaded a stereopi os, just regular raspbian. When I run with one...
by delgoodie
Sat Jan 04, 2020 8:57 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

Update: I have soldered new i2c lines to one of the cameras and kept all the other pins untouched. Now, when I enable the cameras using the arducam function I still can't write to the registers of the cameras and when I use i2cdetect 0 and i2cdetect 1 it only shows the addresses on bus 1, even thoug...
by delgoodie
Thu Jan 02, 2020 8:16 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

Yes, I understand that the pi is a hobbyist tool and not too much more. I think the breakout boards might be popular considering that most people who use the StereoPi will be using the same camera and odds are it is a rather inexpensive camera with no way to change the i2c address. On the flip side,...
by delgoodie
Tue Dec 31, 2019 8:03 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

I know I'm shocked at how rare this seemingly common breakout board is! Luckily, my teacher can make a custom pcb for me to break out only the i2c lines of the csi cable and replace them with the gpio pins that support i2c bus 1. For now I have tested it by scrating and soldering onto a spare ribbon...
by delgoodie
Sat Dec 28, 2019 4:56 pm
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

Re: CSI interface and i2c bus

Thank you so much for reviewing all the options, I considered the other ideas, however, I had been thinking especially about the second option you mentioned since I already have the stereoPi. I was not sure if it would still work if I just replaced the i2c lines with the gpio pins that support i2c b...
by delgoodie
Sat Dec 28, 2019 1:04 am
Forum: StereoPi hardware
Topic: CSI interface and i2c bus
Replies: 17
Views: 217

CSI interface and i2c bus

It appears that both csi ports on the stereoPi are attached to the i2c bus 0. I have chosen to use two arducam OV9281 cameras but they both have the same address (60) which makes register modifying unattainable. To fix this I was wondering if it is possible to change the bus of one of the csi ports ...