{"id":18438457,"url":"https://github.com/sdima1357/stm32f401ccaudionative","last_synced_at":"2025-04-07T21:31:56.113Z","repository":{"id":43770550,"uuid":"479695187","full_name":"sdima1357/stm32f401ccAudioNative","owner":"sdima1357","description":"stm32 black pill usb sound card","archived":false,"fork":false,"pushed_at":"2023-11-12T19:46:40.000Z","size":2329,"stargazers_count":55,"open_issues_count":2,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-23T00:31:52.177Z","etag":null,"topics":["audio","delta-sigma","i2s-audio","magic-eye","pcm5102","pdm","pwm","retro","sound-processing","spdif","spdif-audio","stm32","stm32f4","stm32f401ccu6","usb-audio","usb-devices"],"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}},"created_at":"2022-04-09T10:40:49.000Z","updated_at":"2025-03-12T07:46:47.000Z","dependencies_parsed_at":"2023-01-17T22:15:54.592Z","dependency_job_id":null,"html_url":"https://github.com/sdima1357/stm32f401ccAudioNative","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401ccAudioNative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401ccAudioNative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401ccAudioNative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdima1357%2Fstm32f401ccAudioNative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdima1357","download_url":"https://codeload.github.com/sdima1357/stm32f401ccAudioNative/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247732576,"owners_count":20986888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-audio","magic-eye","pcm5102","pdm","pwm","retro","sound-processing","spdif","spdif-audio","stm32","stm32f4","stm32f401ccu6","usb-audio","usb-devices"],"created_at":"2024-11-06T06:19:52.393Z","updated_at":"2025-04-07T21:31:55.401Z","avatar_url":"https://github.com/sdima1357.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stm32f401ccAudioNative\nstm32 black pill usb sound card\nlast one: \n\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\n7.06.2022\n\n-- Merge with cdu6 (spdif,pll,int,lcds)\n\n-- add binary(2 lcd \u0026 i2s by default) \u0026 makefile into Release\n-- add ref stm s*1357\n\n![image2](https://github.com/sdima1357/stm32f401ccAudioNative/blob/main/images/schematic1.png?raw=true)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdima1357%2Fstm32f401ccaudionative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdima1357%2Fstm32f401ccaudionative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdima1357%2Fstm32f401ccaudionative/lists"}