cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO USE STM32G4 FMAC ?

siungsuestone
Associate

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......

1 ACCEPTED SOLUTION

Accepted Solutions

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.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
KnarfB
Super User

try 

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

hth

KnarfB

siungsuestone
Associate

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

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.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
siungsuestone
Associate

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