Skip to main content
KHarb.1
Senior
June 19, 2024
Solved

Is STM32G4 FMAC X1 vector\non-circular mode documented\supported?

  • June 19, 2024
  • 2 replies
  • 808 views

I have multiply\accumulate operations that I want to streamline by using the FMAC. For my application I will be loading the X1 buffer by DMA from peripherals and I don’t want to use circular mode. Documentation mentions ‘vector mode’ which matches what I need, but I don’t see documentation anywhere detailing how to make it work this way. Is this really supported?

I'm researching how to improvise by tweaking the R\W pointers, but I'm not sure it is allowed either:

Is there a way to keep the pointers from advancing after setting FIR and START bits?
Can I reset the read pointer to the base address before executing the start commands?

 

Best answer by KHarb.1

After research an no added documentation, it looks like I need to issue a reset command before each operation, which is unfortunate since it adds overhead.

2 replies

KHarb.1
KHarb.1AuthorBest answer
Senior
June 21, 2024

After research an no added documentation, it looks like I need to issue a reset command before each operation, which is unfortunate since it adds overhead.

Associate
December 11, 2025

I'm confronted with a similar problem and would be interested in your findings. What "no added" documentation are you referring to? Can you guide me there or provide a link?