Skip to main content
etheory
Senior
Jan 31, 2024 4:20 AM UTC
Question

Stereo FMAC

Hi ST!

I am writing to ask if any ST MCU's will be released with 2x independent FMAC units?

At the moment, doing stereo audio processing with a single FMAC is problematic (and ST MCU's ONLY have a single FMAC unit), especially being unable to load the buffers automatically for processing (which would allow switching between two different data streams, which currently isn't possible).

Have any other clients asked for such functionality?

Thanks.

This topic has been closed for replies.

4 replies

Senior
Feb 29, 2024 10:50 AM UTC

With only one FMAC, does that mean I can only have one digital switch mode power supply being controlled by the STM32G4 series MCU?

etheory
etheoryAuthor
Senior
Mar 20, 2024 12:34 AM UTC

You have to manually switch between two sets of coefficients manually unfortunately.

It would be better (and faster) to have two separate units for stereo audio, but they don't (because I guess it's built for a single motor controller and not audio).

Senior
Mar 20, 2024 9:18 AM UTC

I just returned from an STM32G474 power supply design workshop and it is very possible to implement more than one DSMPS using a single STM32G474.  Yes, only one FMAC means that only one of the power supplies can use it.  But the other power supplies can be implemented by hand coding what the FMAC is doing in an ADC interrupt handler.  It's not as fast but it is not a problem to support two other DSMPSs running at 200kHz switching frequency.  I highly recommend this workshop: https://www.biricha.com/