r/embedded 6h ago

sipeed-licheerv-nano-e vendor buildsystem is too old

0 Upvotes

anybody ported it to work with latest stable uboot, buildroot and fsbl? i'm willing to use it for edge ml (image and audio)


r/embedded 5h ago

Question about Thermal Throttle

0 Upvotes

Simulators are great for perception, but they completely miss the hardware-execution gap. How are you guys profiling power transients (dI/dt) and thermal throttling under real electrical loads? I'm building a local CLI to orchestrate this on custom PCBs because Isaac Sim doesn't catch melted silicon. Are you all just writing custom Bash scripts to poll JTAG


r/embedded 12h ago

AS5600 programming with "offset"

Post image
2 Upvotes

Hi,

i'll start by saying i don't know a lot about I2C, i'm trying to use this encoder (with a custom pcb) as a drop in replacement for a mechanical pot (engine sensor), i need to use it only for a limited range (around 80°), and i need it to output (analog) around 0.4V and 4.3V between the 0 and 80°.

The problem is that i need to program it while it's mounted in place, and i can't move it to the angle where it should be at 0V or 5V (ZPOS and MPOS) because the rotation is limited mechanically, to rotate in the correct position where the ZPOS should be set, i'd need to remove it to do it on the bench but in that case is a pain to get the alignment right.

I'm sure if programmed without I2C you can only set ZPOS and MPOS or MANG, but with I2C is it possible to set ZPOS and MPOS with an offset? seeing their tutorial (https://www.youtube.com/watch?v=Dwc4hFgNP5I) maybe instead of  "raw angle -> ZPOS" you can do something like "raw angle-20° -> ZPOS"? idk because i don't know I2C.

The alternative would be to just program it in place with ZPOS and MPOS when mounted and the convert the 0-5V to 0.4-4.3V with an op amp.


r/embedded 20h ago

CM4 Not Booting image despite proper schematic setup up

4 Upvotes

I’m designing a PCB that had a CM4 contained on the backplane, from which I’m in the process of doing some preliminary testing before I hand it off to someone else. I’m experiencing some weird behaviour which I haven’t experienced before whereby I power on the PCB with a CM4 set up for eMMC boot, and I’m not getting the expected power draw that indicates the CM4 is booting up properly (50mA approx for the CM4 itself). RPIBOOT is pulled high which is reflected on the oscilloscope at boot, RUN_PG is high also, and the Global enable is also high which is such by default. I’ve tried multiple pre configured CM4s, and they don’t work, and I’ve validated my power delivery from which is stable. If anyone has any idea, I’m all ears but I’m running out of them🥲


r/embedded 3h ago

Call for help / Sourcing of EOL Toradex Colibri T30 (Tegra 3) modules - NOS or refurbed does'nt matter, even 50pc's help...

6 Upvotes

Hey r/embedded,

I support a fielded product line built around the Toradex T30 Module— the NVIDIA Tegra 3 (quad Cortex-A9) SODIMM-style SoM, 68 × 37 mm Toradex has it flagged EOL / not-recommended-for-new-designs, and every normal channel is dry- as a "small" buyer we are not important enough to get real alternatives.. so im a littebit backed against a wall.

Honest Situation: We are already mid of migrating to a current module and had sized our last-time-buy accordingly (also a last last time buy). Then a customer came back with demand at a volume that's way outside anything we'd normally commit to support on an EOL part — far beyond what our remaining stock and the migration timeline can absorb. We're now under serious pressure to keep them supplied on the legacy hardware while the new design finishes cert. So this is a bridge-supply problem i am really at an dead end to solve. I called multiple refurbed shops here in Germany, tried 2nd source shops etc. Either we are with our demand of roughly 1000pcs too small or there is really no supply.

What I'm after:

  • Toradex Colibri T30
  • Target quantity: ~1000 pcs (optimal). Realistically I'll take whatever's out there — partial lots absolutely help and I'm happy to aggregate across multiple sources, if it helps our timeline.
  • NOS preferred, but refurbished / tested pulls are fine if functional and verifiable
  • EU / DACH preffered but i can handle worldwide also

Where I could use the hive mind:

  • Brokers you've personally had good experiences with for legacy SoMs at volume (the space is full of bad actors, so first-hand recs matter a lot here)
  • Anyone who over-ordered their own last-time-buy and is sitting on Colibri T30 stock and wants to get it off there shelves :)
  • Decommissioned fleets, lab surplus, repair-shop pulls
  • Refurbishers who can test-and-verify this class of module at quantity

Happy to pay fair market rate + shipping/testing, verified sellers only, and I'll take specifics to DM / a proper PO. Any lead — even "try this obscure shop" — is genuinely appreciated. Time-sensitive, so I'll respond fast... if my kids let me :'D

