cancel
Showing results for 
Search instead for 
Did you mean: 

Any example of using the B-CAMS-OMV with STM32F75-DK please �?��? ?

yeng.1
Associate

Hi, I was wondering if there is an example of using the B-CAMS-OMV with STM32F75-DK, I really tried so hard to make it work but it didn't, for some reason:

HAL_DCMI_Start_DMA(&hdcmi, DCMI_MODE_SNAPSHOT, (uint32_t)DCMI_BUFFER, DCMI_BUFFER_SIZE);

doesn't work for me, I'm using 160x120 resolution, with RGB565 pixel format, and I'm trying to write to address 0xD0000000, buffer_size is then 160*120/2=9600, interrupt also doesn't work for me, even though I've already declared the callback methods and set:

#define USE_HAL_DCMI_REGISTER_CALLBACKS 1U

in the stm32f7xx_hal_conf.h file, for some reason the callback methods are not firing, the dcmi->State stays at HAL_DCMI_STATE_BUSY status and does not change at all, I will appreciate any help regarding this problem, giving a working code from somewhere can be perfect for me, I found this page: https://www.eforce.co.jp/camera_2/, they typically describe the same thing I'm trying to do, but they only give little hints, for some reason they haven't attached the source code, thanks for reading this, and thanks for any effort you'll put in to provide help,

0 REPLIES 0