Phil Schatzmann

  • Blogs
    • Arduino
    • Machine Sound
    • Text To Speech
    • Data Science
    • Machine Learning
    • Quantitative Trading
    • EDGAR
    • 3D Printing
    • Infrastructure
    • Other Topics
  • Projects
    • Arduino Audio Tools
    • Investor
    • Smart EDGAR
    • OpenSCAD Kernel
    • News Digest
  • Subscribe

STM32

Arduino

USB Audio Class 2 for STM32 Arduino

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 Read more

By pschatzmann, 5 days4. July 2026 ago
Arduino

Testing I2S on a STM32H7

In my last blogs, I introduced you to the powerfull STM32H743VIT6 microcontroller and demonstrated the analog and PWM audio output using the Arduino Audio Tools library. I finally managed to extend the stm32-i2s library and so it the time now that I can demonstrate that we can also use I2s Read more

By pschatzmann, 2 years13. August 2024 ago
Arduino

Testing the Audio PWM output on a STM32H7

In my last blog, I described the analog audio output using the Arduino Audio Tools library: The STM32H743VIT6 microcontroller is quite powerful but we only have max 2 DAC pins available! This restriction falls when we use PWM: We use a PWM frequency above the hearing range (30khz) and modulate Read more

By pschatzmann, 2 years6. August 2024 ago
Arduino

Analog Audio Output on an STM32H7

In my last post, I have introduced you to the powerful STM32H743VIT6 microcontroller. Now it is time to test some audio output. I don’t have any special implementation for the output of analog audio for the STM32H7, but I decided to try to use my generic implementation that is part Read more

By pschatzmann, 2 years30. July 2024 ago
Arduino

The Power of STM32H7 Microcontrollers

There are different cheap but powerful Chinese development boards with different STM32H7 chips from DevEBox and WeAct. STM32H750VBT6 – 128K flash STM32H743VIT6 – 2048K flash I recommend to use the STM32H743VIT6 with the 2MB of flash memory. Please note that this is still only half of what you get with Read more

By pschatzmann, 2 years25. July 2024 ago
Arduino

STM32F411 Discovery Kit and Arduino: Investigating the I2S Library Quality Issue

In my last post I have complained that my sine wave test sketch was producing just noise. So I am trying now to investigate where the issue is coming from. Using Basic APIs So first, I try an Arduino Sketch which is just using the low level API of my Read more

By pschatzmann, 2 years17. February 2024 ago
Arduino

STM32F411 Discovery Kit and Arduino: The I2S Library

In my last post, I was describing that I started to work on adding I2S audio support to the STM32F411 Discovery Board. I finally have my Arduino I2S library that supports the STM32F411 Blackpill and Disovery Board ready. I was completely redesigning the old, mostly generated C library into some Read more

By pschatzmann, 2 years15. February 2024 ago
Arduino

STM32F411 Discovery Kit and Arduino: Setting up the Audio Chip

Quite some time ago, I started to look into the STM32F411 Discovery Kit with Arduino. Unfortunatly the audio codec i2c address was not showing up in the port scan. I found out that the chip needs to be activated with setPinMode(PD4, OUTPUT); digitalWrite(PD4, HIGH); One of the reasons why I Read more

By pschatzmann, 2 years11. February 2024 ago
Arduino

Getting Started with the STM32F411 Discovery Kit and Arduino

I started to explore the STM32F411 Discovery Kit which comes with the following features: STM32F411VE ArmĀ®(a)-based microcontroller featuring 512 Kbytes of Flash memoryand 128 Kbytes of RAM A (blue) user push-button ST MEMS 3-axis digital gyroscope (L3GD20 or I3G4250D) ST MEMS 3D digital linear accelerometer and magnetic sensor (LSM303DLHC or Read more

By pschatzmann, 3 years27. January 2023 ago
Arduino

Arduino STM32 – Fast PWM Audio Output

I was measuring the speed of the analogWrite() on an STM32 Black Pill on some PWM pins and I was getting a result of around 48697 samples per second. This is enough for one line of hifi data: but I wanted to provide at least 4 channels! This is not Read more

By pschatzmann, 4 years3. October 2022 ago

Posts pagination

1 2 Next
Phil Schatzmann
Rue du Biais 24 B
1957 Ardon
Switzerland

phil.schatzmann@gmail.com

Categories
3D 3D Printed Planes 3D Printing Arduino Data Science EDGAR Infrastructure LogicAnalyzer Machine Learning Machine Sound News Digest OpenSCAD Kernel Other Topics Pico Projects Quantitative Trading RC Text To Speech
RSS RSS
  • USB Audio Class 2 for STM32 Arduino
  • USB Audio Class 2.0 for Arduino

Hestia | Developed by ThemeIsle