STM32 DSP CMSIS library: FIR filter in one line (2022 new method)

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 23

  • @steppeschool3629
    @steppeschool3629  Год назад

    I just want to inform you that the source of the projects, including this one can also be found on my Patreon page: patreon.com/user?u=80399744&Link&

  • @lehuubaothuan8559
    @lehuubaothuan8559 Месяц назад

    Hello, Have you tutorial of RTOS? Thanks

  • @Exarhadsgfds
    @Exarhadsgfds Год назад +3

    My god after 2 hours of searching! Finally something useful! THANK YOU

  • @Junior-lk6gi
    @Junior-lk6gi 6 месяцев назад +1

    After generating the code I Middlewares folder was added. I adding ARM_MATH_CM4 in Symbols (I'm using stm32F446RE NUCLEO) everything looked good. I then type #include "arm_math.h". but when i build projet there are multiple errors in arm_math.h files. some errors are about float type definitions. any tips?

    • @steppeschool3629
      @steppeschool3629  6 месяцев назад

      I have never had such an issue. Are you sure that you added the symbol in the proper place? (paths and symbols, GNU C)

    • @Junior-lk6gi
      @Junior-lk6gi 6 месяцев назад

      @@steppeschool3629 I'm sure. I did successfully included it in the end. turns out in the new versions of CubeIDE you can download DSP library from Pins & Configurations UI and then just write two lines in the includes:
      #define ARM_MATH_CM4 (because I'm using F4 series) and #include "arm_math.h"

  • @danielya8634
    @danielya8634 5 месяцев назад

    Filter coefficients are initialized from double literals and casted to float32_t. Assuming float32_t is float this should give warning

  • @electronic-ebox6403
    @electronic-ebox6403 2 месяца назад

    IS IT POSSIBLE TO IMPLEMENT THIS ON MULIPLE ADC CHANNELS? I AM USING FOR SING CHANNED BUT FAIL TO IMPLEMENT ON MULTIPLE ADC CHANNEL..

    • @steppeschool3629
      @steppeschool3629  2 месяца назад

      of course you can. Just create multiple instances

    • @electronic-ebox6403
      @electronic-ebox6403 2 месяца назад

      @@steppeschool3629 okay. you mean fir_instance[12], fir_in_arm[12] and fir_out_arm[12] is only modification in program for 12 ADCs? or something more nedded? am I correct?

  • @quantum5775
    @quantum5775 Год назад +1

    Very clear explanation, good job!

  • @Alan96555
    @Alan96555 Год назад

    That filter for what sampling frequency is it designed? what did you put on your clock?

    • @steppeschool3629
      @steppeschool3629  Год назад +1

      The filter was designed for a 1 kHz sampling rate. The details can be found in this video:
      ruclips.net/video/9J7NyZ6WKv8/видео.html
      I controlled the sampling rate using the TImer Update Interrupt's frequency:
      ruclips.net/video/KtVFYXtHvWc/видео.html

  • @QuyetHoang-zt5lo
    @QuyetHoang-zt5lo Год назад

    Hi, i have board f407discovery. But on stm32cubeIDE no detected st link. How to fix it?

    • @steppeschool3629
      @steppeschool3629  Год назад

      Hi, there are many reasons why the st-link is not detected. Usually, the boards have several USB connectors, one for the st-link. First, make sure that you connect the right USB socket. Also, the STM32 boards possess jumpers to connect STM32 MCU ST-LINK pins to the corresponding pins of the ST-LINK. Make sure that they are in place.

    • @QuyetHoang-zt5lo
      @QuyetHoang-zt5lo Год назад

      @@steppeschool3629 i plugged in the usb stlink, and on keilC detected and downloaded normally. But not with cubeIde. I also used stlink utinity connect and detect stlink normally

    • @steppeschool3629
      @steppeschool3629  Год назад

      Then, what do you mean by STM32CubeIde does not detect the st-link? Can you not flush your code to MCU?

  • @svetoslavasenov5609
    @svetoslavasenov5609 2 года назад

    Very useful. Thank you!

  • @CarlitosZxsdq
    @CarlitosZxsdq Год назад

    Where can i download the code?

    • @steppeschool3629
      @steppeschool3629  Год назад

      Hi,
      I shared the source code on the community page:
      www.steppeschool.com/products/communities/steppeschool-miscellaneous
      You can also find the source code and additional materials for other projects