casting to union type vs struct type

Started by sadash 2 years ago10 replieslatest reply 1 year ago274 views
Why does casting a variable to union type works, but not with struct and array type in c language?

Questions re Coding Efficiency

Started by MaxMaxfield 2 years ago18 replieslatest reply 1 year ago125 views
I just received an email from someone saying that his commercial coding experience started with a programmable calculator with 512 bytes of memory -- he wend on...

UART communication with ACK/NACK error handling

Started by Keno 2 years ago17 replieslatest reply 2 years ago916 views
IDEA: I'm trying to establish firm communication between a transmitter and receiver; firm in a sense of some basic error handling. I'm trying to implement ACK(acknowledgement)/NACK(negative-acknowledgement)...

Cache memory vs volatile

Started by sadash 2 years ago9 replieslatest reply 2 years ago934 views
Can you explain how does volatile prevents the compiler optimization on caching of variables? What does MMU do in this context?

Communication protocol suggestions

Started by gold_spark7 2 years ago10 replieslatest reply 2 years ago128 views
I’m building a bus with 6 sensors. Each sensor has its microcontroller. We call it a node. There will be a master micro which will communicate with all the nodes. Sensor...

Five different ways of incrementing a variable in C?

Started by MaxMaxfield 2 years ago22 replieslatest reply 2 years ago153 views
Hi there, sorry to bug you again, but I always learn useful stuff here -- again I'm writing a column -- and again I would appreciate the benefit of your feedback.Question...
I have SG for the Z80. Does anyone else have any other versions of Sourcegate? Let's trade!!
I'm writing a column and I need to talk to auto engineers about what they are seeing with regards to shortages of semiconductor parts? Are you, or do you know,...

Docker like dedicated embedded system

Started by Emanuel_Allely 2 years ago87 views
Hi there!  :) I've just launched the new release of an open source embedded software named Luos.Luos is like Docker, but dedicated to embedded systems. In other,...

We are looking for speakers & topic recommendations for the upcoming Embedded Online Conference

Started by stephaneb 2 years ago2 replieslatest reply 2 years ago61 views
In our quest to make the Embedded Online Conference ever more interesting and insightful for Embedded Systems developers, we are reaching out to ask the EmbeddedRelated...

Please login (on the right) if you already have an account on this platform.

Otherwise, please use this form to register (free) an join one of the largest online community for Electrical/Embedded/DSP/FPGA/ML engineers: