r/stm32 • • Jan 27 '21

Posting is now public

16 Upvotes

Feel free to post your stm32 questions, creations, and ramblings


r/stm32 • • 1d ago

[Request for Feedback] stm32f4-skel-gcc: An annotated tarter project for bare-metal STM32 with GCC

Thumbnail
github.com
3 Upvotes

r/stm32 • • 1d ago

Pump is not getting ON

Post image
2 Upvotes

r/stm32 • • 1d ago

Where do AI coding skills/agents fall short for hardware/software development work?

1 Upvotes

I am an embedded engineer works on hardware and software, and I've been been exploring Claude for firmware. The generic embedded skills I've found two: jeffallan embedded systems [skills](https://github.com/Jeffallan/claude-skills/tree/main/plugin/skills/embedded-systems) and general inspiration from [voltagent](https://github.com/VoltAgent/awesome-claude-code-subagents) which are decent starting points, but in my opinion, then fall short in a quite many places as project grow. for example:

  1. Hardware-specific details
  2. Debugging
  3. Context cost
  4. Project structure

So I started my own [Plugin](https://github.com/00thirdeye00/Claude-Skills-Embedded), with a shared core plus per-platform pieces (STM32 first), and I'm still unsure about several design choices:

  1. Does splitting by platform make sense, or is one all-in-one skill set easier to maintain?
  2. At what point does a skill set be over-engineered?
  3. How to benchmark a embedded system development specific claude skill?

r/stm32 • • 1d ago

I’ve made a custom DSP platform (with open-source schematics)

Thumbnail
youtu.be
8 Upvotes

Hi everyone,

I’ve made an STM32-based DSP system-on-module for Eurorack synths I called the “audio core”. I used it in our newest module that will be available to preorder soon, and made the schematics public and available for everyone to use on our GitHub! Here’s the link: https://github.com/bartinstruments/open-source


r/stm32 • • 1d ago

Where do AI coding skills/agents fall short for hardware/software development work?

0 Upvotes

I am an embedded engineer works on hardware and software, and I've been been exploring Claude for firmware. The generic embedded skills I've found two: jeffallan embedded systems skills and general inspiration from voltagent which are decent starting points, but in my opinion, then fall short in a quite many places as project grow. for example:

  1. Hardware-specific details
  2. Debugging
  3. Context cost
  4. Project structure

So I started my own Plugin, with a shared core plus per-platform pieces (STM32 first), and I'm still unsure about several design choices:

  1. Does splitting by platform make sense, or is one all-in-one skill set easier to maintain?
  2. At what point does a skill set be over-engineered?
  3. How to benchmark a claude skill specific to embedded system development ?

r/stm32 • • 2d ago

Minimoog-Inspired Polyphonic MIDI Synthesizer | STM32 Tutorial #108

Thumbnail
youtube.com
5 Upvotes

r/stm32 • • 2d ago

Zte h288a

0 Upvotes

I try uart on the h288a but dram but i dont get a shell any help?


r/stm32 • • 3d ago

STM32H523 board centered around CAN FD bus. What modules should I build for it first?

Thumbnail
gallery
51 Upvotes

Renders of a board I've been designing, prototypes arrive next week.

It's built around an STM32H523 and a CAN FD bus. Power and CAN daisy-chain over a 5-pin connector (7–36 V), so add-on modules can just plug in down the line. It also has an onboard DAPLink debugger on its own USB-C, plus a second USB-C on the H5 that works as host or device.

Next I want to build CAN FD modules for it. What would you want first? I'm thinking things like a high-res ADC, a precision DAC, motor controllers, or a bus power/monitor module, but I'm curious what people would actually use.


r/stm32 • • 2d ago

Kaba / Gilgen SLA (PCB 0639-131) - Fujitsu MB96F346ASB Flash dump needed

0 Upvotes

Hello everyone,
I'm currently working on repairing an automatic sliding door controller board from Kaba / Gilgen (Model: SLA, PCB Code: 0639-131).
Unfortunately, the original microcontroller had to be replaced, and due to an unfortunate accident, the old chip was discarded, so I couldn't read its content beforehand. The board is now fully powered (VCC is stable at 4.90V), but the new Fujitsu/Cypress MB96F346ASB (16FX family) is completely blank.
Is there anyone on the forum who might have a flash dump (.hex or .bin) for this specific board/MCU combination? Or perhaps a working dump from a similar Kaba SLA controller?
Any help, advice, or pointer would be hugely appreciated since replacement boards are extremely expensive.
Thank you in advance!
Best regards,
Seb


r/stm32 • • 3d ago

I built an STM32-based real-time flight navigation system with an artificial horizon and integrated map display

5 Upvotes

Hey everyone!

I wanted to share one of my embedded systems projects — a real-time flight navigation system built around the STM32H747 microcontroller.

The idea behind this project is to explore how modern aircraft cockpit instrumentation and navigation interfaces can be implemented on an embedded hardware platform.

Key features:

  • STM32-based embedded architecture
  • Real-time flight instrumentation and artificial horizon visualization
  • Integrated navigation and graphical map display
  • Embedded firmware development
  • Hardware–software integration

The project combines my interests in embedded systems, aerospace engineering, avionics and graphical interface development.

This is currently an experimental prototype, and I'm looking forward to further improving its functionality, performance and graphical interface.

I'd love to hear your thoughts, technical feedback and suggestions for improvement, especially from those working with STM32, embedded graphics or avionics systems.

What features would you add to a system like this?


r/stm32 • • 3d ago

MCUs with NPUs, what would you actually use them for?

Thumbnail reddit.com
3 Upvotes

r/stm32 • • 4d ago

Kaba / Gilgen SLA (PCB 0639-131) - Fujitsu MB96F346ASB Flash dump needed

2 Upvotes

Hello everyone,

I'm currently working on repairing an automatic sliding door controller board from Kaba / Gilgen (Model: SLA, PCB Code: 0639-131).

Unfortunately, the original microcontroller had to be replaced, and due to an unfortunate accident, the old chip was discarded, so I couldn't read its content beforehand. The board is now fully powered (VCC is stable at 4.90V), but the new Fujitsu/Cypress MB96F346ASB (16FX family) is completely blank.

Is there anyone on the forum who might have a flash dump (.hex or .bin) for this specific board/MCU combination? Or perhaps a working dump from a similar Kaba SLA controller?

Any help, advice, or pointer would be hugely appreciated since replacement boards are extremely expensive.

Thank you in advance!

Best regards,

Seb


r/stm32 • • 5d ago

STM32 Secure Bootloader: Relocated Application | Bootloader #3

Thumbnail
youtube.com
5 Upvotes

r/stm32 • • 5d ago

Can you pls give me a guide or road map to study stm32f446re.From where I have to study is there any study material in online .

Thumbnail reddit.com
0 Upvotes

r/stm32 • • 6d ago

New to Embedded & Feeling Lost – What Resources Would You Recommend?

23 Upvotes

Hi everyone!

I’m a CS grad interested in getting into embedded systems.

I studied C and C++ during my degree, though I’m a bit rusty and completely new to the hardware side of things.

I recently bought a few components (STM32 Nucleo board, OLED display, sensors) to eventually build a project, but I’d like to build a solid foundation first.

I’d really appreciate recommendations for learning resources, such as Udemy courses, YouTube channels, online courses, tutorials or websites. If you’ve followed a learning path that worked well for you, I’d love to hear about it!

Thanks in advance!🫶🏻


r/stm32 • • 6d ago

RP2350 vs STM32, ESP32 & Arduino – Real Benchmarks | RP2350 #22

Thumbnail
youtube.com
6 Upvotes

r/stm32 • • 7d ago

Difference between datasheet and CubeMX

2 Upvotes

I am using the STM32U031K8(U6, but it seems to be on the U3 also) and I am trying to create a configuration in CubeMX.
On the page 31 of the datasheet, PA0-CK_IN (pin 6 on UFQFPN32) is shown to have ADC1_IN5 as Additional function. But in CubeMX I can only set that pin to ADC1_IN4 even though it seems to me that ADC1_IN4 doesn't even have a pin on the UFQFPN32 package.
Can someone experienced check this out as it's my first time and it might be just on me?


r/stm32 • • 7d ago

NUCLEO-F411RE ST-Link blinking red, Code 43 on some USB ports, not detected on MacBook Air M4

3 Upvotes

Hi guys, im learning stm32 so i bought F411RE nucleo board. Everything was perfectly fine for a couple weeks but suddenly st-link stopped being detected on my MacBook Air m4.
When i plug it in to the mac the board power on but the LD1 placed on st-link keeps blink red, MB doesnt see any plugged in device.
To plug in i use simple USB C -> USB A adapter, i’ve tired also USB hub but still not working while
other devices works fine plugged in using those adapters ofc.
When i plug it in windows PC it works but not in every USB port, some of USB ports give the same behaviour as MacBook, windows device manager see new device but show code 43 „Windows has stopped this device because it has reported problems”
I’ve measured around 4,95V on the USB 5V and i have already tired brand new cable.

Maybe someone has similar problem and solved it?


r/stm32 • • 7d ago

Emulation and Simulation

Thumbnail reddit.com
1 Upvotes

r/stm32 • • 9d ago

Hybridlink (Open Source ST-Link Emulator) Followup | STM32 Tutorial #107

Thumbnail
youtube.com
12 Upvotes

r/stm32 • • 10d ago

Follow-up: the H757 controller I asked about in June now runs a greenhouse

Thumbnail
gallery
23 Upvotes

In June I asked here if an open H757 controller with plug-in IO modules made sense. I built it. Since August one unit runs my greenhouse: roof vents, a fan, and nutrient dosing for an NFT system. It's still the first prototype, and yes the wiring in the cabinet is a mess.

The board is an STM32H757 with FreeRTOS and lwIP. The M7 does Ethernet, MQTT over TLS and OTA, the M4 does field IO and Modbus. There is 32 MB of SDRAM, 32 MB of SPI flash with LittleFS, and an ATECC608A that holds the TLS private key, with an SE050 on the top version. It has six RS-485 ports, two CAN, eight fast inputs for pulse counting or encoders, microSD, and a backplane for up to 16 modules. Each module has its own H503 and talks plain Modbus RTU. In the greenhouse it started with three: 16 relay outputs, 16 digital inputs and a pH/EC module.

In October I added a second growing system on the same controller, a coco drip line with its own feed tank. That took one more pH/EC module on the backplane, five Modbus sensors on a spare RS-485 port and eight spare terminals. Diagram in the comments.

Two bugs from the field. ST's ethernetif only released TX buffers on BUSY, so lwIP could not retransmit and the link dropped dozens of times a day. An EXTI flag cleared wrong on the M4 side overflowed the RPMsg ring and reset the board.

Firmware source is public, dosing code included. Happy to go into any of it.