Eitherway: Thanks to the community!

BR


r/embedded 16h ago

Thoughts on emulator as an ES project?

7 Upvotes

I started building a gameboy emulator last week as a SWE project to have on my resume, but I recently discovered my interest for embedded systems. Thinking of finishing my emulator then having it run on a micro controller with an LCD and real buttons. Would this be a good resume project or is it kinda cliche?


r/embedded 8h ago

Testing with HiL - cheaper alternatives

23 Upvotes

Hello everyone,

Some context about my question. I worked in the Embedded SW field for 5 years now mainly in big corporations (focused on automotive) and now i am in a new position is a smaller company. It's a lot smaller in scope as we maybe make 100-500 pieces of any one product at best, custom made for the customers.

Coming from big corporation / automotive I see here that the testing side of our process is very weak. There is no real procedure and no dedicated equipment. I am used to work with the industry standard HiL rigs like dSpace, Vector and Speedgoat, that usually have entire departments setting them up for the products. At the new job most team usually just put together some development boards to do some high level testing at best.

The project I was hired for is Safety critical so we need reliable Test equipment, but when i brought up dSpace or similar my manager didn't even want to hear about such high costs. I also offered we can build something in-house, but again I've been told we don't have the money/time/people for it.

So I was wondering if any of you guys know of other cheaper Test rig alternatives? Main focus would be High level black box testing of a PCB with CAN, SPI, and some analog connectivity. The aim would be for it to have or easily adaptable for an automated test framework.

Any recommendations are welcome! (we are in the EU region)


r/embedded 10h ago

Gimbal roll axis moving although it shouldn't.

2 Upvotes

Hello people!

I made a 2-axis gimbal for my drone and I have a problem where when the pitch axis is at a certain angle, the roll axis starts slowly drifting form it's initial angle.

Example: Pitch axis is set to 65 degrees and Roll to 0 degrees, everything is okay. But when Pitch axis is set to something like 80 degrees or above, the roll angle moves a little bit and from there starts to slowly drift the same direction until who knows how long.

I recalibrated the accelerometer but not the gyroscope, because the SimpleBGC program automatically calibrates it, if I'm not mistaken.
I did a bit of PID tuning, but PID doesn't seem to be the problem.

Maybe someone has had the same problem and/or knows how to fix it?

I'm using a SimpleBGC 32-bit Extended controller.
The 2 motors, that I'm using, are GM3506 with encoders.


r/embedded 16h ago

STM32N6 Setup

6 Upvotes

I’ve been meaning to work on a Nucleo-N6 project that uses a TCP client.

I know this board is crazy complex so I was going to go through the CubeMX for configuration.

For some reason however I can’t build the NetXDuo TCP client example code and get the appropriate IOC file to configure the project through VsCode using ST’s extensions.

I was curious if anyone had experience with these issues or any alternatives to build for the N6 with CMake.


r/embedded 2h ago

Reverse engineering a Krystel TV firmware (RR52C_A63B) to remove a DVB-T channel restriction

2 Upvotes

I’m trying to reverse engineer the firmware on a Krystel TV to figure out why it only stores 7 DVB-T TV channels (plus about 10 radio stations) despite scanning all UHF channels (21–48) successfully. The factory menu (code 1148) allows exporting rom.bin, Data_Backup.bin, ChannelTable.txt, and S2_UNIPLATFORM_CH_TABLE.json. The exported channel list only contains 7 services, and Data_Backup.bin contains strings like UK-24, UK-45, UK-69, and MI210528WHX001_WEIGAO_52CA63B, which makes me think there’s a region or service whitelist somewhere in the firmware. Has anyone seen the RR52C_A63B platform before or know how to analyse/patch these firmware files? Any advice on identifying the SoC, firmware format, or locating DVB-T configuration tables would be greatly appreciated.


r/embedded 4h ago

Open-sourced my ESP32-C3 node (pure ESP-IDF & PlatformIO). Focused mostly on the firmware side, looking for feedback!

Post image
2 Upvotes

Hey guys!
I’ve just opened the repo for my battery-friendly ESP32-C3 environmental node. The hardware is pretty basic, as I spent most of my time focusing on the firmware — skipped Arduino completely and built it on pure ESP-IDF v5.x + PlatformIO.
It’s got Deep Sleep with RTC wakeups, a SoftAP
Web Portal for live setup/calibration, and multi-channel alerts (Telegram/Discord/Webhooks).

The code is live on GitHub: https://github.com/d7main/ESP32_EnvironmentalNode
Would love some feedback on the C architecture, testing on real hardware, or PRs. Check it out!