Skip to content

rushxrushx/stm32f4_usbaudio2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Cheapest STM32 Asynchronous USB Audio2

with external audio master clock

Image pcb

This is uac2 project for stm32 series F205/F405/F207/F407 with builtin OTG-HS can be use.
OTG-HS not come with internal HS PHY, you need USB3300 ULPI PHY chip.
note: This project not working with MS audio driver,Windows need UAC2 driver,eg:Xmos usb stereo driver
stereo driver support up to 32/192k,if you want 32/384,try JLaudio driver(device PID VID must charged). and clock input must increse to 90MHZ/98MHZ because stm32 i2s minium is 256fs ...I dont tried.
I just tried 32/384 data rate is okay.USB Data not lost but i2s with 45/49MHZ clock only run 260khz max...

compiler and IDE: KEIL MDK-ARM 4.74.0.22

v0.1

20231002
inital buggy release

v0.2

20231003
fix: outEp descripter no async
fix: async ep1 data TX to PC,fix missing fb,now fb working.
fix: sample frequency setup(data receive must in EP0Rxready)
add: reset i2s engine when enter playing altset
fix: some var must add 'Voliate'
add: UART log ring buffer system,prevent 'while' when print logs.

v20231008

  • add: cmbacktrace
  • and fixed :hardfault :IsoInincomptete jmp to null
  • clean: uac1 uac2 code

v20231112

  • add: probably missing dma reset before play

thanks to:
uac2 code from https://github.com/coflery/STM32F4_USB_SoundCard
ALITENTEK devboard demo code (and ST demo code)

PCB thanksto: stm32f405+usb3300 DAPlink sch and PCB

About

Cheapest UAC2 using stm32f205+USB3300 PHY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages