2020-08-24 02:11 AM
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?
2020-08-24 02:18 AM
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.