Hi everyone, running into a strange power-up timing issue with the newer Arducam 2MP Plus modules (Rev B, EtronTech chip, OV2640) and could really use some pointers.
On the older Mini 2 Plus Rev A (Winbond chip) I only need about 3ms of power-up delay before I2C comms are reliable. On the Rev B EtronTech boards I need ~30-40ms, and a couple of modules need up to 100ms before the “error writing to the sensor registers” message goes away. That is roughly 10x slower on the newer revision.
I tested 115 of the Rev B cameras: 5 of them needed up to 37ms and one needed up to 100ms. That spread is a real firmware headache because the delay isn’t consistent.
Concretely, myCAM.wrSensorReg8_8(0xff, 0x01) (select bank 1) returns an error on the Rev B modules but works fine on the earlier versions.
Two other questions while I’m here:
- For the Rev B board, is there a particular SPI or I2C waveform I should be scoping when debugging this?
- Could someone give me the command sequence / example for the “Windowing” function described on Page 3 of the OV2640 datasheet (v1.6, Feb 28 2006)? It references setting HREFST, HREFEND, REG32, VSTRT, VEND and COM1, and I’m not sure where in the library sequence that belongs.
Thanks!