GithubHelp home page GithubHelp logo

coltanakaedoc / digitalfilterwithstm32 Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 221.09 MB

Attempt to get a digital filter (HP 25kHz, TP 250kHz) up and running with an STM32L476G-DISCO

License: GNU General Public License v3.0

C 97.22% Assembly 1.54% HTML 0.90% Makefile 0.05% C++ 0.01% Rich Text Format 0.17% CSS 0.11% MATLAB 0.01%
digital-filter iir-filter stm32 stm32f4-discovery

digitalfilterwithstm32's Introduction

DigitalFilterWithSTM32

2021-10-10 Attempt to get a digital filter (HP 25kHz, TP 250kHz) up and running with an STM32L476G-DISCO

Theory/Guide:

https://www.youtube.com/watch?v=QRMe02kzVkA - IIR Filters - Theory and Implementation (STM32) - Phil's Lab

https://micromodeler.com/dsp/ - Online Filter Generator

https://deepbluembedded.com/stm32-dac-tutorial-example-hal-code-analog-signal-genreation/ - DAC (with triggers) tutorial

Order of operation:

  1. Get the ADC up and running with the Board HAL and the HAL documentation
  2. Get the DAC up and ...
  3. Copy a filter with code from the internet and check its behaviour with a spectrum analyzer

Estimated Filter-"Power" IMG_5075

Samling Rate [Msps - Mega samples per secound) 5.44 Msps @ 12 Bits (S.177 https://github.com/ColtanAkaEdoc/DigitalFilterWithSTM32/blob/main/Documents/Datasheet_Chip-stm32l476vg.pdf)

ENOB - Effective nuber of bits - https://www.itwissen.info/ENOB-effective-number-of-bits.html STM32LF76xx -> 10.4 Bits (S.181 https://github.com/ColtanAkaEdoc/DigitalFilterWithSTM32/blob/main/Documents/Datasheet_Chip-stm32l476vg.pdf)

Anti-Alias Filter - Dependent on sample rate (f_s) and ENOB Required attenuation reffered to gain within pass range at f_s: 6dB x ENOB

digitalfilterwithstm32's People

Contributors

coltanakaedoc avatar jake-is-esd-protected avatar julkramer3g avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.