Skip to main content
DDPS.1
Associate
May 31, 2022
Question

Updating HRTIM registers via Burst DMA doesn't work

  • May 31, 2022
  • 0 replies
  • 468 views

The problem is as follows: When I am trying to update HRTIM master timer registers (MPER, MCMP1-4) on the STM32G474 via Burst DMA access, every data word I write into the BDMADR register gets written into two of the specified master timer registers. So the first data word gets written into MPER and MCMP1, the second into MCMP2 and MCMP3, the third into MCMP4 and whatever has the address after MCMP4 (it's not a master timer register I think), and then it repeats. I have tried manually writing into the BDMADR register, used various DMA data chunk lengths, but to no avail.

Any ideas?

This topic has been closed for replies.