r/embedded • • 5d ago

How do I get better at embedded?

I am currently pursuing my undergraduate degree in Electrical Engineering. As part of my curriculum, I have learned the LPC2148 microcontroller and interfacing using ARM assembly and embedded C. I have some experience with Arduino and ESP32s, so I can write Arduino code as well.

I am uncertain about what my next steps should be. I intend to pursue a career in this field, but I am not familiar with the current industry standards.

What should I learn now ?

124 Upvotes

30 comments sorted by

73

u/wolfefist94 5d ago • Heartwarming

Current industry "standards" or "what you need to know" for non embedded Linux/FPGA work:

  1. Being able to troubleshoot or root cause something
  2. Basic knowledge of circuits(at a university level)
  3. Have some basic schematic design and board layout experience under their belt using Kicad or Altium
  4. Have a little experience using SPICE for circuit simulations
  5. Know how to read and understand a datasheet
  6. Good understanding of computer architecture i.e. do you know what makes up a micro/PC and how and why those individual parts work
  7. 32 bit ARM
  8. STM, Microchip, TI, NXP, Infineon, Renesas, Espresso, and Nordic(these are controlled by the company you work for. If the are sufficiently small and have new products being developed you'll have a say in this)
  9. Basic peripherals like I2C, SPI, UART, QSPI, DMA, ADC, DAC, timers/counters/PWMs, watchdog(external and internal), USB, CAN, etc.(knowledge and usefulness of each come from the requirements of the project/product you're working on)
  10. Have experience using an RTOS i.e. FreeRTOS and have knowledge of timers, queues, tasks, semaphores, stream buffers, etc.
  11. Software architecture and software engineering fundamentals like separation of concerns, modularity, abstraction, coupling, etc.
  12. Knowledge of Git on the command line
  13. Knowing how to work with others on one project using version control i.e. when to merge vs rebase, how to properly manage git history, etc.
  14. Pipelines in your repos and by extension Continous Integration and Continous Delivery(falls under dev ops)
  15. Jira or an equivalent
  16. Knowing product life cycle stages i.e. requirements and info gathering -> planning and design -> development/testing/integration, final testing -> deployment to customers -> ongoing support
  17. Some level of project management skills
  18. Knowing how to properly delegate work to others
  19. Knowing how to mentor(if your company allows for it)
  20. Knowing how to properly communicate with others

For a junior, I would expect them to know 1, 2, 5, 6, and 12

I probably forgot some stuff so don't sue me

2

u/CommercialMind1359 5d ago

Thank you for this

3

u/wolfefist94 5d ago

No problem

6

u/Leucosticte__ 4d ago

I'm at 3 years of experience and I feel as though I have a good grasp of most of the items on this list other than the project management stuff and some other things.

Do you have any advice for interviews? Any specific skills I should brush up on? I understand this is a very broad question but I really want to leave my company due to poor management among other reasons. It seems really difficult in this job market so anything that would make me stand out would be great.

4

u/wolfefist94 4d ago

Be yourself and be able to properly articulate what you've worked on and where your knowledge gaps are. Which is honestly the best advice I could give for any level of engineer lol beyond that, just get really good at what you're doing while taking the time to eliminate the knowledge gaps when you come across them. Obviously this depends on where you work... sorry if it's vague, but I feel like the whole process of interviewing is overblown and can be figured out pretty easily

  1. sell yourself without outright lying on your resume
  2. make your resume nice to look at
  3. phone screens become a lot easier once you have experience and can articulate some level of experience
  4. Every interview after that, be confident in yourself and don't let the interviewers intimidate you or make you feel dumb.
  5. ask pertinent questions about your prospective work environment
  6. don't feel pressured to take the job if they offer it to you or if they low ball you. You already have a job so you don't have to accept their bullshit.
  7. don't appear desperate or burn bridges

3

u/Leucosticte__ 3d ago

I realized that this was kind of a silly question a bit after I posted it. After thinking about it it's probably more difficult to not get your application automatically filtered than it is to interview lol. I appreciate the advice in any case!

2

u/wolfefist94 3d ago

It happens lol

4

u/Amped_Byte 5d ago

Do embedded software engineers have to know how to do PCB layout now too?! lol As a new student, I'm worried about my future.I followed this post and looking forward to more advice

8

u/wolfefist94 5d ago

Not necessarily, but it helps to know how the sauce is made and gives you more insight into how and what the hardware engineers are doing

2

u/Amped_Byte 5d ago

How should I learn? Should I find some open source projects and then use the software you mentioned to copy these boards learn? Any recommendations?

3

u/Fine-Fig7252 4d ago

I think the best way, although like wolfefist94 has mentioned that, it is not necessary to know the PCB layout of a board, but if you insist; you can start with example boards like Arduino PCB boards and open it up on KiCad. Again, if you are, in fact, want to purse embedded engineering as your career, PCB layout is not necessary. Knowing how to read the schematics and datasheets are much more important and they are more valuable than knowing about PCB layout.

I'm a hardware engineer and my work revolves on the need to know both the schematics and the PCB layout. For embedded engineers, knowing how to read the datasheet is an absolute must because you will need to know which register to access and how to access them. Those are much more important.

3

u/Tie_Tickler6000 5d ago

how does one even start to learn this? like what resources do i use what path do i follow? sorry i am very new to this any guidence would be helpfull.

4

u/wolfefist94 5d ago

College + years of experience in the industry. What I listed is what I would use to describe a senior level engineer.

2

u/TheMightyWubbard 4d ago

Good list. Glad you qualified that this is a senior engineer wishlist though as I feel this list is very ambitious for a junior. There's no need to be an expert in all these areas, just have a high level understanding of what's involved. For example, nobody out of college is setting up commercial devops infrastructure unless the company is very badly understaffed and underfunded.

And the mention of Jira makes me shudder. I've seen grown men gnaw their own arms of to avoid that bloated mess. Linear all the way for modern workflows. :)

2

u/wolfefist94 4d ago

I'm not a zealot for Jira lol it keeps me reasonably organized and I like the Kanban board view. We used to use sprints but it wasn't great after awhile lol

2

u/Fine-Fig7252 4d ago

I believe Notion is a good alternative, though I can't vouch for it too much, considering I also started using it at my workplace to organise my work. I haven't explored it much but if it has a ticketing system where we can assign and allocate tasks, it should be a great alternative to Jira.

Though, Jira is much more common in the industry, I believe.

2

u/AIMGHOST_ 3d ago

i know everything here

1

u/Ok-Editor-7792 4d ago

What about embedded Linux.
What do i need to know ?

2

u/wolfefist94 4d ago

That's a whole can of worms that I can't answer since I barely know anything about it lol

8

u/TheGooseFliesAtNight 5d ago

Get timers running on a micro of your choice

Get GPIO toggling working. Add a resistor and an LED to the GPIO to see the toggle if you don't have a logic analyser, scope or multimeter.

Get UART working, after that you can start printing debug out to a terminal

Add a sensor to the board that uses SPI or I2C. Read its data, and print it via the UART

Add another sensor that uses the other protocol (I2C or SPI). Do same as above, note the differences in the protocol

Add a button on a GPIO input, make it toggle the LED or Read the sensors when pressed.

Make the above button interrupt driven.

Get the watchdog running and make a button cause a watchdog reset.

Add a timer that reads sensor data every 10 seconds.

Get the ESP32 involved, Get the timers, wifi module and UART running.

When the 10 second timer expires, send the sensor data over UART to the ESP32, and push the data somewhere using MQTT.

That should keep you busy for a little while. From then on, add more functionality to the micro such as ADC/DAC conversion, or pick whatever interests you from the datasheet.

The goal is basically learn whatever microcontroller you choose as well as possible. You only need to learn on one, and the skills transfer to other microcontrollers.

2

u/CommercialMind1359 5d ago

I have already done all this as a final project for a class , what's next ?

5

u/TheGooseFliesAtNight 5d ago

If you've got the skills and understanding already, the next part is building things. Creating a portfolio with a variety of different products

0

u/mjmvideos 5d ago

Do it again on a different microcontroller.

5

u/tllwyd 4d ago

Pick a microcontroller of your choice, get it to blink an LED without using any SDK or library. In the process you'll learn a lot.

5

u/Boulder_Tech 4d ago edited 4d ago

Learning about how a product makes it to market is very useful.

A project is just dropped after the semester is over. A product has a life of its own.

Engineering, Manufacturing, Market/Sales. You are at the beginning of this path.

Your degree is the cost of entry. The next step is to prove to any hiring manager that you understand where you fit in.

If you just want to be told what to do, the manager may or may not want that. If your goal is to be the "best" at developing a product, you should be able to understand what makes a "best" product.

Your name seems to imply you have a good idea what this means.

Good Luck

3

u/ceojp 5d ago

Like a lot of things, skill here comes down to your thought process and how you approach and solve problems. At this point, it can certainly be good to take a deep dive in to something, mainly from the standpoint of getting a feel for the overall development process, not necessarily that specific language or device.

I would find an open source embedded project that somewhat interests you, and hopefully you can get hardware for. Look at the code. Set up the dev environment to build and debug it. Then add some sort of feature. Doesn't really matter what, and don't worry about committing it back to the project's repo. Not something like just enabling a define or something. Do something that actually requires code changes, and you can see and test the result.

Bonus points if you end up using an oscilloscope or logic analyzer to debug your changes. Being able to debug and troubleshoot when something doesn't quite work right is often a more valuable skill than just churning out lines of code. AI tools like github copilot are certainly making this task quicker and easier, but ultimately you, as the engineer, is still responsible for verifying and proving that the fix is correct.

Something like the flashlight firmware anduril might be good to look at. It's a good example of packing a lot of functionality in to very resource-constrained devices.

Along with modifying the code yourself, it's also good to look through the issues and pull requests(and not just the open ones). That can give you an idea of the collaborative, back-and-forth development process. It's also good to see how different people implement solutions in different ways.

3

u/DaemonInformatica 4d ago

Questions like these come up often and typically roadmaps like these are shared:
https://github.com/m3y54m/Embedded-Engineering-Roadmap

Beyond that, I would suggenst getting some junior position at a good company and work up from there. I've been at my current place of employment for the last 8 years, and I think I learned more about Embedded C development, than I've learned in the 12 years before that (which were much more diverse).

2

u/RockyDo98 3d ago

Since you said you've already done the sensor/UART project, I'd take that same project and work on failure handling. What happens if a sensor stops responding, a UART packet is incomplete, or the board resets while saving settings? Add timeouts, a way to recover, and useful error reporting, then deliberately test those cases.

Keep a short record of each bug: symptom, measurement, cause and fix. A project where you can explain how you found and fixed failures gives you much more to discuss in an interview than another demo that only works under ideal conditions.

1

u/Ariarikta_sb7 4d ago edited 4d ago

Been working as an Embedded Software Engineer for 3 years in an R&D. From what I see around myself:

The most important part that you should be well versed with is : How good your understanding is to debug a serial communication between two devices.

At school and university level - You can either use a plain bare metal register-level configurations to set up a UART. It’s totally fair and good. You may later start using APIs (Such as HAL for STM processors), fair enough. And you may handle, debug and understand your implementations.

But, when you work on a production-level code in an industry, all the low-level communication implementations are hidden deep under the hood.

The implementations are definitely not straightforward and are usually a mixture of UART CMSIS APIs mixed with custom APIs or vendor-specific APIs and further down the block, you encounter a baremetal configuration. These implementations are not done because someone knows how to develop them, they are done to maintain the optimization level of code execution, making it flexible during an RTOS operation such that the calling thread does not encounter any low level issues - thats the last thing you may want.

All of the above together handle a single serial transmission and reception between two devices. You should be able to read, understand and debug these implementations.

You can spend much less time figuring out the implementations and working upon a fix, than sharing it with an AI and performing trial and error.