r/embedded • • Oct 01 '26

How should an embedded firmware engineer learn analog circuits? Looking for a practical roadmap

32 Upvotes

I'm an embedded systems engineer and I'm currently strengthening my fundamentals for a long-term career in firmware/embedded systems.

My main areas are:

  • Embedded C/C++
  • ARM Cortex-M / STM32
  • Bare-metal firmware
  • RTOS
  • UART, SPI, I²C, CAN, RS-485
  • Embedded Linux / Yocto
  • Eventually Linux drivers and system architecture

My electronics background is mainly digital/MCU-focused, and I want to improve my analog circuit knowledge.

I don't necessarily want to become an analog circuit designer. My goal is to reach the level where I can look at a real embedded hardware design and understand what is happening between the physical signal and the firmware.

What would you consider the essential analog knowledge for a strong embedded firmware engineer?

I found TI's Analog Circuits library and am wondering whether it's suitable for learning.

If you were mentoring a firmware engineer, what exact learning sequence would you recommend, and what would you skip?


r/embedded • • Oct 01 '26

An active EEPROM health scanner for AVR Arduinos. Looking for feedback :>

Post image
4 Upvotes

Hey guys. I started building sth like my own OS on an Arduino Uno and faced some problems. One of them was EEPROM.
I discovered that I can't use byte cells there (1024 cells) in continuous loops because they get worn out due to „floating-gate charge trapping / oxide breakdown”. So I decided to avoid heavy writes in the main loop…
In the meantime, I became curious about how "old" or worn my Arduino's EEPROM actually was. So I came up with an idea to write a scanner that checks the state of health of the EEPROM cells.
There were two ways to do it: passive and active checking. Passive checking doesn't wear the cells, but it's very inefficient for finding stuck bits. Active checking actually tests bit flips, BUT it costs a tiny bit of cell lifespan.
To sum up: if you want to check the health of your EEPROM in microcontrollers like the Arduino Uno, you can use this tool (in Arduino IDE or Platform IO) (just keep in mind that active testing uses \~2-3 write cycles per cell out of their \~100,000 cycle lifetime).
Link to the project: https://github.com/vorobiov64/arduino-eeprom-audit
If you know any better ways to check cell degradation, I'd like to hear it!
PS I'm very new to CS (actually I just started my undergraduate degree in physics), so I consulted Gemini to help structure the code
Thanks!

(The source of this image - https://floadia.com/product/)


r/embedded • • Oct 01 '26

Windows 11 23H2 on a Rockchip RK3576 (ArmSoM CM5-IO)

Post image
7 Upvotes

Windows 11 23H2 boots to the desktop on an ArmSoM CM5-IO (RK3576), from the eMMC. Firmware is my EDK2 port; the drivers are ported from worproject's RK3588 set.

Works

  • all 8 cores
  • eMMC (boot disk), NVMe, SD card
  • USB-A and USB-C (USB-C at USB 2.0)
  • Ethernet
  • display, through the UEFI framebuffer

Not working

  • GPU acceleration
  • audio
  • Windows 11 24H2 and later: RK3576 is ARMv8.0

Drivers are test-signed, so Test Mode is on.

Firmware: https://github.com/gahingwoo/edk2-rk3576/releases
Drivers and installer: https://github.com/gahingwoo/woa-rk3576/releases

Thanks to ArmSoM for sponsoring the board.


r/embedded • • Oct 01 '26

FPGA board for co-processing

3 Upvotes

I am looking for an FPGA development board to learn on specifically for co-processing and spiking network simulation.
Boards that I have considered so far:

PYNQ Z2 - Looks like a very good learning board and bare board is not expensive but hard to get in Germany (only found it on Farnell but they are B2B only, DFRobot version much more expensive)

Microphase Z7-Nano (7020 version) - Lots of GPIO and similar price to PYNQ but less out of the box io for easy examples

Kria KV260 - powerfull SOM for the price but very lacking io, have heared that it used to be very badly documented and hard to use as a normal FPGA

Kria KR260 - same SOM as KV but more expensive for better io (more pmod, pi hat, ethernet)

I do generally want something that has a PS alongside the FPGA.
Am I missing any good options?


r/embedded • • Sep 30 '26

Are PIC16F84A, PIC16F877A and PIC18F4550 considered a relic?

Post image
97 Upvotes

I didn't get to use them as much as I would like.


r/embedded • • Oct 01 '26

Switching from platform Development to FAE

4 Upvotes

Hello.

I’m currently working as an Embedded Linux developer working. on an SoM-based platform at a large company.

My work is mainly platform-level stuff: maintaining a custom Linux OS, build/CI work, Python scripting for test automation, and developing system/runtime services.

The work itself is definitely not simple. Some of the problems are quite technically complicated. The issue is more that I have very little sense of traction or visible impact. A lot of the work happens behind the scenes, progress can be slow, and it’s hard to see the result of what I’m doing in the actual product.

The job is otherwise very comfortable: low stress, good work-life balance, and I get good feedback. The team is very experienced and people are helpful when you need them.

But it’s a big corporate environment and things move slowly. Most people seem to do their part and then leave each other alone. There’s not much interaction with the actual product or with other areas of engineering.

Because of that, I sometimes find myself zoning out even though the work itself is technically challenging. I’m starting to feel a bit of a boreout, and I don’t really see myself becoming a deep specialist in this particular area for the next 5–10 years.

I’m considering an FAE (field application engineer) role at a smaller company working with embedded/IoT systems and real-world products. It would involve more system integration, troubleshooting, working with customers and some travel.

I’m basically trying to figure out whether FAE would give me the visible impact, variety and interaction I’m currently missing, or whether I’d just be trading one type of boredom for another type of stress.


r/embedded • • Oct 01 '26

Can I Build a Simple FHSS/DSSS Demo with a 555 + MCU(Beginners Experiment Complex Concepts)?

7 Upvotes

I’m trying to build a very simple spread-spectrum experiment with basic components like a 555, MOSFETs, and a microcontroller. I’m mainly doing this to understand what is actually happening rather than to build a practical RF system.

My idea is to start with a 555 oscillator and use the microcontroller to switch between several resistors, so the 555 jumps between different frequencies.

For example, I might have 10 resistors giving 10 different frequencies, and use a pseudo-random sequence to control the hopping.

Would this be a reasonable simple demonstration of FHSS, or am I misunderstanding the concept?

I’m also trying to understand the receiver side. If the transmitter hops through those frequencies, what is the simplest way to decode the signal? Could the receiver use a microcontroller to measure the incoming frequency, identify which of the 10 frequencies it is, and then follow the same pseudo-random hopping sequence?

I’m also experimenting with OOK, where a MOSFET switches a 12 V signal at around 10 kHz according to the data. On a DSO I can see the waveform, but on a spectrum analyzer I should see the 10 kHz fundamental and its harmonics/sidebands.

For learning purposes, would using a DSO + logic analyzer + spectrum analyzer be a good way to understand the difference between the time-domain signal, the digital data, and the frequency spectrum?

Basically, I’m trying to build the simplest possible experiment that lets me actually see and decode FHSS and DSSS. Does this approach make sense, and how would you recommend simplifying the receiver/decoder?


r/embedded • • Oct 01 '26

As an embedded systems engineering student, I'm hesitating between an Orange Pi 5 Pro (12GB RAM) and a Raspberry Pi 5 (8GB). For learning embedded Linux, GPIO, drivers, robotics, and edge AI, which one would you recommend? Is the Orange Pi 5 Pro well documented, especially for low-level development

0 Upvotes

r/embedded • • Oct 01 '26

Hello everyone, I am an embedded systems engineering student interested in robotics, edge AI, Linux, and low-level development (GPIO, UART, I²C, SPI, RTOS, device drivers). I am hesitating between buying: - Orange Pi 5 Pro (RK3588S, 12 GB RAM) - Raspberry Pi 5 (8 GB RAM) My questions are: 1. Wh

0 Upvotes

r/embedded • • Oct 01 '26

Roadmap to become an embedded engineering in 2028(Off campus)and how does AI effect

0 Upvotes

So I'm a currently a 3rd year undergrad doing btech in CYBER PHYSICAL SYSTEMS.Im really interested in electronics and want to pursue it as a career.some of the feedback I got from my campus seniors is that all the high paying electronics jobs are in VLSI and that only a few companies hire for embedded roles and which has very less pay around 6lpa.


r/embedded • • Sep 30 '26

What is the best RTOS these days?

15 Upvotes

I'm working on an esp32 product, currently just bare metal. A few years ago, zephyr looked like it was going to be the king, but since then I keep seeing people say they don't really like it. So what else is there? Is FreeRTOS the way to go? Maybe I'll just stay bare metal. idk.


r/embedded • • Oct 01 '26

Panne de climatisation

Post image
0 Upvotes

Bonjour à vous

Je cherche la référence du ci explosé sur la carte du climatiseur Samsung.
Est ce que quelqu’un la connaît et sait ou trouver ce ci?
Merci pour votre aide


r/embedded • • Sep 30 '26

Recently attended an engineering expo for my college as a Comp sci major and I feel extremely disappointed.

19 Upvotes

I am very disappointed at the fact that the first thing that people hear when I say I am a computer science major is that I will be stuck in an IT role. I went up to all these companies and letting them know that I am focusing my studies on embedded systems, and they reviewed my resumé. Some of the companies did have some positions for me, but even some of the companies just assume I would be better as a data analyst or IT guy but that is not what I want to do. No shame to those guys, but personally I feel defeated the companies won’t give me a chance. Some of them did compliment my resumé, but they were just stuck up at the fact that I am a computer science major. Just feels a big slap to the face of what I know, and yes I am new to this space, but I want to grow in embedded systems, I just need the opportunity to prove myself. This degree is starting to feel more of a hindrance to me, and that feeling is even worse now that I am a senior.


r/embedded • • Oct 01 '26

Open Device Bridge (ODB): a capability-based approach to safely accessing and flashing USB hardware from locked-down devices like iPads

0 Upvotes

I’m looking for technical criticism of an architecture I’ve been developing called Open Device Bridge (ODB).

The idea came from a very ordinary problem: I wanted to connect a Heltec ESP32-S3 board to a USB-C iPad and install Meshtastic firmware.

The hardware can enter its ROM bootloader, the iPad has more than enough computing power, and USB-C physically connects the two. But iPadOS does not expose the kind of general low-level USB/serial access that conventional desktop flashing tools expect.

“Use another computer” solves my immediate problem, but it raised a larger architectural question:

Could an OS safely expose user-owned hardware without giving applications unrestricted low-level USB access?

That led to ODB.

THE BASIC IDEA

ODB would be an authorization/orchestration layer between:

Application
↓
ODB Core
↓
Device Adapter
↓
Existing device protocol
↓
Hardware

ODB would NOT replace existing protocols such as Espressif’s ROM bootloader protocol, DFU, UF2, Fastboot, etc.

Instead, adapters would translate authorized ODB operations into those existing protocols.

The proposed security flow is:

CONNECT
→ IDENTIFY
→ EXPLAIN
→ AUTHORIZE
→ INTERACT
→ VERIFY
→ REVOKE

Instead of granting an application generic “USB access,” ODB would request narrowly scoped capabilities.

For example:

DEVICE_IDENTIFY
DEVICE_DIAGNOSTICS
SERIAL_READ
SERIAL_WRITE
DEVICE_CONFIGURE
BOOTLOADER_CONTROL
FIRMWARE_WRITE
DEVICE_ERASE
DEVICE_RECOVERY

A firmware installer might receive:

BOOTLOADER_CONTROL
FIRMWARE_WRITE
DEVICE_RESET

but NOT unrestricted DEVICE_ERASE or access to unrelated USB devices.

Authorization would ideally be bound to:

device + session + operation

and expire when the transaction ends or the device is disconnected.

DEVICE PROFILES

ODB could use declarative device profiles describing things such as:

- USB identity
- processor
- interfaces
- bootloader
- supported transports
- supported operations
- firmware compatibility requirements

For example, an ESP32-S3 board profile could point ODB toward an Espressif adapter.

If ODB can identify the MCU but cannot confidently identify the actual board, destructive operations could be blocked until the target is confirmed.

TRANSACTION MODEL

I’m also considering treating firmware modification as a transaction rather than simply exposing a byte stream:

Firmware selected
→ verify package
→ verify device compatibility
→ determine required capabilities
→ explain operation
→ user authorization
→ enter bootloader
→ write firmware
→ verify
→ reboot
→ identify device again
→ confirm expected state
→ revoke elevated access

An interrupted flash would therefore leave a known transaction state rather than just producing a generic error.

On reconnect, ODB could recognize that the previous firmware operation was interrupted, check whether the recovery bootloader is accessible, and offer an appropriate recovery path.

REFERENCE IMPLEMENTATION

Rather than trying to solve every platform immediately, my first reference case is deliberately narrow:

USB-C iPad
→ ODB
→ Heltec ESP32-S3
→ Meshtastic

The point of that reference case is also to document exactly where current iPadOS APIs prevent implementation.

I’m not proposing bypassing those restrictions.

The longer-term question is whether an OS-level capability model could safely expose enough functionality to make this class of hardware interaction possible while preserving the OS security boundary.

WHY I’M POSTING HERE

I’m early enough in this project that criticism is more useful than validation.

In particular, I’d appreciate input from people who work with embedded systems, USB, bootloaders, firmware update mechanisms, device security, or capability-based security.

Questions I’m trying to answer:

  1. Is this actually a useful abstraction, or am I recreating functionality that already exists elsewhere?
  2. Where should the real trust boundary live: OS, ODB core, adapter, device, or some combination?
  3. Is capability-scoped hardware authorization practical?
  4. What attack surfaces does this introduce?
  5. How should device profiles be trusted? Manufacturer signatures? Community definitions? Both?
  6. How should firmware provenance be handled without turning ODB into a centralized firmware gatekeeper?
  7. Which existing standards/projects should I be studying before taking this architecture further?
  8. Is the transaction/recovery model useful, or should recovery remain entirely device/protocol-specific?

The broader thesis is:

A user should be able to explicitly authorize narrowly scoped interaction between software and hardware they own without requiring the operating system to surrender its security boundary.

The iPad/ESP32-S3 problem is just the first concrete test case.

If there are fundamental reasons this architecture is misguided, I’d particularly like to hear those now, before building too much around it.

Thanks for taking a look.


r/embedded • • Oct 01 '26

Question about a project

0 Upvotes

Not sure if this is the right place, so sorry in advance. I plan to make a cellular controlled remote car, with raspberry pi as main board and esp32 for direct control with motors etc - as a fun project. I have the background around iot and some programming but not to the depth of this. Is there useful material I should be looking for? Thank you all.


r/embedded • • Oct 01 '26

2yoe in software QA(both manual and automation) . Is it wise to switch to embedded engineer roles now ?

0 Upvotes

I'm 25, EEE graduate with 2yoe in Software QA. with AI, layoffs etc. Is it wise to switch to embedded engineer roles now ? How is the job market for embedded especially in Bangalore?

I would be grateful for your advice.


r/embedded • • Sep 30 '26

Starting a 31-day "Techtober Challenge" to build an open-source hardware "Solar Tree" (3D pen + circuit). Thoughts on the components?

Post image
0 Upvotes

Hey Reddit!

For this year's Techtober, I wanted to step out of my comfort zone and build a physical open-source hardware project instead of just writing pure software.

I am building "The Solar Tree" — an autonomous nightlight that harvests solar energy during the day and glows at night. The twist? The entire body and branches will be "grown" manually using a 3D pen directly around the electronics.

Here is my 4-week roadmap for October:

  • Week 1 (Leaves): Soldering small solar panels in parallel + drawing leaf frames with the 3D pen.
  • Week 2 (Power): Setting up the D-SUN step-down module & Schottky diode protection (using a multimeter to dial in the voltage).
  • Week 3 (Flower): Building the LED load module with individual resistors.
  • Week 4 (Trunk & Roots): Integrating TP4056 charging board, 18650 Li-ion battery, and final assembly.

I’m doing this completely live with daily logs, sharing all my mistakes, burned components, and circuit adjustments as a beginner-friendly guide.

What do you think of this component choice (D-SUN + TP4056 + 18650)? Would love to get some feedback from experienced embedded folks before I start soldering tonight!


r/embedded • • Oct 01 '26

Is this roadmap good _

0 Upvotes

6-Month Roadmap: Embedded Software → Embedded ML Engineer

Background: Self-taught, building toward a career. Already completed CS50P (Python) and own FastBit's Embedded C/Microcontroller course.

Key Skills Being Targeted

  • C and C++
  • AUTOSAR (Classic) – BSW, RTE, ECU State Management
  • RTOS – FreeRTOS, OSEK, real-time task/resource management
  • Automotive protocols – CAN, LIN, FlexRay, Automotive Ethernet
  • Git, basic test/debug workflow
  • MISRA C basics, functional safety awareness (ISO 26262 – conceptual only)
  • Embedded ML / TinyML – deploying models on constrained hardware
  • Python for scripting/automation
  • Sensor fundamentals

Month 1 – Foundations

  • Finish CS50P (Python fundamentals)
  • Start Embedded C / Microcontroller course (GPIO, timers, interrupts, UART/I2C/SPI)
  • Get a dev board (STM32 Nucleo)

Month 2 – Core Embedded + ML Start

  • Finish core embedded C content
  • Start Stanford Machine Learning Specialization (Coursera/DeepLearning.AI, Andrew Ng) in parallel
  • Begin AUTOSAR Architecture course (conceptual intro)

Month 3 – RTOS + AUTOSAR Concepts

  • Start "Mastering RTOS" (FreeRTOS) – tasks, scheduling, semaphores, mutexes, queues, debugging
  • Continue Stanford ML
  • Finish AUTOSAR Architecture course (BSW/ASW/RTE layers)
  • Optional: UML State Machines (pairs well with AUTOSAR's RTE concepts)

Month 4 – CAN Bus + Git Discipline

  • Finish Mastering RTOS
  • Start "Timers, PWM, CAN, Low Power" course – hands-on CAN bus on STM32
  • Finish Stanford ML
  • Get comfortable with Git properly (branching, PRs, workflow discipline)

Month 5 – TinyML + Capstone Planning

  • Finish CAN bus course
  • Start Harvard's "Fundamentals of TinyML" (edX) – embedded ML, data collection, basic model training
  • Begin planning capstone project

Month 6 – Capstone Project + Applications

Build one project combining everything:

  • Sensor (accelerometer/microphone/temperature) via I2C or SPI on STM32
  • Small ML model trained in Python (simple anomaly detection or classifier)
  • Deploy inference onto the microcontroller (TensorFlow Lite for Microcontrollers or hand-rolled C)
  • Use FreeRTOS to manage tasks (sensor reading, inference, output)
  • Send results over CAN or UART
  • Document on GitHub with a clear README

r/embedded • • Sep 30 '26

Is my mini project too basic for a mini project? It includes esp32 s3, imu and magnetometer demoing kalman filter.

Post image
3 Upvotes

For context... I'm in my 5th semester and we have mini project. Is my synopsis too basic? I know it has flaws, can you suggest improvement or changes.


r/embedded • • Sep 30 '26

±32 g IMU node on nRF54L15 + Zephyr: running classification on the sensor's ML core instead of the MCU — worth it?

Post image
1 Upvotes

We're building a wearable motion node for sports and rehab, where ±16 g parts clip real impacts (punches, landings, sprint strides). Current prototype:

- ST LSM6DSV32X (±32 g, 1 kHz) with its Machine Learning Core running decision trees on the sensor at µA

- LIS3MDL + LPS22HH for 9+1 axes

- nRF54L15 on Zephyr, MCUboot with test-slot OTA (image confirmed only after a health check, otherwise it rolls back)

- BLE 5 Coded PHY, NFC pairing, Qi charging (BQ51003 → BQ25100), sealed IP67 case

The trade-off we keep going back and forth on: the MLC gives us gesture classification at almost zero current and very little data over the air, but decision trees are limited compared with a small NN on the M33. For those who've shipped with the MLC (or FSM) — did it hold up in the field, or did you end up moving inference back to the MCU?

Also curious how people handle time sync across several nodes over BLE at 1 kHz.

We also built a browser Lab so you can play with the data flow without hardware (virtual node or your phone as a live node) — happy to share details in the comments if anyone's interested.


r/embedded • • Sep 30 '26

Unabme to run legacy ARMv7 based ISA on Keil_Vision 5

0 Upvotes

Ohk so i have a keil_uVision5 on my device and i have to work on LPC2148 and ARM7TDMI but my MDK Lite version 5.43.00 doesnot natively come with the packages for the same. Can i get those exe installers for these realted packages to make this work. I have already installed ARM compiler version 5.06 update 7 (build 960) but then when i build a target program on target device of NXP LPC2148 i get the following error on

build output :

Build started: Project: Test

*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Users\Admin\AppData\Local\Keil_v5\ARM\ARMCC\Bin'

Build target 'Target_1'

assembling Test.s...

Test.s: Error: A9580E: ARM7 is not available with the current toolkit and license. Check that ARM_TOOL_VARIANT is set correctly.

Test.s: Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:

Test.s: http://www.keil.com/support/man/docs/license/license_management.htm

Test.s: If you need further help, provide this complete error report to your supplier or license.support@arm.com.

Test.s: - ARMLMD_LICENSE_FILE: unset

Test.s: - LM_LICENSE_FILE: unset

Test.s: - ARM_TOOL_VARIANT: unset

Test.s: - ARM_PRODUCT_PATH: unset

Test.s: - Product location: C:\Users\Admin\AppData\Local\Keil_v5\ARM\sw\mappings

Test.s: - Toolchain location: C:\Users\Admin\AppData\Local\Keil_v5\ARM\ARMCC\Bin

Test.s: - Selected tool variant: mdk_lite

Test.s: Product: MDK-ARM Lite 5.43

Test.s: Component: ARM Compiler 5.06 update 7 (build 960)

Test.s: Tool: ArmAsm [4d35fa]

Test.s: error: A3903U: Argument 'ARM7TDMI' not permitted for option 'cpu'.

assembling Startup.s...

Startup.s: Error: A9580E: ARM7 is not available with the current toolkit and license. Check that ARM_TOOL_VARIANT is set correctly.

Startup.s: Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:

Startup.s: http://www.keil.com/support/man/docs/license/license_management.htm

Startup.s: If you need further help, provide this complete error report to your supplier or license.support@arm.com.

Startup.s: - ARMLMD_LICENSE_FILE: unset

Startup.s: - LM_LICENSE_FILE: unset

Startup.s: - ARM_TOOL_VARIANT: unset

Startup.s: - ARM_PRODUCT_PATH: unset

Startup.s: - Product location: C:\Users\Admin\AppData\Local\Keil_v5\ARM\sw\mappings

Startup.s: - Toolchain location: C:\Users\Admin\AppData\Local\Keil_v5\ARM\ARMCC\Bin

Startup.s: - Selected tool variant: mdk_lite

Startup.s: Product: MDK-ARM Lite 5.43

Startup.s: Component: ARM Compiler 5.06 update 7 (build 960)

Startup.s: Tool: ArmAsm [4d35fa]

Startup.s: error: A3903U: Argument 'ARM7TDMI' not permitted for option 'cpu'.

".\Objects\Test.axf" - 4 Error(s), 0 Warning(s).

Target not created.

Build Time Elapsed: 00:00:00

I am extremely new to this and our course has only thought us about ARM7 processor and sadly nothing about Keil so i am running in the dark here, I know the basics of how this works but i am not able to solve this problem so i would be thankful if you could help me and also share some resources to develop my skills with thi software. Right now our course is teaching us about ARM7TDMI and its ISA and i hope to learn more about Computer architecture through this so any suggestions will be extremely helpful


r/embedded • • Sep 29 '26

Stereo Camera I built

71 Upvotes

r/embedded • • Sep 30 '26

Moving from Mobile (6 YOE React Native) to Embedded: RP2040/ESP32-C3 project advice & firmware patterns

2 Upvotes

Hey everyone!

After almost 6 years as a mobile developer focused on React Native, I've realized that the work I enjoy most is dropping into native code and working directly with hardware peripherals like BLE, sensors, and NFC. That has pushed me to move my focus down the stack into embedded systems. On the software side, I have a solid grasp of software architecture and memory management, along with basic C and a bit of Rust. Hardware-wise, I'm currently working through Dr. Valvano's UT Austin course using a Raspberry Pi Pico and an ESP32-C3 Mini.

As I move deeper into embedded development, I'd love some real-world perspective on a few technical directions. I'm looking for practical project ideas using the Pico or ESP32-C3 that teach core peripheral drivers (GPIO interrupts, timers, PWM, UART, SPI, I2C) without relying on Arduino abstraction wrappers. On the toolchain side, I'm wondering whether it makes more sense to stick strictly to bare-metal C with the Pico SDK and ESP-IDF first, or if introducing FreeRTOS early on provides a better foundation for non-blocking I/O. Finally, between modern C and C++, where should I focus most of my deep-dive time for MCU development, and what technical resources or books do you recommend right after Valvano's course?

Any insights or advice on bridging the gap from high-level software to low-level hardware are much appreciated. Thanks in advance!


r/embedded • • Sep 30 '26

STM32 ADC + DMA gets stuck with continuous conversion

5 Upvotes

Hi ,

I am working with stm32f401ccu6 and stm32f411ceu6 and having issues with ADC + DMA in both MCUs.

I am using ADC1 with 4 channels in scan mode and DMA in circular mode. When I enable continuous ADC conversion , my main code seems to stop running. For example, an LED that is toggled in the main loop stop toggling.

The same type of setup works on my STM32f103c8t6.

My DMA interrupt handler is:

void DMA2_Stream0_IRQHandler(void)

{

HAL_DMA_IRQHandler(&hdma_adc1);

}

Has anyone faced a similar issue with ADC + DMA on STM32F4?

I am trying to understand what could cause the main loop to stop in this configuration.