Skip to main content
Manu Abraham
Senior
June 8, 2020
Solved

STM32G474 - AN5305 Digital filter implementation with the FMAC

  • June 8, 2020
  • 3 replies
  • 2140 views

Hi All,

Is the source code for the Application Note AN5305 Digital filter implementation with the FMAC using STM32CubeG4 MCU Package available ?

Thanks,

Manu

This topic has been closed for replies.
Best answer by Amel NASRI

Hi @Manu Abraham​ ,

Under STM32Cube_FW_G4_V1.2.0\Projects\B-G474E-DPOW1\Examples\FMAC, you find both required examples:

  • FMAC_Adaptive_FIR_AN5305
  • FMAC_Buck_VoltageMode_HW_AN5305

Besides to the AN5305, the readme.txt file that you can find in each package describes how to use the example.

-Amel

3 replies

Manu Abraham
Senior
June 8, 2020

There is one example within the CubeG4 package by the same AN5305 (FMAC_Adaptive_FIR_AN5305) name in it.

But that one seems to be different from the document that I've been looking at:

https://www.st.com/resource/en/application_note/dm00605584-digital-filter-implementation-with-the-fmac-using-stm32cubeg4-mcu-package-stmicroelectronics.pdf

That document refers to:

This application note explains how to exploit the FMAC to free up the processor, by means of two examples:

• Noise cancellation using an adaptive FIR filter

• Digital power supply control using a 3p3z IIR compensator.

But the one with the CubeG4 package states:

How to use the FMAC peripheral to implement an adaptive FIR filter in DMA mode.

This example illustrates noise cancellation using an adaptive FIR filter.

Assume that the example within the CubeG4 package has been misnamed;

That said, where can I find the source code referred to in the above pdf document ?

Thanks,

Manu

Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
June 9, 2020

Hi @Manu Abraham​ ,

Under STM32Cube_FW_G4_V1.2.0\Projects\B-G474E-DPOW1\Examples\FMAC, you find both required examples:

  • FMAC_Adaptive_FIR_AN5305
  • FMAC_Buck_VoltageMode_HW_AN5305

Besides to the AN5305, the readme.txt file that you can find in each package describes how to use the example.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Manu Abraham
Senior
June 9, 2020

Hi Amel,

Exactly what I was looking for.

Thanks,

Manu