Showing results for 
Search instead for 
Did you mean: 

DCMI Frame event when receiving JPEG image

Associate II

Hoping for some guidance on DCMI implementation when receiving JPEG images. I am currently successfully receiving JPEG data over the DCMI interface using snapshot mode.The main issue is that the DCMI_FrameEventCallback does not seem to trigger so I am currently just waiting a couple of seconds before reading the buffer (the Vsync and Line callbacks are working though).

As far as I can tell, the DCMI_FrameEventCallback is a DCMI concept which would only be triggered once the specified length passed to the DCMI_Start_*** function is met. This is kinda hard to do when working with JPEG images.

Just wondering if anyone had to deal with this issue before. Thanks!