Git Product home page Git Product logo

nucleo-f411re_pdm_softwarecicfilter's People

Contributors

y2kblog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nucleo-f411re_pdm_softwarecicfilter's Issues

Preview Result

Hello,

I am Akki and I am doing a similar project to your code. Could you please let me know how you previewed the output data from the ST board. and also, could you please let me know how many source (batteries) are required in the circuit?

CIC filter efficiency

This is not a bug, only information.

I used your CIC filter implementation on the STM32F411 (blackpill) with 100MHz core clock. I was hoping to use it for real time processing of 4,8MHz PDM stream from microphone, to achieve 192kHz 16bit mono PCM (decimation factor 25). But it seems that the procedure is at least 8 times slower than it is needed for real time processing on that MCU.

It is 4800 bits every 1ms for integrate. But whole loop in executeCicFilter for such number of bits takes over 8ms. Processing of one bit of PDM stream takes about 180 cycles of cpu core. For real time it should takes maximum 20 cycles, ignoring the time needed for other activities. Maybe some assembler blocks with dsp instructions would help a bit, but I don't think it's enough to fit it in 20 cycles. Some hardware is needed at least for integration phase, because it works at 4,8MHz.
So it looks like the DFSDM is necessary for real time processing of PDM stream from ultrasonic microphone.

Cheers,
Rafal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.