Skip to main content
SSche.1
Associate
January 6, 2020
Question

STM32H743zit DCMI DMA not Working.

  • January 6, 2020
  • 4 replies
  • 874 views

I can not get the DCMI Working with OV7670 Camera.

The Hardware is correct, Camera setup is correct.

 HAL_DCMI_Start_DMA(&hdcmi, DCMI_MODE_CONTINUOUS, (uint32_t)framebuffer, sizeof(framebuffer)/4);

The DMA Always Fails.

The problem is with the STM32Cube generated code.

I need to help debugging the Problem.

Who can I discuss the problem with?

This topic has been closed for replies.

4 replies

Dub Bartolec
Associate III
January 6, 2020

What is the memory area you are trying to DMA it to ?

Not all memory areas on STM32H7 can be accessed by the DMA.

What is the address of "frambuffer" in above code snippet ?

SSche.1
SSche.1Author
Associate
January 7, 2020

DBart.1

uint16_t *framebuffer = ( uint16_t *)0x24000000 ; // AXI SRAM @ 0x0x24000000 -0x2407FFFF (512 KByte) in domain D1

uint32_t frambuffer_size = 320*240*2 ; // Bytes

SSche.1
SSche.1Author
Associate
January 7, 2020

Is there anyone at STMicro that can confirm and Fix the Bugs in the STM32Cube for STM32H743zit code.

Please send me the contact Info. I'll help in anyway I can.