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 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"
@@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?
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
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.
@@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
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
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&
Hello, Have you tutorial of RTOS? Thanks
My god after 2 hours of searching! Finally something useful! THANK YOU
Glad to hear that!
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?
I have never had such an issue. Are you sure that you added the symbol in the proper place? (paths and symbols, GNU C)
@@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"
Filter coefficients are initialized from double literals and casted to float32_t. Assuming float32_t is float this should give warning
IS IT POSSIBLE TO IMPLEMENT THIS ON MULIPLE ADC CHANNELS? I AM USING FOR SING CHANNED BUT FAIL TO IMPLEMENT ON MULTIPLE ADC CHANNEL..
of course you can. Just create multiple instances
@@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?
Very clear explanation, good job!
thanks!
That filter for what sampling frequency is it designed? what did you put on your clock?
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
Hi, i have board f407discovery. But on stm32cubeIDE no detected st link. How to fix it?
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.
@@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
Then, what do you mean by STM32CubeIde does not detect the st-link? Can you not flush your code to MCU?
Very useful. Thank you!
Glad it was helpful!
Where can i download the code?
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