SCCB comms via I2C?
SCCB comms via I2C?
There is some discussion about cameras going on in other threads. I noticed that some of the cameras available use an SCCB bus, which appears to be very similar to I2C. Has anyone actually used an SCCB device with a PyBoard yet?
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: SCCB comms via I2C?
I have been using these cameras on a STM32F407VET writing my code in C and to use the SCCB I just used the standard HAL libraries for I2C and they worked fine.
As far as I can tell SCCB is identical to I2C protocol
As far as I can tell SCCB is identical to I2C protocol
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: SCCB comms via I2C?
The simple way to test if it works is supply a clocking signal to the XCLK input then read the output on the PCLK on a scope and it should be the same as the input signal then use SCCB to change the clock divider and if everything is working fine you will see the effect of the clock divider on the PCLK pin.
Re: SCCB comms via I2C?
Guess I'll have to decide if I want to try it. The cameras cost nothing, so there's no harm in it, other than the risk of wasted time.
Thanks.
Thanks.