In my last blog, I described my USB Audio Class 2 implementation. I was wondering if this functionality can also be used for STM32 micocontrollers.

Since the solution relies on the Adafruit_TinyUSB_Arduino library, I was running into the issue that there is only a preliminary support for STM32-F4 micocontrollers. I decided to exend the support for the STM32-F7 and  STM32-H7.

You just need to install corresponding stm32 branch from my fork e.g  with

cd ~/Documents/Arduino/libraries   
git clone -b stm32 https://github.com/pschatzmann/Adafruit_TinyUSB_Arduino.git    `

In the ArduinoTools menu, make sure the USB Support setting is set to None to avoid conflicts with the STM32 USB implementation.

So far I have only tested the solution with a DevEBox STM32H7XX microcontroller. You can help me by running tests on further variants and let me know about the working variants and/or issues.

Here is a link to my further STM32 related blogs

 


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *