Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by Lundin‭

110 posts
88%
+14 −0
Papers Why should I not use dynamic memory allocation in embedded systems?

I keep hearing that dynamic memory allocation on the so-called "heap" segment should not be used in microcontroller-based embedded systems. Pretty much every safety standard like for example MISRA ...

posted 4y ago by Lundin‭  ·  edited 3y ago by Lundin‭

84%
+9 −0
Q&A How to access a hardware register from firmware?

Using pointer types In C, an object pointer such as uint8_t* ptr is the equivalent concept to use for hardware addresses. A compiler makes this pointer type large enough to contain all addresses i...

posted 6y ago by Lundin‭  ·  edited 1y ago by Lundin‭

Answer
83%
+8 −0
Meta How to treat data communication questions?

This question here about the OSI model was closed as off-topic. How should we treat questions about data communication? What is definitely on-topic here: Embedded systems programming, including...

3 answers  ·  posted 5y ago by Lundin‭  ·  last activity 5y ago by Olin Lathrop‭

Question discussion scope
83%
+8 −0
Q&A How to access a hardware register from firmware?

When writing firmware in C for a microcontroller, how can I directly access a memory location such as a hardware peripheral register, given its absolute address? Is there a way to do this safely an...

1 answer  ·  posted 6y ago by Lundin‭  ·  last activity 1y ago by Lundin‭

Question microcontroller embedded-systems
81%
+7 −0
Q&A What are the most common causes of CAN bus communication errors?

One rule of thumb is that a CAN network should never have any error frames when it is up and running. It is expected to have some when all nodes are "waking up", or if you hot plug something to the...

posted 6y ago by Lundin‭  ·  edited 6y ago by Lundin‭

Answer
80%
+6 −0
Q&A Mysterious little cases hanging on street wirings in India

Based on this nerdy but seemingly trustworthy site: https://www.prc68.com/I/TelephonePoles.shtml Then I would guess these are cable TV repeaters/signal amplifiers. Classic cable TV uses copper co...

posted 4y ago by Lundin‭

Answer
80%
+6 −0
Q&A Standardized schematic/layout file formats for PCB CAD tools?

As we know there exists numerous different kinds of PCB CAD software. The big ones seem to be Eagle, KiCAD, Altium, OrCAD, Solidworks, DesignSpark and probably a few more. When it comes to mechani...

1 answer  ·  posted 4y ago by Lundin‭  ·  last activity 4y ago by Olin Lathrop‭

Question pcb-layout file-formats
80%
+6 −0
Q&A Location of AGC in a superheterodyne RX chain

RF novice here. If using a superheterodyne receiver for the purpose of FM/FSK modulated signals, I'm wondering if the location of an optional automatic gain control (AGC) circuit is always placed o...

0 answers  ·  posted 4y ago by Lundin‭

Question RF superheterodyne automatic-gain-control
80%
+6 −0
Q&A What are the most common causes of CAN bus communication errors?

I can't get my CAN bus application (ISO 11898-2, classic "high speed CAN") working and I'm receiving various CAN error frames. These error frames manifest themselves as sequences of 6 bits with my ...

1 answer  ·  posted 6y ago by Lundin‭  ·  last activity 6y ago by Lundin‭

Question baudrate termination
77%
+5 −0
Papers Troubleshooting a microcontroller that has stopped responding

When working with microcontrollers, one will sooner or later face the situation where the MCU is not responding. Either it's a new PCBA you are trying to get up and running, or something that prev...

posted 2y ago by Lundin‭  ·  edited 10mo ago by Lundin‭

77%
+5 −0
Q&A MAX485 transceivers breaking, Pi filter generating spikes?

Problem description & speculation about causes I've having a problem with MAX485 transceivers breaking intermittently, passing our production tests but later failing. The error phenomenon is w...

2 answers  ·  posted 2y ago by Lundin‭  ·  last activity 2y ago by Andy aka‭

Question EMC pi-filter RS-485
77%
+5 −0
Q&A Titanic submarine control considerations

Coming from a background of safety-related applications and industrial control systems, with some maritime applications experience, I could offer a few insights. These kind of game controls are li...

posted 3y ago by Lundin‭

Answer
77%
+5 −0
Q&A How to perform initialization of static storage variables in embedded systems?

Things happening/things we want to happen before main() is called: The code executed before main() is often referred to as "the C runtime (CRT)" or just "start-up code". This code is typically pro...

posted 4y ago by Lundin‭  ·  edited 3y ago by Lorenzo Donati‭

