MPC8260 - I2C - single channel 1-wire master (DS2482) - 1
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
MPC8260 - I2C - single channel 1-wire master (DS2482) - 1

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
Guest






Posted: Fri Dec 31, 2004 7:56 am    Post subject: MPC8260 - I2C - single channel 1-wire master (DS2482) - 1 Reply with quote

Hi,

I'm writing an I2C driver for the MPC8260 that needs to read/write to a
1-wire EEPROM via a single channel 1-wire master. Since I'm new to the
embedded world, I was wondering, if I want to send a READ ROM command
to the 1 wire EEPROM, how must I go about doing that via software? How
must I format the Tx buffer of the I2C to send that out to the 1-wire
EEPROM via the single-channel 1-wire master?
Thanks for your help in advance.

Dead Fish
Back to top
Gary Kato
Guest





Posted: Fri Dec 31, 2004 8:26 pm    Post subject: Re: MPC8260 - I2C - single channel 1-wire master (DS2482) Reply with quote

Quote:
Since I'm new to the
embedded world, I was wondering, if I want to send a READ ROM command
to the 1 wire EEPROM, how must I go about doing that via software? How
must I format the Tx buffer of the I2C to send that out to the 1-wire
EEPROM via the single-channel 1-wire master?

Have you read the DS2482 datasheet?
Back to top
Guest






Posted: Fri Dec 31, 2004 8:36 pm    Post subject: Re: MPC8260 - I2C - single channel 1-wire master (DS2482) - Reply with quote

Yes, I have. I've looked at the I2C Communication Examples many, many
times. Do I format the TX buffer for each byte of data or can I format
it to take several bytes of data?
Back to top
Rene
Guest





Posted: Fri Dec 31, 2004 9:12 pm    Post subject: Re: MPC8260 - I2C - single channel 1-wire master (DS2482) - Reply with quote

<deadfish007@yahoo.com> schrieb im Newsbeitrag
news:1104507377.039287.271450@c13g2000cwb.googlegroups.com...
Quote:
Yes, I have. I've looked at the I2C Communication Examples many, many
times. Do I format the TX buffer for each byte of data or can I format
it to take several bytes of data?

Do yourself a favour and write a bit banging driver. It is much easier than
using the I2C unit. Unless you have fully understood the programming model
of the CPM, your driver will be up much faster.

- Rene
Back to top
Guest






Posted: Fri Dec 31, 2004 11:12 pm    Post subject: Re: MPC8260 - I2C - single channel 1-wire master (DS2482) - Reply with quote

Thanks to everyone that have responded. I've figured it out.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB