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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/18/02 10:00
Read: times


 
#20931 - 87LPC767 and I2C
I use a 80C517A as a I2C-Master and a 87LPC767 as a slave to read in 8 analog channels. Now I wish to generate a message at the master, in which I first send the
slave-address(as first byte), the command to read a channel and the channel
number(as second byte), and then I want to receive the value of the channel
(as third byte) in the same message.

The normal sequence (described as "Combined format" in the I2C-Spec) for this message is:
Start-SlaveAdr-W-Ack-Command/ChannelNb-Ack-Start-SlaveAdr-R-Ack-ChannelValue-Ack-Stop

My version should be:
Start-SlaveAdr-R/W-Ack-Command/ChannelNb-Ack-ChannelValue-Ack-Stop

I dont want to send the slave-address again.
Is this posible?

List of 2 messages in thread
TopicAuthorDate
87LPC767 and I2C            01/01/70 00:00      
RE: 87LPC767 and I2C            01/01/70 00:00      

Back to Subject List