cancel
Showing results for 
Search instead for 
Did you mean: 

DCMI is not working in STM32U5A5Z

achovy
Associate II

hello

 

OV2640 is used as the camera module 

achovy_0-1714636484345.png

I use this fuction  HAL_DCMI_Start_DMA(phdcmi, DCMI_MODE_SNAPSHOT, frameBuffer, length); 

 

And I'm going to receive data through UART.

achovy_2-1714636571233.png

However, the data is not coming.

 

If you have any good ideas, please let me know

 

I'm attaching my code here.

1 REPLY 1
KDJEM.1
ST Employee

Hi @achovy ,

I think that you want to capture a JPEG data.

 

hdcmi.Init.JPEGMode = DCMI_JPEG_ENABLE;

 

For that, it is recommended to update the camera module configuration in ov2640.c as mentioned in AN5020 section 8.3.7 JPEG data capture.

May How to configure the GPDMA? article can help you.

I hope this help you.

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.