SPI port for RS232 communication

Status
Not open for further replies.

edaboard_rao

Newbie level 1
Joined
May 29, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
Hi
can anybody help me out by giving any idea , in using SPI port of a procesor for UART i.e. RS232 communication.If yes could pls tell me how.
 

Hi,
In SPI, the data is sent out and received synchronised with a clock and even to receive a byte, you have to send out a dummy byte where as in a UART the data TX/RX is done asynchronously using start stop bits to package the data bytes in transmission. So, for a byte TX/RX, it requires a minimum of 10 bits for UART.

SPI is based on a master slave concept where it is always the responsibility of the master to issue clocks and send or receive a byte. There need not have any such relationship between two devices communicating over a UART.

Since these two systems are inherently different, they can not be connected directly, you need a converter in between.

Regards,
Laktronics
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…