2026-02-10 10:18 PM
Hi,
I'm developing a camera interfacing application. I've used GPDMA in linear-circular mode. But, now I have to handle larger resolution(640x480). Is there any application example from where I can start configuring DMA in CubeMx?
Solved! Go to Solution.
2026-02-11 12:58 AM - edited 2026-02-11 12:58 AM
Hello @shubhenduatadben ,
You can start with examples in our STM32CubeU5 firmware package (based on BSP driver and HAL Driver) that can help you in your camera configuration:
I advise you to take a look to these resources that may help you on your project configuration:
I found this tutorial for you : Using a Camera Module with the B-U585I-IOT02A Discovery Board
2026-02-11 12:58 AM - edited 2026-02-11 12:58 AM
Hello @shubhenduatadben ,
You can start with examples in our STM32CubeU5 firmware package (based on BSP driver and HAL Driver) that can help you in your camera configuration:
I advise you to take a look to these resources that may help you on your project configuration:
I found this tutorial for you : Using a Camera Module with the B-U585I-IOT02A Discovery Board
2026-02-11 3:33 AM - edited 2026-02-11 3:55 AM
Hi Imen,
Thanks for your reply. I followed the tutorial referred by you. But the result is, HAL_DCMI_FrameEventCallback triggers only for 320x240 size RGB565 capture mode. On starting DCMI for 640x480 size RGB565, the callback never triggers. What I also notice that the buffer isn't filled properly, it's mostly empty.
Here is the env details:
MCU: STM32U5G9BJYXQ
STM32CubeIDE: 1.16.1
STM32U5 series: 1.6.0