Interfacing between Little and Big endian

Status
Not open for further replies.

K Srinivas Pavan Kumar

Member level 3
Joined
Jun 20, 2015
Messages
66
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
524
Hi friends,
I have been to interview on last week.
They have asked me the question as
If your laptop is Little Endian and Microntroller is Big Endian, how to interface the communication between them.Can anybody solve this for me
 

As most interview questions, it's rather an entry point to show your knowledge and comprehension than asking for a decisive answer.

You need to specify the kind of communication and involved protocols. Many communication protocols are already prescribing an endianness, if it's different from the default used by one of the peers, the translation would be already implemented in the driver software and you don't need to care for.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…