EmbeddedRelated.com
Forums

Sample code in C using codewarrior for I2C Driver MC9S12DP256

Started by dafnapeld August 25, 2004

Hi
Please anyone can show me a sample code in C using Codewarrior for reading
and writing using I2C interface for MC9S12DP256 Micro Thank you

Uri



dafnapeld wrote:

> Please anyone can show me a sample code in C using Codewarrior for reading
> and writing using I2C interface for MC9S12DP256 Micro

Uri, Try this web site: http://hc12web.de (the site is in English) I don't
know if exactly what you want is there but it has lots of examples.

Ron

--
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --

Ron Liechty - - http://www.metrowerks.com



MW Ron wrote:

> dafnapeld wrote:
>
>> Please anyone can show me a sample code in C using Codewarrior for reading
>> and writing using I2C interface for MC9S12DP256 Micro
>
> Uri, Try this web site: http://hc12web.de (the site is in English) I don't
> know if exactly what you want is there but it has lots of examples.

Also two more suggestions from our staff.

1- Create a sample project using Processor Expert and add a
InternalI2C Bean and see how Processor Expert generates code.

2- Go to Freescale web page for HCS12DP256

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP2
56B&nodeId62468636K100
and look for AN2318 and corresponding source code.

Sorry I didn't get this all in one.
Ron --
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --

Ron Liechty - - http://www.metrowerks.com