Skip to main content
OAHLZOUAOUI
Visitor II
January 8, 2021
Question

STM32 HAL DCMI supports only DMA for data transfer

  • January 8, 2021
  • 2 replies
  • 822 views

Hello,

I am wondering why the HAL_DCMI_Start_DMA function supports only data transfer through DMA. I noticed that there is only one function for data transfer which is HAL_DCMI_Start_DMA.

Another question, is there any example on the net that shows an implementation of this HAL function ?

Thank you for your help,

Othmane

This topic has been closed for replies.

2 replies

zzzzz
Senior
January 8, 2021

Data which is generated from camera sensor normally huge. The main reason of using DMA is for keeping CPU resource free for other operation.

For the example, you could download CUBEMX and f4 or f7 firmware package. an example of DCMI project is under the evaluation board folder.

Tesla DeLorean
Guru
January 8, 2021

The data comes out like a firehose, you're not going to be able to drink from it..

The source is available for all these libraries, review it in the context of the information in the reference manual.

There should be some EVAL series board examples, find boards with cameras / option.

You don't specific which "STM32" you plan on working with.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..