Skip to main content
JLee.46
Associate II
October 19, 2021
Solved

Using TIM3 in STM32H753 to trigger BDMA

  • October 19, 2021
  • 2 replies
  • 1102 views

Hi,

I'm trying to generate a serial data pattern in STM32H753 for WS2812B LED chip. I did it before with STM32F2, as the TIM, GPIO & DMA2 are within the same data bus matrix, i'm able to use TIM module events as a trigger event for DMA, and start moving data from RAM to GPIO.

In STM32H753, TIM modules are inside D2 domain, GPIOs are within D3 domain, if i gonna move data to GPIOs, data must be in SRAM4 and handled by BDMA.

Is it possible to use TIM module in D2 domain to trigger BDMA, that i can move data from SRAM4 to GPIO for generating the serial data pattern?

Many thanks

This topic has been closed for replies.
Best answer by JLee.46

Thanks for the reply.

I think i misunderstood the architecture, i could use DMA1/2 to access GPIO in domain D3. I thought DMA1/2 in D2 domain couldn't access peripherals in D3 domain.

Its now working and i could use TIM8 to trigger DMA & move data to GPIOE.

2 replies

Georgy Moshkin
Senior
October 19, 2021

Have you tried it already? If it does not work ensure that HAL generated BDMA initialization is before TIM/GPIO peripheral initialization.

Check my STM32 Bootloader - flash your STM32 with AES-encrypted binaries right from web browser!
JLee.46
JLee.46AuthorBest answer
Associate II
October 20, 2021

Thanks for the reply.

I think i misunderstood the architecture, i could use DMA1/2 to access GPIO in domain D3. I thought DMA1/2 in D2 domain couldn't access peripherals in D3 domain.

Its now working and i could use TIM8 to trigger DMA & move data to GPIOE.