2026-02-16 6:36 AM
Heyho,
I'm not a SW / DSP guy, but I have to help selecting a new MCU.
Mostly we need gigabit ethernet, SAIs / I2S for audio input.
But for some future applications we might need some DSP power for online audio processing, some heavy filtering and FFT stuff.
I wonder if the N6 's NPU can help with that. In all the documentation / ads I mostly see graphics applications.
Solved! Go to Solution.
2026-02-19 6:17 AM
It is exactly made for audio processing (among other things), see the documentation here, FFT and FIR are supported.
2026-02-17 12:46 AM
Hello,
The N6 has Helium vector acceleration which can be used for the DSP processing.
2026-02-19 5:19 AM
This does not seem to help with typical audio processing, using FIR filters, FFT, ... - or so it seems to me.
Made rather for 2D graphics stuff.
2026-02-19 6:17 AM
It is exactly made for audio processing (among other things), see the documentation here, FFT and FIR are supported.
2026-02-24 1:04 PM
Hi @LCE,
Just like AI, DSP functions are linear combination of input data. Or I should better say that AI is like DSP but much larger. FIR is a single artifical neuron without activation function. FFT is one layer of perceptron. So an AI accelerator may easily be used for DSP. If you search Keras of Tensorflow you will quickly find there DSP functions that probably may be directly imported to STM32N6 project as CubeMX supports both Keras and TFlite.
Helium may also be used, but it is relatively week in compare to AI. AI accelerator in STM32N6 contains 4 convolutional accelerators with 18 16*16 MACs each which gives incredible for DSP 72 MACs per clock. That means for example that it could calculate a 63-tap FIR each clock. I am sure that it will be enough not only for audio but for at least some of SDR applications.
But before you choose it I would recomment to create a CubeMX project, load models you need there and at least validate them. Even better will be to buy a kit and test it in hardware.
With best regards,
Dmitry
2026-02-24 11:17 PM
Thanks to all so far!
In CubeMX I found out that 1 pin is shared between SAI (data in) and ETH (clock) - and I need both.
So for now that rules out the N6...
Maybe I'll come back later to the N6 and work around that using I2S and some terrible PCB routing...
2026-02-24 11:36 PM
Hello @LCE ,
Please accept as solution if your question has been answered.
For SAI/ETH shared pin, you've already posted that question here.
Thank you
2026-02-24 11:41 PM
There are multiple SAI peripherals available, are you sure that there is a pin conflict?
2026-02-25 12:43 AM
Hi @LCE ,
If you really need GMAC then your choice of MCU will be very limited, so you should be more flexible. But what do you need such a speed for? 8-channel audio even sampled at 192kSPS/24bit will result in 40Mbps only.
Regards,
Dmitry
2026-02-25 1:06 AM
Yes, checked datasheet & MX.
https://community.st.com/t5/stm32-mcus-products/n6-other-packages-in-near-future/td-p/880661