{"id":18438458,"url":"https://github.com/sdima1357/stm32f401cdu6_audio","last_synced_at":"2026-03-06T08:03:31.429Z","repository":{"id":41340218,"uuid":"487342347","full_name":"sdima1357/stm32f401cdu6_Audio","owner":"sdima1357","description":"low noise low cost stm32 usb-audio dac with optional level meter","archived":false,"fork":false,"pushed_at":"2024-12-15T16:10:00.000Z","size":7403,"stargazers_count":76,"open_issues_count":3,"forks_count":14,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-10-08T16:57:34.788Z","etag":null,"topics":["audio","delta-sigma","i2s","i2s-audio","magic-eye","pdm","spdif","stm32","stm32f4","tube-6br5","tube-6e1p","usb-audio","usb-audio-dac","vu-meter"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sdima1357.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T17:39:22.000Z","updated_at":"2025-09-30T17:38:29.000Z","dependencies_parsed_at":"2025-01-03T09:09:53.262Z","dependency_job_id":"54204619-3f03-4a98-b27c-f95e9733aabe","html_url":"https://github.com/sdima1357/stm32f401cdu6_Audio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sdima1357/stm32f401cdu6_Audio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401cdu6_Audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401cdu6_Audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401cdu6_Audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401cdu6_Audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdima1357","download_url":"https://codeload.github.com/sdima1357/stm32f401cdu6_Audio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401cdu6_Audio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30166889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","delta-sigma","i2s","i2s-audio","magic-eye","pdm","spdif","stm32","stm32f4","tube-6br5","tube-6e1p","usb-audio","usb-audio-dac","vu-meter"],"created_at":"2024-11-06T06:19:52.443Z","updated_at":"2026-03-06T08:03:31.380Z","avatar_url":"https://github.com/sdima1357.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#stm32f401cdu6_Audio\n\nstm32 green pill usb sound card\nlast one (press on image for video): \n\n[![Watch the video](https://img.youtube.com/vi/8jB26_xrSuw/maxresdefault.jpg)](https://www.youtube.com/watch?v=8jB26_xrSuw)\n\n[![Watch the video](https://img.youtube.com/vi/KB1A08Pj6nc/maxresdefault.jpg)](https://www.youtube.com/watch?v=KB1A08Pj6nc)\n\n\nhttps://www.youtube.com/watch?v=0MmWp3HdV2A\n\nhttps://www.youtube.com/watch?v=GbiTxVYopDI\n\nhttps://www.youtube.com/watch?v=TnEBuS5ONsY\n\n\n\n\nHigh quality, low noise  DAC based on 2 PWM timer channels with virtual software Sigma Delta ADC between stream from usb and PWM output.\nThere is implemented \"sigma-delta floating point encoder\" workaround of native stm32f401 limit 10.5 bits on 44100 Hz (1904 levels=84MHz/44.1KHz )\nSo, we can have for only  $3 ,very low noise , high sound quality solution, which better then most onboard sound cards !\n\nThere is implemented virtual software second order sigma delta adc for the shift quantization noise to high frequency.\nsee here (it [provide useful links too at the end of document):\n\nhttps://www.analog.com/media/en/training-seminars/tutorials/MT-022.pdf\n\nBut instead one bit ( two levels ) i use more bits (0-MAX_LEVELS) Same technology can be used for esp32 high quality sound rendering.\n\n14.04.2022 :\n\nAdded second order sigma-delta \n\nnumber of LCD from zero to 2\n\nminor bugs fixed\n\noptional external i2s module\n\n\n21.04.2022 :\n-- Change to open drain timer1 PWM outputs( PA8 PA9 ) config for better noise supression.\n\n27.04.2022\n\n-- pll bug fix\n\n-- up pwm freq to 384KHz - significant sound quality improvment \n\n-- add tty output\n\n30.04.2022\n\n-- cheeper!!! green pill (stm32f401cdu6)version. Can buy here ( US $2.63 ) https://www.aliexpress.com/item/4001062944589.html\n\n02.05.2022\n\n-- detected problems with new STM32Cube_FW_F4_V1.27.0 audio driver. please build with \u003c=STM32Cube_FW_F4_V1.26.0 . WIP\n\n26.06.2022\n\n-- add spdif output via i2s data pin\n\n\n\n![image2](https://github.com/sdima1357/stm32f401ccAudioNative/blob/main/images/schematic1.png?raw=true)\n\n\n![image1](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/P1010093.JPG?raw=true)\n\n![image3](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220524_193907.jpg?raw=true)\n\n![image4](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220524_193927_3.jpg?raw=true)\n\n![image5](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220524_193935_3.jpg?raw=true)\n\n![image6](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220524_193944_2.jpg?raw=true)\n\n![image7](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220524_194003_3.jpg?raw=true)\n\n![image8](https://github.com/sdima1357/stm32f401cdu6_Audio/blob/main/images/IMG_20220529_131254_3.jpg?raw=true)\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdima1357%2Fstm32f401cdu6_audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdima1357%2Fstm32f401cdu6_audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdima1357%2Fstm32f401cdu6_audio/lists"}