Hello, I am attempting to use the video drivers from the github PR here: drivers: video: Add support for arducam mega by ArduCAM · Pull Request #66994 · zephyrproject-rtos/zephyr · GitHub. Apologies if this should be posted there, but I figured this may be more specific to the camera and dev kit setup than the PR.
I have tested the video drivers with a RPI Pico and confirmed they are working. I am now trying to port the example to support the NUCLEO-U575ZI-Q development board.
This issue I am seeing happens in the arducam_mega_init() function where these two functions are called: arducam_mega_soft_reset(dev), arducam_mega_check_connection(dev).
Reset register write:
A couple of notes:
- I can only configure SCLK to 2.5MHz or 5MHz. I am currently unable to configure to exactly 4MHz.
- I have confirmed that the Pico example works fine at 5MHz SCLK.
- I have a suspicion that the toggle of MOSI prior to CS going low on the reset register write is causing problems. However, I have not been able to change the behavior of the lower level STM32 to change this yet.
Does anyone have any ideas on what might be wrong here or have suggestions for a workaround?
Thanks!