Skip to main content
Visitor II
December 24, 2025
Solved

HOW TO USE STM32G4 FMAC ?

  • December 24, 2025
  • 3 replies
  • 101 views

this topic is rare,and i cant find a system learning information,can st develeper friends tell us how to use this peripherals, link to ADC DMA......

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello @siungsuestone,

    Seems there is no example as you have described: multiple ADC channel conversions outputted to FMAC. You need to read the AN5305 and start your project your self then if you face any issue you can post that in this forum board.

    Inspire from the example provided in CubeG4 here (FMAC_Adaptive_FIR_AN5305). It is using a bidimensional array as input to FMAC:

    aInputValues[2][ARRAY_SIZE]

    Assume you fill that input with ADC conversions.

     

    3 replies

    Super User
    December 24, 2025

    try 

    AN5305 Application note
    Digital filter implementation with the FMAC using STM32CubeG4 MCU Package

    hth

    KnarfB

    Visitor II
    December 24, 2025

    i have read this PDF file,   but i want some file about ADC multiple entrance tWITH FMAC,and some detall point

    mƎALLEmAnswer
    Technical Moderator
    December 24, 2025

    Hello @siungsuestone,

    Seems there is no example as you have described: multiple ADC channel conversions outputted to FMAC. You need to read the AN5305 and start your project your self then if you face any issue you can post that in this forum board.

    Inspire from the example provided in CubeG4 here (FMAC_Adaptive_FIR_AN5305). It is using a bidimensional array as input to FMAC:

    aInputValues[2][ARRAY_SIZE]

    Assume you fill that input with ADC conversions.

     

    Visitor II
    December 24, 2025

    when decide to triger HAL_FMAC_FilterPreloadCallback ?OutputThreshold or OutputBufferSize or ExpectedCalculatedFilteredDataSize in AN5305 ? thanks a  lot。。。。