cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on STM32L4R9 Discovery with VGA camera capture into PSRAM.

AErof
Associate II

I am using STM32L4R9 Discovery board with 2 MB external PSRAM and OV9655 camera (DM-CAM130). The demo code I've got has example of VGA camera configuration, however it requires a framebuffer too large to fit inside RAM. When I am choosing PSRAM, I am getting an error in DCMI_DMAHalfXferCplt(DMA_HandleTypeDef *hdma) from the HAL_DMA_Start_IT(hdcmi->DMAM2M_Handle, (uint32_t) tmpBuffer_Orig, (uint32_t) tmpBuffer_Dest, loop_length) != HAL_OK and thus, the VGA configuration is unusable. How can I capture VGA images with this board?

1 REPLY 1
AErof
Associate II

Just checked, actually the problem occurs with buffer placement in RAM as well. The very same code works fine with 320x240 resolution.

hdcmi->ErrorCode is equal to 64.