I2C problems

Started by iamthewilldinkel May 8, 2006
Hi all,

I'm using the HCS12 on a PK-HCS12E128 dev board. I'm trying to
interface with a D51307N real-time clock chip using the I2C bus and
having some issues.

Can anyone please point me in the direction of some resources which
may help me crack this nut?

PS: I looked in the forum for support; the only I2C code -- which was
commented in French -- I could find was for the GPIO pins. This chip
has an I2C controller built in.

--- In 6..., "iamthewilldinkel" wrote:
>
> Hi all,
>
> I'm using the HCS12 on a PK-HCS12E128 dev board. I'm trying to
> interface with a D51307N real-time clock chip using the I2C bus and
> having some issues.
>
> Can anyone please point me in the direction of some resources which
> may help me crack this nut?
>

You can try this link : http://www.almy.us/index.html and read the
text book. All is here.

Hope this helps

JCL

> PS: I looked in the forum for support; the only I2C code -- which
was
> commented in French -- I could find was for the GPIO pins. This chip
> has an I2C controller built in.
>





On May 08, 2006 10:09 PM,
iamthewilldinkel wrote: -

> I'm using the HCS12 on a PK-HCS12E128 dev board. I'm trying to
> interface with a D51307N real-time clock chip using the I2C bus and
> having some issues.
>
> Can anyone please point me in the direction of some resources which
> may help me crack this nut?

I've got some code for the 9S12DP256 and DS1307. The code is in
assembler not C, so it may not be suitable for your purposes, but if
you contact me off list I shall be happy to send it to you.

Mike Elphick