cancel
Showing results for 
Search instead for 
Did you mean: 

DCMI DMA transfer error with STM32H743

Hi, 

  I'm getting transfer error from DMA interrupt by the attempt to get image from the DCMI. Already lost some days on that and don't know what could be the problem. 

  I've tested successfully the camera and the initialization code in STM32F429-DISCO and NUCLEO-F207 boards. But as far as I have researched the H7 have some challenging diferences in comparison with "F" families (now using an NUCLEO-H743ZI), like DMAMUX wich the CubeMx and the HAL library already generates the corresponding code.

  I've found some similar questions (bus matrix/routing) and implemented the solution the but still not working. I've disabled the ICache and the DCache too. And these are very important links indeed:

https://community.st.com/s/question/0D50X00009cfCGLSA2/dma-transfer-error-in-stm32h7-dcmi.

https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices

  The program pass only once for the DMA1_Stream7_IRQHandler and returns indicating HAL_DCMI_ERROR_DMA (0x40) and HAL_DMA_ERROR_TE(0x01).

  The signal VsyncEvent and LineEvent keep working fine. I can capture the number of lines per Vsync according with the camera configuration, but no frameEvent.

 Thank you in advance for any help.

0690X00000BuiZBQAZ.png

0690X00000BuiZGQAZ.png

0690X00000BuiZQQAZ.png

0 REPLIES 0