IIC... - HCS08DZ60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IIC... - HCS08DZ60

1,252 Views
jOJo73
Contributor I

Hi !

 

I want to use IIC module on a HCS08DZ60 CPU. I look for many "examples" on the forum and on the website of Freescale, and I tried to create some simple functions IICWrite and IICRead. I don't success.

The examples I have seen are complicated, they all manage Master and Slave mode, and also arbitration...

I just want to make a simple application : my microcontroller is always the master, and the slave are a RTC and an EEPROM.

 

Does somebody have done this before ?

Thank you very much for your help !

 

jOJo

 

Added p/n to subject.

Message Edited by NLFSJ on 2009-05-11 04:04 PM
Labels (1)
0 Kudos
2 Replies

359 Views
wenyabin
Contributor I

en,ha ha:womanlol:

0 Kudos

359 Views
mad_dad
Contributor II

I put an example of a simple master/slave http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=9804&query.id=13797...

 

Message lengths are preset. No restarts used. Used to send one trasnmit message and one receive message to 5 slaves every 20ms.

 

If you using an RTC and a Eprom i assume their protocol is preset and therefore you will need to send addresses etc then request data returned.

 

if you're looking for an out of the box example, you'll probably be out of luck.

0 Kudos