Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | I2C problems

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

I2C problems - iamthewilldinkel - May 8 17:09:55 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.





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: I2C problems - JCL - May 9 1:43:20 2006

--- In 6...@yahoogroups.com, "iamthewilldinkel" wrote:
>
> Hi all,
>=20
> 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.=20
>=20
> 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=20
text book. All is here.

Hope this helps

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

=20

=20

=20


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: I2C problems - Michael Elphick - May 9 1:56:55 2006

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=20
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.=20

Mike Elphick=20

=20

=20

=20



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )