Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

ASCII LSB-MSB logistic

Status
Not open for further replies.

qtommer

Member
ASCII encoded bytes are mostly transmitted from LSB-MSB (LSB first) in various MCU UARTS.
Is there any reason why it goes from LSB-MSB? Any convention/logistic reason why this happens? Thanks!:)
 
They are ALWAYS sent the same way, things wouldn't work if they weren't.

Presumably the direction was specified in the original RS232 design, and has remained the same ever since - it really makes no difference which way you do it, as long as it's always the same.
 
Currently is is simply a convention. It could have been done both ways. The important thing is that everyone agrees so as not reverse the bit order.

To find why it was originally done one would have to find the first uart, or maybe even the first use of serialized data. Not sure how many decades back and what level of technology one would have to look into.

Heck it could go back to semaphore flag signaling, and at that level of technology it would also be strictly a convention too.

EDIT: RS232 is a somewhat modern technology. Prior to it teletypes were using current loop interfaces.
 
Last edited:
Currently is is simply a convention. It could have been done both ways. The important thing is that everyone agrees so as not reverse the bit order.

To find why it was originally done one would have to find the first uart or maybe even the first use of serialized data. Not sure how many decades back and what level of technology one would have to look into.

Heck it could go back to semaphore flag signaling, and at that level of technology it would also be strictly a convention too.

I would have thought back to teletypes etc. - there 'may' have been a mechanical reason for it originally?.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top