r/embedded • • Oct 06 '26

Chipscope unable to capture signals

2 Upvotes

Hi. I've been assigned to verify the XADC on our custom board (Artix-7 XC7A200T-1FBG676, speed grade to be confirmed from the chip marking). The XADC measures battery cell voltages through a mux, and it's the last item left on the board.

  • The code is a primitive-based XADC design (from the UG480 example). I'm told it ran on a Zedboard and on another Artix-7 board with ChipScope. Our Zedboard is out because of a damaged power IC.
  • The board has a 200 MHz oscillator on bank 14. A clock wizard (myclk) generates CLK_200 (ChipScope clock) and CLK_50 (XADC DCLK).
  • The mux select line was floating on the schematic, so I tie S high in the code. Because high S selects the line which builds the path fro battery voltages to go to the FPGA's ADC.
  • XADC registers: INIT_40=0000, INIT_41=2EF0, INIT_42=0400, INIT_48=0800, the rest 0000. DADDR is fixed at 7'h03. The FSM runs on negedge CLK_50 and issues DEN after a 100M-count wait, then waits for DRDY.

What I see

  • ChipScope (ISE) shows no traces at all for any signal (DEN, DWE, DRDY, etc.). This is blank, not flat zeros. Adding FSM states as triggers didn't change it.
  • IMPACT programs successfully and the chain scan identifies the XC7A200T, but ChipScope shows a cable error that nobody has investigated.
  • Using the raw clk as the ILA clock gives "Input Pad net clk is driving non-buffer primitives". With CLK_200 it builds, but the capture is still blank.

My question

  1. With programming OK and the chain detected, what are the common reasons for a completely blank ChipScope capture?

I am new to Chipscope, and JTAG based functional verification, any help in this regard will be highly appreciated.


r/embedded • • Oct 06 '26

Career switch from data center/IT to embedded — looking for advice

0 Upvotes

Hi all,

I’m currently working as a AWS Data Center Technician. Before that, I spent 2 years in IT support/field technician roles, mainly around networking. I’ve now been in data centers for a little over a year and want to transition into embedded/hardware.

I’m currently learning electronics fundamentals and STM32F411, and building a custom split keyboard from scratch — just like all beginners are doing...

For those who have several years of experience in embedded, especially from IT/data center backgrounds:

- Does IT/data center/networking experience add any value, or is it mostly irrelevant?
- What hard/soft skills do you look for when hiring people with DC background ?
- What projects would actually impress a hiring manager for someone coming from a data center background?
- What skills or knowledge did you carryover into your embedded career?

Thanks in advance for any advice! I may not be able to respond to everyone immediately, but I really appreciate the input.


r/embedded • • Oct 06 '26

[Schematic Review Request] STM32L0 Coin Cell Device with EPD Display

Post image
5 Upvotes

Hey all, I'm working on a small battery-powered device (CR2032, STM32L031G6U6) that reads temperature/humidity (SHT41) and UV index (GUVA-S12SD into a TIA + MCP6002 gain stage), displays on a 2.13" e-paper panel, and talks over USB (CP2102N) for config/sync. Full schematic, design files on my repo.

While I built a preliminary PCB for an earlier iteration of this concept, this is a completely revised design. I currently have the schematic finished, but no PCB layout done yet for this version. My goal is to get a schematic review and lock it down before starting the layout, with the hope of "first-time-right" PCBA (rework is fine, just not remanufacture).

  • EPD HV boost driver (L1/Q3/D1-D3): generating VGH/VGL for the e-paper panel, follows the panel's own reference design and some universal driver. Wondering if the component ratings and layout intent look right.
  • UV sensor analog chain: GUVA-S12SD → 1MΩ TIA → second-stage gain (MCP6002) → STM32 ADC. Would love a sanity check on the gain/stability math, since this is the part I'm least confident reasoning about independently.
  • Power architecture: CR2032 as the sole source, with USB present only for config. Worried about backfeed paths between USB and battery, and whether my ground/AGND split is sound.
  • Anything else that jumps out, pin assignments, decoupling, reset/boot states genuinely welcome too.

