2018-07-04 03:30 AM
In my program I want to stop the DCMI continuous stream, save the framebuffer to SD-card and then start the DCMI stream again. By stopping the DCMI continuous stream, I mean -> disable DCMI interrupts and DMA interrupts related to DCMI.
In theory, after successfully stopping the DCMI stream, I should then have:
- Framebuffer 'frozen' with complete frame, not updating
- No interrupt requests related to camera
- Possibility to turn this DCMI continuous stream back on, without having to initialize everything from scratch
Which combination of the following functions should I use in order to achieve that?
HAL_DCMI_Stop() + HAL_DCMI_Start_DMA() ?
or maybe
HAL_DCMI_Suspend() + HAL_DCMI_Resume()?
What is the difference between theese?#stm32f746-discovery #stm32f7