cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup multiple filters within STM32G4 FMAC?

KCerq.1
Associate II

I'm trying to run a 4-stage dc-dc converter using the NUCLEO-G474 board.

For this, the MCU needs to execute 4 parallel controllers at 200 KHz. I am aware of how to set up a single filter/controller by looking at AN5305 application note, but is there some way of setting the FMAC with 4 filters simultaneously? (assuming those filters have 4 feedforward taps and 3 feedback taps each)

1 ACCEPTED SOLUTION

Accepted Solutions
Igor Cesko
ST Employee

Hi KCerq.1,

The FMAC with 4 filters requirements : those 4 filters should be applied sequentially (not in real parallel). Calculate one filter from buffered data then calculate another filter with another buffered data .... . So - data must be buffered and the computation is 4x slower because we have only one filter. But if the CPU speed is relativaly high and process is slow (which is probably not case of 4x controlled at 200kHz) - this can be applied.

Regards

Igor

View solution in original post

1 REPLY 1
Igor Cesko
ST Employee

Hi KCerq.1,

The FMAC with 4 filters requirements : those 4 filters should be applied sequentially (not in real parallel). Calculate one filter from buffered data then calculate another filter with another buffered data .... . So - data must be buffered and the computation is 4x slower because we have only one filter. But if the CPU speed is relativaly high and process is slow (which is probably not case of 4x controlled at 200kHz) - this can be applied.

Regards

Igor