cancel
Showing results for 
Search instead for 
Did you mean: 

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

KHarb.1
Senior

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
KHarb.1
Senior

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.

View solution in original post

1 REPLY 1
KHarb.1
Senior

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.