Hi everyone, I’m having trouble getting my Arducam Mini 2MP Plus to work with an STM32 board. I grabbed the code from the ArduCAM/STM32 repository on GitHub (GitHub - ArduCAM/STM32 · GitHub) and flashed it onto the microcontroller, but the camera just isn’t being detected at all. The STM32 can’t seem to identify it — no response, nothing. I’ve double-checked that the code uploaded successfully, but when I run it, the camera initialization fails. Has anyone run into this before? I was hoping to get some guidance on what might be going wrong.
Thanks for reaching out. This sounds like it could be a wiring or pin mapping issue — the ArduCAM Mini 2MP Plus uses SPI communication and if the connections aren’t right, the STM32 won’t see the camera at all. Before we dive deeper into the firmware side, could you share some photos of your hardware setup? Specifically, I’d like to see how the camera module is connected to your STM32 board — the wiring between the SPI pins (MOSI, MISO, SCLK, CS) as well as power and ground. That’ll help narrow things down quickly.
Sure, here’s a picture of the physical wiring between the Arducam and the STM32. Let me know if anything looks off.

I should also mention — I’m actually using a custom PCB that has the Arducam module integrated into the design. Here’s a shot of the board layout so you can see how everything is routed. Maybe there’s something going on at the PCB level that I’m missing.

Thanks for the photos — that’s really helpful to see the full picture, especially the custom PCB. I have a few observations I’d like to go through with you in more detail. I’ve sent you a private message with information on setting up a remote support session so we can go through the pin mapping, SPI configuration, and the firmware together in real time. Please check your messages — once we’re connected, we can check the actual SPI signals and see exactly where the detection is failing. In the meantime, could you confirm which specific STM32 board/chip you’re using and which SPI peripheral you’ve got the camera wired to?