Answer
77%
+5 −0
Q&A How to perform initialization of static storage variables in embedded systems?

Whenever declaring a variable in C outside a function at file scope or when specifying it as static, it gets assigned a life time known as static storage duration. Meaning it will be accessible thr...

1 answer  ·  posted 4y ago by Lundin‭  ·  last activity 3y ago by Lorenzo Donati‭

Question C EMI RAM storage-duration initialization
77%
+5 −0
Q&A What effect will extreme temperatures have on characteristic impedance of a wire?

My scenario is this: radio equipment controlling an overhead crane inside a steel mill. Specifically it is used for transporting melting pots. With the current, unfortunate installation, the antenn...

2 answers  ·  posted 4y ago by Lundin‭  ·  last activity 3y ago by Lorenzo Donati‭

Question impedance-matching antenna RF Impedance coaxial
77%
+5 −0
Meta Creating a FAQ: how to read a datasheet

After reading various low quality questions Someplace Else today, it (once again) occurred to me that a whole lot of people, mostly hobbyists and engineering students, have no clue how to do the mo...

4 answers  ·  posted 4y ago by Lundin‭  ·  last activity 3y ago by Lorenzo Donati‭

Question discussion papers faq
77%
+5 −0
Q&A Flyback transformer with Intrinsic Safety

Disclaimer: I'm not an expert of EX classification myself, but I once was project/product manager for such a project (a zone 0/20 intrinsic control system product). While I can't answer the questio...

posted 5y ago by Lundin‭

Answer
77%
+5 −0
Meta Is English translation of technical terms on-topic?

Quite often, I find myself knowing the technical term of an electronic component in my native language, but not the proper English term. For example when translating a manual or other technical doc...

3 answers  ·  posted 5y ago by Lundin‭  ·  edited 3y ago by Olin Lathrop‭

Question discussion on-topic
77%
+5 −0
Q&A Is there a way to reliably measure antenna return loss outside a lab?

Assume I'm a complete beginner at RF. Is there a way to measure return loss of an antenna, in such a manner that I can reliably reproduce the measurement later on? What I'm talking about is produ...

2 answers  ·  posted 5y ago by Lundin‭  ·  last activity 4y ago by TonyStewart‭

Question antenna RF return-loss spectrum-analyzer
77%
+5 −0
Meta How about a new section for code reviews?

Regarding scope of embedded systems/firmware When we released Software Development, I made a push to make all forms of embedded systems programming off-topic and re-direct such to this site. The ...

posted 5y ago by Lundin‭  ·  edited 5y ago by Lundin‭

Answer
77%
+5 −0
Q&A What should be considered when picking a flyback diode?

Which are the parameters I should looking for when picking a flyback diode to be placed across a generic coil, such as a relay? That is: a coil with plain on/off functionality, for example a 24VDC ...

2 answers  ·  posted 5y ago by Lundin‭  ·  edited 3y ago by Lorenzo Donati‭

Question semiconductor-diode circuit-design snubber-diode snubber-circuit
75%
+4 −0
Q&A Communication with microcontroller via usart - using strings a good idea?

Olin has posted a good answer regarding the pros and cons. To add to that, look at where your C code is going: if(strcmp...) else if (strcmp...) and so on. This is a common mistake in embedded C wh...

posted 1mo ago by Lundin‭  ·  edited 1mo ago by Lundin‭

Answer
75%
+4 −0
Meta Internal server error 500 while searching for tags

Searching for a tag name using a string that doesn't exist in any tag causes internal server error 500. Reproduce this way: Click Tags in the menu In the search box, type something that doesn'...

0 answers  ·  posted 2y ago by Lundin‭  ·  edited 2y ago by Monica Cellio‭

Question bug status-completed
75%
+4 −0
Q&A What are these mystery components (one of wire coil, another labeled "100-10L A9")?

The black one is a tantalum capacitor. There are various weird ways to mark these (because typing out 100u instead of 100- would be too easy...). If I'm correct in this case, I believe: 100 stan...

posted 2y ago by Lundin‭  ·  edited 2y ago by Lundin‭

Answer
75%
+4 −0
Q&A Most reliable galvanic isolation technology for extreme EMI environments?

I'm working on another project with extreme EMC requirements as per various notorious military EMC standards. Civilian product but for military use, and as such subject to the toughest levels of co...

1 answer  ·  posted 2y ago by Lundin‭  ·  last activity 2y ago by Olin Lathrop‭

Question EMI digital-isolator galvanic-isolation