Main Content

Supported DSP System Toolbox System Objects with CMSIS Library for ARM Cortex-A Processors

Each DSP System Toolbox™ System object™ that can be used with the Embedded Coder® Support Package for ARM® Cortex®-A Processors requires specific conditions to allow code replacement with the CMSIS Library. You use this code replacement when generating C code from a model or from MATLAB® code. The CMSIS library supports these DSP System objects only when you set specific properties, as indicated in the following table:

Note

The DSP System object implementation causes an error when there is an overflow in the SRAM buffer on the PIL or hardware.

DSP System objectSupported data typesInput/Output specificationsProperty specificationsWrapper calling CMSIS functions
dsp.FIRFilter (DSP System Toolbox)
  • double

  • single

  • fixdt(true,32,31)

  • fixdt(true,16,15)

  • fixdt(true,8,7)

  • Real inputs.

  • Real outputs

  • Input and output must be of the same data type.

  • Input and output and coefficients must be of the same data type.

  • Structure: Direct Form.

For 'Direct Form' Structure:

  • NumeratorSource: Property or Input port.

  • For fixed-point inputs, set the OverflowAction to Saturate.

'Direct Form' structure:

  • mw_arm_fir_f64

  • mw_arm_fir_init_f64

  • mw_arm_fir_f32

  • mw_arm_fir_init_f32

  • mw_arm_fir_init_q31

  • mw_arm_fir_q31

  • mw_arm_fir_init_q15

  • mw_arm_fir_q15

  • mw_arm_fir_init_q7

  • mw_arm_fir_q7

dsp.FIRDecimator (DSP System Toolbox)
  • single

  • fixdt(true,32,31)

  • fixdt(true,16,15)

  • Real inputs.

  • Real outputs

  • Input and output must be of the same data type.

  • Input and output and coefficients must be of the same data type.

  • Structure: Direct Form.

  • AllowArbitraryInputLength: false.

  • CoefficientSource: Property or Input port(s).

  • For fixed-point inputs, set the OverflowAction to Saturate.

'Direct Form' structure:

  • mw_arm_fir_decimate_init_f32

  • mw_arm_fir_decimate_f32

  • mw_arm_fir_decimate_init_q31

  • mw_arm_fir_decimate_q31

  • mw_arm_fir_decimate_init_q15

  • mw_arm_fir_decimate_q15

dsp.SOSFilter (DSP System Toolbox)
  • double

  • single

  • fixdt(true,32,31)

  • fixdt(true,16,15)

  • Real inputs.

  • Real outputs

  • Input and output must be of the same data type.

  • Input and output and coefficients must be of the same data type.

  • Structure: Direct Form I or Direct Form II transposed.

  • CoefficientSource: Property or Input port.

  • HasScaleValues: false after setting CoefficientSource: Input port

  • For fixed-point inputs, set the OverflowAction to Saturate.

Direct Form I Structure:

  • mw_arm_biquad_cascade_df1_init_f64

  • mw_arm_biquad_cascade_df1_f64

  • mw_arm_biquad_cascade_df1_init_f32

  • mw_arm_biquad_cascade_df1_f32

  • mw_arm_biquad_cascade_df1_init_q31

  • mw_arm_biquad_cascade_df1_q31

  • mw_arm_biquad_cascade_df1_init_q15

  • mw_arm_biquad_cascade_df1_q15

Direct Form II Transposed structure:

  • mw_arm_biquad_cascade_df2T_init_f64

  • mw_arm_biquad_cascade_df2T_f64