casting to union type vs struct type

Started by sadash 4 months ago10 replieslatest reply 4 months ago93 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 4 months ago18 replieslatest reply 4 months ago99 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 4 months ago17 replieslatest reply 4 months ago228 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 4 months ago9 replieslatest reply 4 months ago256 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 4 months ago10 replieslatest reply 4 months ago111 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 4 months ago22 replieslatest reply 4 months ago129 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 5 months ago80 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 6 months ago2 replieslatest reply 6 months ago56 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...

Registering will allow you to participate to the forums on ALL the related sites and give you access to all pdf downloads.

Sign up

I agree with the terms of use and privacy policy.

Try our occasional but popular newsletter. VERY easy to unsubscribe.
or Sign in