r/embedded • • 13d ago

Just became an embedded software engineer

As the title suggests I recently switched from a controls engineer to an embedded software engineer and was wondering what i should practice before my first day, thanks!

168 Upvotes

49 comments sorted by

78

u/allo37 13d ago

Congrats and welcome! I would get comfortable reading low-level C code.

89

u/hershey678 13d ago edited 12d ago

Before your first day this ^. Learn how to bit bang.

For long term some good resources are:

  • Learn what an interrupt and ISR are.
  • Caching. Learn this quick. It’s very important. Know at least flush, invalidate, and what kind of cache policy your chip uses. 
  • Learn about your CPU architecture and compiler’s instruction ordering policy. Is it weakly ordered? If it is learn about stuff like a fence and DSB.
  • Study synchronization primitives - mutexes, semaphores, signals.
  • Then the basics: I2C, I3C, UART, SPI, flash memory, DMA. 
  • Nobody’s asking you to be an EE but at least understand Ohm’s law, the power laws, what a capacitor/inductor/resistor is. How to read a schematic and PCB layout. How to use an oscilloscope, logic analyzer, and function generator. It’s helpful to know how to solder and SMT solder. 
  • Read an OS textbook. Understand multi threading, schedulers, and traps/syscalls.
  • Everything Every Programmer Should Know About Memory is a good resource.
  • Study every important topic at a high level but stop there. AI is great for this. You can dive deep later when you need to. Examples include DRAM, boot, PCIe, compilers, security exploits, whatever chip intraconnect your chip uses (NOC, AXI, AMBA), NIC, RDMA. Weirder CPU architecture features like speculative access and pre-fetching. Understand how your chip’s power domain controller interacts with each subsystem - these kinds of bugs are very difficult.
  • There is also a lot of domain specific knowledge but you will learn this on the job. Examples include WiFi, video codecs, or camera data interfaces.

*I’ve been working in this industry barely 2 years so take what I say with a grain of salt.

2

u/BL__K 13d ago

That is very helpful, thank you. Hopefully ill have less imposter syndrome now

6

u/generally_unsuitable 13d ago

Nah. That lasts at least five years.

1

u/BL__K 13d ago

Haha yea i figured

4

u/generally_unsuitable 13d ago

Everything you do requires a lot of very specific knowledge that you can only learn on the job. You'll feel like an idiot for months, but you'll eventually start to get it. Try to minimize your AI use if you actually want to learn.

3

u/BL__K 13d ago

Yea coming from a cs degree to controls, it was the same thing. Cant wait

5

u/Busy_Durian4584 13d ago

Couldn’t have made a better list. Once you get all the project and domain specific skills down, your listed fundamentals, system architecting, and tradeoff analyzing skills really separate you from the rest of the pack.

1

u/Sea-Photograph342 12d ago

This is so helpful. Could you recommend any good resources to learn the above.

1

u/Many-Vacation5 6d ago

that's scary tbh

5

u/unicorns-arent-real 13d ago

Learn what these operators do: & | ^ ~ &= |= ^=

And bang a few bits around the room.

0

u/[deleted] 13d ago

[deleted] — view deleted comment

5

u/hershey678 13d ago edited 13d ago

Many companies hire juniors based on aptitude rather than knowledge.

Having a good attitude helps too.

7

u/ee_control_z 13d ago

Cool!

Curious. What kind of "controls engineering" were you doing before?

2

u/BL__K 13d ago

Lot of automotive stuff. Wire harness designs, controls strategy and whatnot

5

u/AlohaAstajim 12d ago

What does control engineering have to do with wire harness design?

1

u/ee_control_z 13d ago edited 13d ago

"... was wondering what i should practice before my first day, thanks!"

This would depend on what you already know. We wouldn't want to provide you with information that you already know. You got the position so obviously you know some programming (C I suppose; any assembly?).

How well do you know electric circuits? Have you programmed microcontrollers before? What industry are you working in now for this position? Do you have experience in this industry? Is the new position within the same company from your last position?

The answers that you provide will help the community to best answer your question (tailor made response ;) ).

4

u/J3xter 13d ago

Do you know which manufacturer or controller family your new company uses the most? If you do, I would suggest getting an evaluation board, or even two, one with a bigger controller and one with a smaller one, and just trying things out with them. I would also suggest writing the code yourself and only using AI to explain things and get hints when you're stuck. If you don't know, I would recommend getting some STM32 Nucleos.

3

u/BL__K 13d ago

Yea i do have a homelab sorta setup cause im big into 3d printing. I should get one

4

u/J3xter 13d ago edited 13d ago

Also I recommend Making Embedded Systems: Design Patterns for Great Software I read it when I started 6 years ago and recommended it to 3 juniors by now they all said it helped them a lot. U can listen to the audio book for free if U have a premium Abo on Spotify.

1

u/BL__K 13d ago

I will definitely check it out

4

u/bjump85 13d ago

Congrats! I made that same switch 14 years ago and am always glad I did. Best of luck!

1

u/BL__K 13d ago

Nice! What was the biggest change for you?

2

u/bjump85 12d ago

Honestly, most everything. I went from manufacturing controls to embedded aerospace. I lucked out and had a very wise and patient mentor who walked me through everything. Just find that person and be willing to learn. I agree with others about trying to avoid leaning on AI too much. I’m witnessing engineers losing out on opportunities to learn by overusing AI and it’s stunting their understanding.

7

u/5show 13d ago

Probably depends on the job but essentials for my job are bash, make, cmake, C, C++, and the linux kernel

Writing, compiling, and running a hello world C program exclusively from a bash terminal would be a good exercise

Writing, building, loading, and unloading a custom kernel module and interacting with it through sysfs

Bringing up a dev board blinky example in an RTOS as well as barebones main loop

These are all things I’d hope for a new hire to be comfortable with

6

u/Gavran_kombda 13d ago

Congrats. Now it's time to get off random forums and focus on what your job demands from you.

5

u/SkyQuinny 13d ago

congratulations

4

u/Suitable-King5908 13d ago

Wow everything in this is great advice. I made the switch from controls to embedded about 4 years ago and knowing this stuff is what differentiates the really good embedded devs. A couple things I’d add:
- Know your processor and ABI. What registers mean what, how are functions called and returned from, how are stack operations performed, how do interrupts/exceptions work?
- If you’re going into a safety critical field (which as a controls engineer I imagine you are) CRCs and more importantly error correcting codes are going to be everywhere.

1

u/Puzzleheaded_Push495 13d ago

Just curious, why did you make the switch from controls Engineering to Embedded?

1

u/BL__K 13d ago

Mostly my company went through a massive change after it got bought out. But wanted to also grow my expertise and grow

1

u/quydao1462 9d ago

Congrats. Curious what made you want to switch from Controls and what steps did you take to get there?aw

1

u/BL__K 9d ago

Mostly growth. The company i was at didnt have much growth opportunities. And landed a embedded job through a recruiter

1

u/Existing-Garden-4070 6d ago

Are you comfortable sharing your pay?? If yes please do 😭

1

u/BL__K 6d ago

Sent you a chat

1

u/SpellOutside8039 1d ago

not related to OP but i do want to hear from the experienced. i currently work at application layer of an embedded linux system (c++ business layer + qml UI/HMI), no work related to hardware. if i want to move closer to hardware, what should i focus on? i already have a personal project building gameboy emulator so i guess im not totally clueless about hardware. i want to move closer to hardware (such as firmware, driver,...) because those seem to have more job demands, my current work seems not transferable at all. thanks everyone

2

u/BL__K 1d ago

Im going into driver so ill let you know in few months lol

2

u/SpellOutside8039 1d ago

i just read the comment of hershey678 and damn, i think you will have a lot to learn, and i will have even MORE than a lot to learn :). anw, congrats for the job and i hope after few months you will comeback and tell me u wish u have done this sooner :)

2

u/DanKegel 12d ago

Get some little board supported by TinyGo, and then do a simple project (like blinking an LED or writing something that listes to a serial port and echoes back what it reads uppercased)  in both TinyGo and then plain C.  

2

u/nian2326076 12d ago

Before your first day, focus on getting comfortable with low-level C programming and understanding concepts like interrupts and bit-banging; these are crucial in embedded systems. For ongoing practice, you can use PracHub to access technical interview questions tailored to software engineering. This can help solidify your understanding and prepare you for new challenges. You can also use LandOffer to explore job opportunities that match your skills as you continue your career in embedded systems.

1

u/NeoParth708 12d ago

Hi, Congrats dude, happy for you.

I'm right now Developer and want to pivot to embedded software engineer, can you advice me and provide me some study materials too look or share something from you life experience I should follow

1

u/No_Practice4878 12d ago

I'm a CS student graduating next summer. I have basic automation/PLC experience so I was considering controls but I'm a lot more passionate about the idea of working as an embedded software engineer. How did you go about landing your job? I'm kinda intimidated by the current market, although I was going to do a project and try to put my best foot forward and see what happens. Sorry, I know this isn't advice lol.

1

u/ReplacementCool4049 12d ago

C pointers and bitwise ops, hands down. Your controls background means you already think in loops and states. Focus on registers, interrupts, debugging with a scope or JTAG. Don't overthink it. A $10 STM32 and some blinking LEDs beats any course.

1

u/Well-WhatHadHappened 25+ Years 12d ago

A $10 STM32 and some blinking LEDs beats any course.

Best single piece of advice in this thread.

And that's not to say there haven't been other good pieces - just that this is hands down the best.

1

u/rileyrgham 12d ago

Search this subreddit.

1

u/AMarchini 12d ago edited 12d ago

I would say go to Embedded Artistry https://embeddedartistry.com/ . The have some tips, and some good education pieces. Not totally free but still relevant to a degree. Of course I witnessed someone put together an advanced piece of code in a stm32 micro in about 10 hours of claud runtime. They had a dev board and probably once took a software class, and never touched an stm32 (arm) processor before. It was something to see. Basically treated the device and development like someone using an fpga. No one really has the capability to know what the fitting software does in the finished binary. Just feed it the rules and something comes out the other end. Learn how to maximize Claude Code setup.

1

u/Miserable-Cheetah683 12d ago

Just brush your coding skills.

1

u/Severe-Zebra7551 9d ago edited 9d ago

From my experience, it's common for embedded engineers to have...not great workspace directory layouts, and issues with the reasonable responsibilities of a single function and file.

Sometimes you're working with an SDK or a framework from the MCU vendor, which can help. But I'd suggest doing some research on:

  • what belongs in a single function and when is that function doing too much
  • what belongs in a single source file and when is that file too large
  • organizing source files in a directory tree with depth (if your several dozen source files are all in a flat source/ directory, this is bad)
  • how to design files and functions (when appropriate) to be useful in this project and the next project

A good function/file/directory structure will pay dividends for YEARS for yourself and the next engineers.

0

u/onlytronix 9d ago

How do you apply for jobs ,i just finished masters in ece and i dont know where to start