2024-05-02 12:59 AM
hello
OV2640 is used as the camera module
I use this fuction HAL_DCMI_Start_DMA(phdcmi, DCMI_MODE_SNAPSHOT, frameBuffer, length);
And I'm going to receive data through UART.
However, the data is not coming.
If you have any good ideas, please let me know
I'm attaching my code here.
2024-05-02 04:25 AM - edited 2024-05-02 06:53 AM
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.