I2C bus?

Started by elalex_76 April 25, 2006
I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i
don't think it has a I2C bus. Is there a way to connect a sensor
(Devantech SRF08)that uses I2C bus to the serial bus? I'm starting on
a project that would use these ultrasonic sensors, but i'm not to sure
on how to interface it to the board. Any help is appreciated
In a message dated 4/25/2006 2:22:02 A.M. Eastern Standard Time,
e...@yahoo.com writes:

I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i
don't think it has a I2C bus. Is there a way to connect a sensor
(Devantech SRF08)that uses I2C bus to the serial bus? I'm starting on
a project that would use these ultrasonic sensors, but i'm not to sure
on how to interface it to the board. Any help is appreciated
===================================There are examples of using 2 outputs for clk and data ... bit banging...
techarts has an example for a clock chip....
Thank you Bob, so i should look for examples of using 2 outputs for
clk and data? Not really sure on what exactly to look for? I'm new to
this yahoo group, and don't know where to look for these examples.. or
what exactly to look for.. thanks again, maybe you can pin point me in
the right direction.

--- In 6..., BobGardner@... wrote:
>
> In a message dated 4/25/2006 2:22:02 A.M. Eastern Standard Time,
> elalex_76@... writes:
>
> I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i
> don't think it has a I2C bus. Is there a way to connect a sensor
> (Devantech SRF08)that uses I2C bus to the serial bus? I'm starting on
> a project that would use these ultrasonic sensors, but i'm not to sure
> on how to interface it to the board. Any help is appreciated
> ===================================> There are examples of using 2 outputs for clk and data ... bit
banging...
> techarts has an example for a clock chip....
>
>
In a message dated 4/25/2006 1:04:43 P.M. Eastern Standard Time,
e...@yahoo.com writes:

Thank you Bob, so i should look for examples of using 2 outputs for
clk and data? Not really sure on what exactly to look for? I'm new to
this yahoo group, and don't know where to look for these examples.. or
what exactly to look for.. thanks again, maybe you can pin point me in
the right direction.

=========================================_http://www.technologicalarts.com/myfiles/support.html_
(http://www.technologicalarts.com/myfiles/support.html)
Get the disk for the adapt812... it has code for a philips i2c clock
chip...pcf8593
I'm new to
> this yahoo group, and don't know where to look for these examples.. or
> what exactly to look for.. thanks again, maybe you can pin point me in
> the right direction.

You might want to look on the Maxim site, www.maxim-ic.com as they
have a lot of I2C devices and had appnotes and code last time I
looked. Their code is usually for the PIC processor, but it can give
you some ideas about what is involved. I think Philips also has I2C
devices.

If you have access to the professional version of CW, there is a
process expert bean for I2C. The bean generates all the init and
methods needed for communications. I you don't have the prof version
you might be able to request an eval copy, and look at how the code is
implemented.

Regards

Bob lewis
Hello,

You can see in the Files directory of this group.
There's a zip file containing all the useful routines for working
with the I2C bus.
I've used and adapted them for my own.

Hope that helps.
JCL

--- In 6..., "elalex_76" wrote:
>
> I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i
> don't think it has a I2C bus. Is there a way to connect a sensor
> (Devantech SRF08)that uses I2C bus to the serial bus? I'm starting on
> a project that would use these ultrasonic sensors, but i'm not to sure
> on how to interface it to the board. Any help is appreciated
>
JCL wrote:
> You can see in the Files directory of this group.
> There's a zip file containing all the useful routines for working
> with the I2C bus.
>
Can someone tell me how to access the files directory. I have signed
in, but the files directory
as well as everything else under "members only" is grayed out.

> I've used and adapted them for my own.
>
I want to thank you all for helping me and pointing me on the right
direction. I got the file form the directory and i also looked at the
files in techarts. I will use them and if i run into trouble i will
post a question here, thanks again to all of you.
AC