I2C on MCF52235

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C on MCF52235

3,346 次查看
Schroederr
Contributor I

I am working on a project and am extremely new to using I2C for peripheral communications.  I am using the Coldfire MCF52235 microcontroller to interface with a peripheral device. I have researched I2C and understand how it works but I am having difficulty implementing it on my board.  I have found in several places standard code (iic.c) for initializing and communicating with I2C ( I have attached the code). 

I have not been able to determine where the header files for this code are located.  They are listed as:

common.h

iic.h

Is anyone experienced with this code and have any suggestions or know where those header files are located?

Thank You

Ryan

标签 (1)
0 项奖励
回复
2 回复数

381 次查看
Schroederr
Contributor I
I just noticed that the attached code did not upload.  Lets try that again.
0 项奖励
回复

381 次查看
mjbcswitzerland
Specialist V
Ryan

I don't know anything about the headers that you are looking for but you may like to look at the uTasker project. It includes also I2C drivers and simulates various I2C devices. See
http://www.utasker.com/docs/uTasker/uTaskerIIC_002.PDF
The project is completely free for non-commercial work.

Regards

Mark
www.uTasker.com


0 项奖励
回复