Skip to main content
JNewt.1
Visitor II
July 13, 2020
Question

Considering an STM32WB55CEU6 for RF and Camera project. Would like to know if GPIO can be DMA to RAM?

  • July 13, 2020
  • 2 replies
  • 624 views

I am considering using a STM32WB55CEU6 in a project that requires a camera module and 802.15.4 connectivity.

The chosen camera module outputs data using a 8bit parallel interface (HSYNC/VSYNC/PXCLK). The Pixel clock is 6MHz.

  1. Can the STM32WB55CEU6 DMA from GPIO?
  2. Can the STM32WB55CEU6 DMA from GPIO @ at a data rate of 6MBytes/sec?
  3. Can the STM32WB55CEU6 be configure in such a way that the DMA transfers can be synchronised on HSYNC/VSYNC assertions?

An link to app note and code examples would also really help.

Many thanks

John

This topic has been closed for replies.

2 replies

Remi QUINTIN
Technical Moderator
July 31, 2020

DMA can be used for Peripheral-to-memory, memory-to-peripheral, memory-to-memory and peripheral-to peripheral data transfers.

GPIO is not a peripheral as such. So you won’t be able to achieve such 6MBytes/sec transfer using a DMA via a GPIO.

Remi QUINTIN
Technical Moderator
August 3, 2020

Assuming your camera module is having an SPI interface, then you would be able to use a DMA transfer in between your module and the internal SRAM. The effective bit rate you would achieve will directly be linked to the resolution of your camera.

BLE is not meant for high data rate. So the number of frames per second might not match your expectations.