Skip to main content
KHarb.1
Senior
Jun 19, 2024 10:35 AM UTC
Solved

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

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?

 

KHarb.1
KHarb.1Best answer
Senior
Jun 21, 2024 10:56 PM UTC

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
Jun 21, 2024 10:56 PM UTC

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
Dec 11, 2025 12:29 PM UTC

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?