Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/02/08 07:37
Read: times


 
#152872 - Serial data
Responding to: ???'s previous message
Kapil Chandrakant Kinikar said:

I don't see what that has to do with your question?

1> how controller saves D out pin., as controller is 8 bit, but adc is 12 bit. and adc communicates through serial protocol.

"Serial" means, by definition, that the bits are sent one at a time, one after the other.
So, to send 12 bits, you have to:
1. Get the 1st bit, and send it;
2. Get the 2nd bit, and send it;
3. Get the 3rd bit, and send it;
:
etc
:
12. Get the last bit, and send it;

and the reverse happens at the receiver.

Hint: Think of a shift register...

Of course, to store the 12 bits using an 8-bit controller will require you to use one whole byte (8 bits), plus half of another byte (4 bits).

2> if controller wants to send the data, to the RS 232 port, then how the communication will take place.

See: http://www.8052.com/users/jonled/RS232gd.pdf

Also: http://www.8052.com/tutorial.phtml



List of 4 messages in thread
TopicAuthorDate
Serial data            01/01/70 00:00      
It's two channels of communication            01/01/70 00:00      
about i2c bus            01/01/70 00:00      
adc 3201 interface with 89c52            01/01/70 00:00      

Back to Subject List