Code Monkey home page Code Monkey logo

stm32f401ccaudionative's Introduction

stm32f401ccAudioNative

stm32 black pill usb sound card last one:

https://www.youtube.com/watch?v=0MmWp3HdV2A

https://www.youtube.com/watch?v=GbiTxVYopDI

https://www.youtube.com/watch?v=TnEBuS5ONsY

High quality, low noise DAC based on 2 PWM timer channels with virtual software Sigma Delta ADC between stream from usb and PWM output. There is implemented "sigma-delta floating point encoder" workaround of native stm32f401 limit 10.5 bits on 44100 Hz (1904 levels=84MHz/44.1KHz ) So, we can have for only $3 ,very low noise , high sound quality solution, which better then most onboard sound cards !

There is implemented virtual software second order sigma delta adc for the shift quantization noise to high frequency. see here (it [provide useful links too at the end of document):

https://www.analog.com/media/en/training-seminars/tutorials/MT-022.pdf

But instead one bit ( two levels ) i use more bits (0-MAX_LEVELS) Same technology can be used for esp32 high quality sound rendering.

14.04.2022 :

Added second order sigma-delta

number of LCD from zero to 2

minor bugs fixed

optional external i2s module

21.04.2022 : -- Change to open drain timer1 PWM outputs( PA8 PA9 ) config for better noise supression.

27.04.2022

-- pll bug fix

-- up pwm freq to 384KHz - significant sound quality improvment

-- add tty output

7.06.2022

-- Merge with cdu6 (spdif,pll,int,lcds)

-- add binary(2 lcd & i2s by default) & makefile into Release -- add ref stm s*1357

image2

stm32f401ccaudionative's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

stm32f401ccaudionative's Issues

Implementing 6 channel audiocard.

Hi, do you think it's possible to implement 6ch usb sound card. I need it more not for audio output but for visual efects. Thanks.

Sigma-delta floating point encoder

Dear sdima1357!
Congratulations on the project! Although I'm not an experienced MCU developer - I've been working on it for about two years - I'll try to adapt it to a NUCLEO-F439ZI board!
I am interested in the theoretical background of the "sigma-delta floating point encoder". How is it different from the ordinary PDM encoder? Could you please give me some links or summarize the essence of the algorithm in a few sentences ? Of course I'm studying the code, but it would be useful to have some hints...
I'm working on a FLAC player that plays files stored on an SD card. I use WM8731 codecs; but I find the PDM solutions very interesting, especially the composite video signal generation!
Thanks in advance!

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.