• Process ADC data, moved by DMA, using CMSIS DSP: what's the right way?

    Andrea Bettati
    Andrea Bettati

    Hi to you all,
    I've a firmware running on a NXP LPCLink2 (LPC4370: 204 Mhz Cortex M4 MCU) board which basically does this:

    • Fills the ADC FIFO @40msps.
    • Copies the data into memory using the built-in DMA Controller and 2 linked buffers.
    • Processes one buffer…
    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Is there a list of direct addressing in assembler ?

    Jerome Decamps - 杜尚杰
    Jerome Decamps - 杜尚杰

    Hello,

    Although I fear already knowing the answer to my question I'm asking anyway who knows may be someone will have a good answer

    Is there a standardized list of addresses corresponding to all GPIO on boards ?

    If so where there find , otherwise what…

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • CMSIS-NN together with CMSIS-DSP

    dhinojosac
    dhinojosac

    Hi everyone,

    I'd like to know if cmsis-nn can be used in conjunction with cmsis-dsp. This is because I need to read biometric signals and then process them using a NN. Or do I have to use two microcontrollers?

    Regards.

    • over 1 year ago
    • Open Source Software and Platforms
    • Machine Learning forum
  • STM32F411RE: cannot use #include math_arm.h for CMSIS

    Nanne118
    Nanne118

    Hello all,

    I am trying to implement DSP on the STM32F411RE Nucleo board, for which I would require the use of the CMSIS library. I am trying to get this to work by setting up the STM32 in CubeMX (setting Clock, HAL, DMA, but most crucially setting the…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • RFFT CMSIS-DSP - Fluctuating index

    SweetPotato
    SweetPotato

    I am using the Cortex M4 with CMSIS 5.4.0 DSP library. I'm using the arm_rfft_f32() function and the max_arm_f32() function to compute the maximum frequency bin of injected pure sine wave with an external CODEC. SSI0 and uDMA are being used to take in…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile forum
  • Fixed-point calculation using CMSIS_library

    MnP_Junho
    MnP_Junho

    Hi.

    I'm a robot engineer and I usually use MCUs such as nrf52832(cortex-M4f) or ST32f407(cortex) to use various sensors. 

    Since those MCUs have an FPU inside, calculating time was quite fast without any burdensome optimizations. 

    The problem is, I have to…

    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile forum
  • HardFault on UART initialize

    Benjamin
    Benjamin

    Hi all!

    I'm facing a problem with my UART on a STM32F207IG under CMSIS.

    When I try to initialize the UART the processor disappears in the HardFault_Handler.

    I think the problem is somehow related to the clock settings which I left untouched until now…

    • Answered
    • over 6 years ago
    • System
    • Embedded forum
  • GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc),

    nataraju
    nataraju

    GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc) , i need a tool chain of ebi like GNU Tools for ARM Embedded Processors (arm-eabi-gcc) , please any suggestions

    need with eabi ....any other tool chain is available?

    • over 6 years ago
    • System
    • Embedded forum
  • GNU Scientific Library vs CMSIS Library Time and Space complexity

    Laxmi Kant Tiwari
    Laxmi Kant Tiwari

    Hello,

             I have been using CMSIS library for implementation of DSP functions in ARM, however, CMSIS have very limited DSP functions. Although GNU has many DSP functions which CMSIS do not, It only have floating point implementation. I am trying…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • Help with CMSIS FIR bandpass filter implementation

    Petter Berntsson
    Petter Berntsson

    Hello,

    I am trying to implement a 60kHz bandpass filter in a STM32F407 microcontroller with the help of the CMSIS DSP Library, and unfortunately I am having a bit of trouble... I am wondering if someone here might know what I might be doing wrong. I've…

    • Answered
    • 10263.zip
    • over 4 years ago
    • System
    • Embedded forum
  • FIR decimator filter

    Petter Berntsson
    Petter Berntsson

    Hello there, I have a question regarding the CMSIS DSP library function arm_fir_decimate_X.

    So for example if I have an ADC which is sampling at 5250 kHz and I want to create a filter using the decimate function, do I have to run the sampled signal through…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • FFT C-File

    Jochen
    Jochen

    Hello everybody,

    im using the Math.h file to do a rfft with 1024 points und q15 datatype.

    So far everything works fine, and I get good results. It needs a computation time of ~720us on my CortexM4 @100Mhz.

    This is very Impressive, but to long for my application…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • How to remove group delay for CMSIS DSP FIR low pass filter function?

    sumit mourya
    sumit mourya

    Hello All,

     

    I'am using  TI MCU TM4C129x  and code composer IDE.

    I've integrated the CMSIS DSP library inside my code and I'am able to apply the low pass filter using arm_fir_f32() function.

    My input signal is the Varying frequency Sine wave…

    • Answered
    • over 3 years ago
    • System
    • Embedded forum
  • CMSIS osThreadFlagsSet() API

    Muhammad1
    Muhammad1

    Hi, 

    I am using CMSIS Free RTOS. 

    I see osThreadFlagsSet() function is  using xTaskNotifyFromISR() and xTaskNotifyAndQueryFromISR()  APIs. I understand their usage. As per my understanding 

    (void)xTaskNotifyAndQueryFromISR (hTask, flags, eSetBits, &rflags, &yield…

    • over 2 years ago
    • System
    • Embedded forum
  • CMSIS DSP Library FIR filter in realtime application

    Mr_M_from_G
    Mr_M_from_G

    Hello,

    I am new to DSP things and I just built my first test project. This is a low pass filter with an order of 31, so 32 coefficients. Also I have an input buffer of 32 values that I designed as a ring buffer. With these I programmed a standard FIR…

    • over 2 years ago
    • System
    • Embedded forum
  • ARM Cortex-M4 (Nuvoton NUC472) not booting with External RAM on EBI Interface

    Ritesh Prajapati
    Ritesh Prajapati

    Hi,

    We are working on ARM Cortex-M4 (Nuvoton NUC472) based SoC as per our requirement.We are facing one critical issue like board is not booting when we enabled and used extrenal RAM on EBI.

    We have ported following BSP package with below toolchain for…

    • over 1 year ago
    • System
    • Embedded forum
  • Are CMSIS drivers for Flash portable on all Cortex M0(vendor independent)?

    MA1993
    MA1993

    I am writing open source easy to use top level Flash drivers which are portable to use on all Cortex M0 devices (vendor independent). So I was thinking of using CMSIS flash drivers as my low level block. So are CMSIS flash driver portable on all Cortex…

    • Answered
    • over 1 year ago
    • System
    • Embedded forum
  • Cortex M7 DSP moving average UMAAL

    Mr_M_from_G
    Mr_M_from_G

    Hello,

    I am looking to do a moving average function using DSP instructions of ARM Cortex M7. Unfortunately I couldn't find a direct example. My goal is to have variables for

    - the sum

    - the new value

    - the oldest value

    Then the algorithm is sum =…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • CMSIS DSP DCT Type IV Functions

    kebab
    kebab

    I am trying to implement the DCT Type IV documented here on a nordic DK but cannot figure out how to use this function. Does anyone have an example of this being used? I am most confused about the state buffer, inline buffer and initialization functions…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • V2M MPS2+: 'ERROR: FPGA did not configure.'

    Riako
    Riako

    Hi all,

    We have purchased an MPS2+ platform, and everything was going well, but since Friday we are facing an error we do not understand.

    When starting the FPGA configuration (by pressing the 'ON' button on the board), leds start blinking (the screen…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • CMSIS IIR filter calculation speed

    MCL
    MCL

    Hello!

    I am trying to implement IIR filter algorithms on an STM32F767. I'm using the CMSIS library for the filter algorithms and they are working as expected.

    However, the execution speed is very low and I'm not sure why this is happening?

    I…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • ST HAL Driver + ST USB Stack middleware failing using GNU GCC

    Xavi
    Xavi

    Dear all,

    I am on the process of switching to GNU GCC for compiling an already working project. Most of the functionality has been tested. There is a failing test though: The USB VCP drivers do not seem to perform good.

    The client side (PC-Windows) is…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • Debug an INVPC exception

    safeg
    safeg

    Hi. I have an INVPC exception that I am trying to debug on a Cortex M4 STM32. The stack contains the following values:

    0x08003555 xPSR
    0x08006824 PC
    0x08006824 LR
    0x00000000 R12
    0x08003341 R3
    0x08006824 R2
    0xFFFFFFFD R2
    0x0000FFFF R0

    The PC and LR both point…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Where to find FIFO library for CMSIS

    Ken Lin
    Ken Lin

    I am using Cortex-M series microcontroller and wrote my own FIFO implementations. Is there any CMSIS libraries that support common data structures like FIFO so i don't have to write my own? Obviously FIFO is not difficult at all to implement but if there…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • RTX5 Inclusion

    Davide991
    Davide991

    Hi everyone!

    i'm trying to add CMSIS-RTX5 in my project.

    Without RTX5 the code run correctly.

    Adding RTX5 the following error appears:

    .\stm32_base.axf: Error: L6200E: Symbol PendSV_Handler multiply defined (by irq_cm4f.o and stm32l4xx_it.o).
    .\stm32_base…

    • over 2 years ago
    • Software Tools
    • Keil forum
<>