Serial Communication Protocol

172 viewsOtherTechnology

Hey friends, hoping someone can help me out here: Why is it that UART SPI I2C and other serial communication protocols don’t utilize “source coding techniques” and “modulation techniques” to increase data rate – although technically they do use “channel coding” I think? Seems to me “source coding techniques” and “modulation techniques” would increase data rate right?!

Thanks so much!

In: Technology

3 Answers

Anonymous 0 Comments

because those protocols are built for simplicity, not bandwidth. it is very cheep to throw uart onto a device.

if you want high bandwidth use ethernet or usb (or pcie if its a daughter board connection). its going to cost more.

Anonymous 0 Comments

You don’t use source coding because you want to reduce complexity, these are simple protocols for simple purposes and add complex coding on the transceivers defeat the purpose.

You don’t use modulation because it’s more suited to sending the signal through a carrier wave over long distances and usually noisy long distances. These protocols are designed to connect to parts usually on the same PCB or over short wires, so no need to add complexity for modulation either. If you need modulation to send stuff two inches away, your PCB design is having serious problems.

Anonymous 0 Comments

Source coding and channel coding aren’t really interchangeable concepts.

Source coding is techniques to compress the data, like turning a raw bitmap into a compressed PNG.

Channel coding is techniques to transport data over some form of data link, like defining 1 as 5V and 0 as 0V on a wire. As SPI/UART/I2C are physical communication protocols, they use forms of channel coding. 

They’re often both used in a system. You could compress data with some kind of source coding and send it with channel coding.