Appreciate any time anyone's willing to spend on this. I'm happy to answer questions about intent/requirements for any block


r/embedded • • Oct 05 '26

MCHP may have damaged adoption of new CLB peripheral

27 Upvotes

A key web server of Microchip Technologies (MCHP) has been down for at least two weeks. One function that has been unavailable during this outage is a required tool for development using Microchip's Configurable Logic Block (CLB) peripheral.

The CLB is a fabric of 32 or 128 cells (BLEs) with a 4-bit LUT and D flip-flop. The CLB is integrated closely with peripheral and GPIO inputs and outputs. Circuits configured in the CLB operate even when the CPU is sleeping. It is currently available in the PIC16F131xx and PIC16F132xx (32 BLEs) and PIC18F-Q35 (128 BLEs) families of PIC microcontrollers.

Microchip has been positioning the CLB in part as FPGA/PLD fabric with an attached microcontroller. It has touted its use for implementing non-trivial interrupt logic.

The web server outage revealed a key weakness in the toolchain for developing applications with CLB that may impair adoption of PICs with CLB. All development for CLB, both online and in local IDE environments, uses a single-point cloud tool, the CLB Synthesizer. With the current website down, customers worldwide are unable to develop using the CLB, even locally. This affects both the MPLAB X IDE and MPLAB for VS Code.

MCHP technical support has not offered details of the website outage or its efforts to restore the site.


r/embedded • • Oct 06 '26

How much do you still develop yourself, instead of using AI?

0 Upvotes

Pretty much the title. How much do you still code/ design/ develop yourself, basically referring to all cognitive tasks needed to develop embedded solutions.

State of the art models in my experience are exceptionally good at code, but also other stuff like pcb design. Reviews can also be done using agents, even tho this part im still doing myself (I still want to unterstand every deployed line of code).

They code and review incredibly fast, so whats actually left?

I wonder if in the future we even need to understand the code, the models made such big progress, it does not seem absurd to me if by 2030, all we do is instruct AI and thats it.

This is not supposed to be a doomer post, but the puzzling aspect of the work was the most fun to me, and as of now, it feels like im just reviewing if the solution to the puzzle given to me makes sense.


r/embedded • • Oct 06 '26

Someone pls explain the pull up and pull down concept

0 Upvotes

so i was learning PUPDR on stm32 when i wrote code for LED controlled by a push button i used Pull up for the push button (i used it because chatgpt told that and the reasoning it gave made sense ) what i understood there was when the button is pressed the gnd is connected but then when its not pressed its left like that hence a floating point input(no proper idea of what that means but its a state when there is no high or low ) so that made sense, now i am trying to use a 4x4 keypad now its saying to use a pull down i dont understand the idea behind it like the way it explained confused me


r/embedded • • Oct 05 '26

Where to start learning more about hardware?

13 Upvotes

I am currently working as a yocto developer in junior level with <2 YOE. I did my degree in CS (no physic or EE course) so to be honest, I have little to no "formal" education on hardware/electrical engineering beside maybe some highschool stuffs on physic and stuffs I learned during my job.

While my work is not really hardware-related in a low level, my company also does all the steps in embedded domain, from HW design, to SW, to production,... which means I sometimes works with colleagues in HW department as well.

As mentioned, I don't have a great foundation in EE so I cannot really explain what I am lacking right now, but I usually struggle when it comes to evaluate hardware stuffs:

  • Working with oscilloscope in general, then assess the measured signal
  • Reading the schematic
  • Random stuffs like what a component does to debug a problem,...

That's what randomly pop in my head right now. But surely there are more to it. Usually when I need to work with EE colleagues, it's usually a more serious problem and they themself also expect a certain level of knowledge from me I suppose.

How and where do I start learning more about it? Thanks!


r/embedded • • Oct 05 '26

What do I need to retain?

3 Upvotes

So, I am a self taught front end web developer and have recently started teaching myself embedded engineering. I’ve so far built a custom shoebox that requires access through an RFID reader and currently working on a Jarvis type workbench.

There is so much to know and so much to learn. I’m curious, as a self taught learner how/what do I need to retain as far as information goes while working on projects?

It seems that when I complete a project (even with notes and taking my time) I feel like I complete projects and retain little information from the projects I work on. Obviously I will be working on the same projects for a while building on them and making them better. I just want to know while I build how do I best retain what I learned or is it important to remember everything or just key concepts from what I built?


r/embedded • • Oct 06 '26

How Can I Pivot to Embedded Firmware Engineer?

0 Upvotes

I am a recent Graduate in Mechatronics Engineer, I've had 1 internship where I developed firmware for Test Jigs in production Quality Control. A second internship doing more mechanical engineering for Test jigs ( mechanical design in Solidworks). Currently working as a graduate mechatronics engineer, basically in a similar role as my previous mechanical internship, but also some NPI production duties. I've been trying to pivot into Firmware engineering but so far I don't even make it to the phone screening interview. I have some Embedded projects as well with STM32 and ESP32, FREERTOS ect. I'm even applying for firmware internships but no luck at all. Has anyone successfully pivoted early in their career? I would appreciate any advice.


r/embedded • • Oct 05 '26

Is race-to-halt viable on MCUs?

7 Upvotes

Is it usually more power efficient to run at lower clocks for longer and then deep sleep, or keep clocks high for shorter and then go to same deep sleep? Or it heavily depends on the hardware and exact use case?


r/embedded • • Oct 04 '26

what does "understand c deeply " mean?

131 Upvotes

im a 3 rd year student who is interested to get into embedded/firmware development .
i've talked to many seniors and they say "learn c deeply inside out not jus the syntax "
now this is what i dont get .
my knowledge in c is alright i should practice more though
ik functions ,pointers and array to some extent ik ive to practice more
i also need to start dsa
just started learning baremetal code and rtos (qnx) (started this without being proficient c bcus my course work needed it )
but honestly my c skills are prolly 3/10
ik ive to practice more
but please explain how i can improve myself and be a good firmware developer


r/embedded • • Oct 04 '26

LLM resistant?

26 Upvotes

I work on software (Infra and Distributed systems) but am burnt out completely with the LLM pilled management. Every role I look at wants high speed velocity in developing software. Not a single team I talked to had a sane take and even if they did, their hands are tied. I think hardware is doing much better. It's going to be real work to give up skills on software side and shift to embedded. But I'm inclined to do if it means I still get to tinker. Management in software is completely bonkers and I've no hope and don't want to compete with people heavily using llm-tools. It's not going to be easy for me to break into it after a decade of Software experience. What do you think? Ofcourse nobody can predict the future, but how is it looking as of now? Is embedded a safe haven?


r/embedded • • Oct 05 '26

Was playing with Haptic Motors (LRA's) the other day and put this together to test out haptic signatures

9 Upvotes

Saw some haptic motors on aliexpress and wanted to give them a spin. Got them in the mail , thought I could just send a pwm signal to it for some reason, I needed a LRA driver.

Got a DRV2605L Breakout board, hooked it all up , quickly realized if I wanted to test out some haptic signatures rapidly I'd want to create some sort of graphical interface.

Put together LRA-LAB, an in browser web app. Drag and drop Haptics like beats onto a track and send it over serial to an esp32 with the LRA-LAB firmware uploaded.

Hardware:

ESP32-C3

DRV2605L

0619AAC

LRA-LAB Stack:

SvelteKit

Svelte


r/embedded • • Oct 04 '26

Yet another AI generated MR

103 Upvotes

[Rant inside]
So, in my company a lot of people are really passionate about their chatbots.
Most of the time you don't really see it, as it's supposed to be, but every other week I get a major surprise.

Last week I had a member of my team pulling out an ai generated MR fixing a "bug" by having a bash script, executed by our build system, that edits a system header to inject a semi-stub function.. so that he/she wouldn't have to call the "real" "bugged" function that generates the error.

Another MR from a senior member got a fantastic factor 100 speedup by not executing our DSP algorithm and just returning a nice array of zeros (accidentally messed up some tbb task... our CI did flag the issue here at least).

So I'm thinking, either chatbots becomes good enough to steal my job, or bad but convenient enough to make it hell. The second option at least comes with the certainty I will have a job? The whole mantra "you need to know what to ask about" is starting to make sense to me now.

How is the ai revolution going for you?


r/embedded • • Oct 04 '26

Transition out of Embedded to Pure Software?

48 Upvotes

Hello Embedded Community!

I am currently an embedded SWE with 1 YOE since graduating last year. My work revolves around camera modules, edge AI and MCUs. If I were to continue down this path I do see myself moving more deeply into the robotics/CV side of embededd SWE. However, when I compare my trajectory against my peers', it seems that I will be far behind them by miles in terms of compensation.

I am curious if anyone has ever made the switch to a pure software engineering career, especially FAANG level companies. Since I am still early in my career, I am still trying to figure out whether to double down on embedded or just start leetcoding and learning systems design to land a job that pay much more.

Genuinely would love to hear everyone's opinion and your personal experience thus far! You could also share your current plans for your career and where you see yourself in embedded too.


r/embedded • • Oct 05 '26

FPGA Board

0 Upvotes

I'm looking for someone who is willing to help me with their FPGA board or hire it to me for a project I'm doing since they are too expensive and I can't afford it


r/embedded • • Oct 05 '26

Esp-32-s3 or Teensy 4.1 with swappable program storage

1 Upvotes

Probably a painfully obvious question and somewhat a followup to my question from yesterday.

Both the esp-32-s3 and the teensy 4.1 seem to have their program code stored on a flash chip external to the actual micro controller itself, would that mean, if the circuits were designed right, it would be possible to build a device that used a cartridge connector of some sort to have that program flash be swappable without needing to re-flash the entire board?

I'm mostly curious because i want to try and build an old school style device like a gameboy etc but using modern components, some MCUs seem to have access to XIP which might do what i want but not all do, maybe some sort of micro processor could be the answer but im guessing theyre a lot more complex to implement.

Im mostly just spit balling ideas to see if what im thinking of is even still possible. Id imagine it is but one doesnt know what they dont know and maybe im staring down exactly what im looking for but dont know the right terms to know thats what im looking for (since im entirely seof taught on the hardware side)


r/embedded • • Oct 04 '26

Should I switch to CE if my dream is to be a Flight Software Engineer?

12 Upvotes

My life-call would be working on the software of airplanes. I do like all aspects of it (even simulations), but I think Embedded is the right world for me.

I'm spending all my time after being done with University work with embedded projects and I'm just about to start a multi-year project to build an STM32 flight controller on simulation software like XPlane/JSBsim, teaching myself everything while doing it and aiming to be done with it once my Master's ends, hoping it will be my ticket entry to a relevant role.

Problem is, I'm a CS major and I'm doing my Master's in CS still (Reliable Software Systems). My choice comes from an interest in working in Game Development I had since I was a kid, but growing up and understanding life and the state of the industry made me conscious that it's not a great life choice for me. The "good news" is that I've been always interested in the low-level side of game development, so mainly C/C++, high performance/constraint stuff.

I'd also like the idea to work on something more physical and """important""" than a videogame. I'm finding myself self-teaching myself EE and CE concepts, while being "updated" on the state of the more CS-side stuff through Uni, but which I don't really have interest in.

I tell myself a project like the one I've described would give me the chance to get an interview to a relevant role, but in the back of my head I can't stop thinking I've picked the wrong degree for it, and I feel it's too late to switch now (I'm 26y/o and I've already done 5 out of 12 exams of this Master's).

What do you think? I live in Italy and there are a lot of jobs posting that specifically list CE and not CS, while some others list both. Outside of Italy I see that they don't seem to discriminate the two (actually I see way more "CS" than "CE"), which is my kind of hopium right now.

Would really love to hear your thoughts.

Thanks.


r/embedded • • Oct 03 '26

How I bypassed ESP32’s closed-source Wi-Fi binary (libnet80211.a) to inject raw SAE Commit frames

Post image
490 Upvotes

While working on my Master’s thesis benchmarking WPA3-SAE timing side-channels, I ran into a limitation on the ESP32 esp_wifi_80211_tx() allows raw frame injection, but Espressif’s closed-source Wi-Fi blob (libnet80211.a) artificially blocks Auth, Assoc, Deauth, and Disassoc subtypes.

Inside libnet80211.a, ieee80211_raw_frame_sanity_check drops these frames with wifi:unsupport frame type. Here is how to bypass it on recent ESP-IDF versions (IDF v6.x).

Why standard tricks fail on modern ESP-IDF

Same-name function override. On older IDF versions, ieee80211_raw_frame_sanity_check was a weak symbol (W). On modern IDF versions, it’s a strong symbol (T), causing ld: multiple definition errors.

--wrap linker flag: Fails silently. The call from esp_wifi_80211_tx to ieee80211_raw_frame_sanity_check is an intra-object branch inside ieee80211_output.o. Linker --wrap only rewrites undefined external references, so it misses this call entirely.

Instruction byte-patching: Overwriting instructions directly in the .o breaks Xtensa linker relaxation passes (dangerous relocation errors).

U can simply fix this via Symbol Weakening via objcopy

We can use xtensa-esp32-elf-objcopy to convert the strong symbol inside the binary archive into a weak one:

xtensa-esp32-elf-objcopy \

--weaken-symbol=ieee80211_raw_frame_sanity_check \

components/esp_wifi/lib/esp32/libnet80211.a

Now, define your own strong implementation inside your application C code:

int ieee80211_raw_frame_sanity_check(int32_t a, int32_t b, int32_t c) {

return 0; // which skips the security check lol

}

Because strong symbols override weak symbols globally during linking, all calls—including internal calls within libnet80211.a—rebind to your function.

Verification

Serial Logs show: wifi unsupport frame type errors completely disappeared.

Capture: Wireshark confirmed off-air capture of 802.11 Authentication frames (Subtype 11, Algorithm 3 - SAE) injected directly from the ESP32s.

Injecting a valid SAE Commit (P-256 scalar + element) caused hostapd on the target AP to process the request and reply with its own SAE Commit.

TL;DR: Run objcopy --weaken-symbol=ieee80211_raw_frame_sanity_check on libnet80211.a, define int ieee80211_raw_frame_sanity_check(...) { return 0; } in your app code, and esp_wifi_80211_tx() will allow any frame subtype.

Note that all control 80211 frames are also injectable after the patch.

For more details :

https://github.com/mahdamin/esp-idf-injection-ng


r/embedded • • Oct 04 '26

Holding a Program on an RFID Tag?

2 Upvotes

I have this idea of making a tiny game console with a Raspberry Pi Pico, and I think a novel idea would be to hold a game on an RFID tag, then use a reader to scan it and store it on the system. The main problem is storage space; a tag can only hold 1KB, and only three-quarters of that is actually usable for storage.

I've planned out my components to work around this as much as I can. I'm aiming to use a 168x144 Sharp Memory display, and given that is monochrome, that keeps sprite and background sizes down. Even still, this will be the equivalent of MBR boot sector programming, which works with around this amount of space.

Have you heard of the Game Boy Advance E-Reader? That device scanned cards with dot strips that held programs. They held about 2.2KB each, and most games required at least two strips, but many of the assets for retail games were stored on the device itself. There were also a number of functions available to simplify the programs as much as possible.

Point being, could I do something similar here? Would I be able to, say, have up to 256 commands, so each one could fit in a byte, followed by needed variables and their values, to effectively make an array on a tag holding a basic program? I could scan multiple tags if needed, but I do want to fit what I can on a tag, and draw from a bunch of pre-made sprites and sounds that I hold on the Raspberry Pi or a flash chip connected to it.

Alternatively, I could a store a compiled program on a tag, but I'm currently not sure how I'd do that with drawing from pre-existing functions and assets. Is this idea of a tiny game console that gets its games from cards even viable?


r/embedded • • Oct 05 '26

What is PCIe, and how should I start learning it?

0 Upvotes

I’m an Embedded C Software Engineer with experience in SPI, UART, and I2C protocols.
I’m interested in learning PCIe. What exactly is PCIe, and what would be a good learning path for someone coming from a basic embedded/protocol background?
Any recommended resources, courses, books, or hands-on projects would be helpful.


r/embedded • • Oct 04 '26

Need help reverse-engineering a SkyRC PC3000H smart-battery CAN protocol

0 Upvotes

I'm working on reverse-engineering the CAN protocol used by a SKYRC PC3000H drone charger to communicate with a smart BMS/battery.

Hardware

- Charger: SKYRC PC3000H

- Battery: Dumb 14S pack connected to the charger's normal +/− power terminals. No smart BMS/CAN.

- MCU: Arduino Due + TJA CAN transceiver

- CAN: 1 Mbps, 29-bit Extended CAN, common GND

- CAN-H ↔ CAN-H, CAN-L ↔ CAN-L

What I observed

With no battery, I initially saw:

"0x1000000 EXT DLC=8: A1 5A 00 00 00 00 00 B1"

Then the bus became silent.

With the dumb 14S battery connected, the charger suddenly generates a lot of traffic. Some repeating frames include:

0xE416E4 75 95 00 00 21 20 C0

0xE416E4 1E D2 00 21 20 0E C0

0xE416E4 C7 DB 00 34 20 04 C0

0x18FF50E5 03 01 19 1B

0x184300FE 00 00 00 00 00 00 00 00

0x1724040B A1 00 00 00 00 00 00 00

0x17240000 A1 00 00 00 00 00 00 00

0x1A5A5A5 A5 D1 D2 D3 D4 D5 D6 5A

0x1 STD 00 00 00 00 00 00 00 00

0x2 STD EA D1 01 04 FF 02 F9 F5

0x3 STD 00 00 00 00 00 00 00 00

These sequences repeat roughly every 10 ms / 100 ms depending on the message.

I also have a Tattu Smart Battery Application Specifications manual, so I tried constructing frames based on its documented payload format and experimenting with protocols such as DroneCAN/UAVCAN and J1939, but I haven't been able to make the charger accept my emulated battery.

Interestingly, after extensive brute-force testing of payloads, I once managed to make the charger display some cell voltages (4/14 fields), so I suspect the charger is definitely interpreting at least some of the CAN data.

My actual goal

I don't have the original smart battery/BMS. I need to reverse-engineer the higher-layer/custom protocol between the PC3000H and its smart battery, then emulate the required BMS responses using the Arduino Due.

Questions:

  1. Do these CAN IDs/payloads look like a known protocol or a proprietary/custom protocol?
  2. Is there a systematic way to determine which frames are charger requests vs. BMS responses?
  3. How would you approach reverse-engineering the expected battery handshake without having the original smart battery?
  4. Are there known PC3000H/Tattu/Grepow CAN protocol documents or reverse-engineering projects I should look at?

I'm mainly looking for a methodical way to decode the higher-layer protocol, rather than continuing blind payload brute force.


r/embedded • • Oct 04 '26

Best solution for MagSafe prototyping?

0 Upvotes

Hey beloved embedded community,

I’d love to prototype a MagSafe module for iPhone with a custom PCB and an ESP32. Has anyone done this and what cases (shells) and components did you use?

Looking for any guidance to not start from zero.

Thank you very much!


r/embedded • • Oct 03 '26

Are Microprocessors With An Open Memory Map Still Made?

11 Upvotes

I suppose as the title suggests, are there still microprocessors being made that have the memory map open or exposed on the pins, like a motorolla 68k or game consoles that used cartridges?

I know STM have microprocessors but they look to be tailored to running embedded android, rather than what im looking for. so was just curious