This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
125 Views 3 Replies Last post: Feb 12, 2010 12:20 AM by todor RSS
todor Newbie 2 posts since
Feb 8, 2010
Currently Being Moderated

Feb 8, 2010 5:33 AM

Is there working I2C library for h8 series

Hello,

I am using the h83678 controller, and I simply can't make the internal I2C module to work.I've searched almost everywhere but I can't find library that I can include in my IAR embedded workbench project.Does anyone have such library or a working code?

Tags: i2c, h83678
ckgrier Novice 745 posts since
Mar 16, 2009
Currently Being Moderated
2. Feb 10, 2010 12:11 PM in response to: todor
Re: Is there working I2C library for h8 series

Since you use the IAR compiler, you'll need a library compiled with that tool.

 

However, the HW manual gives a very good description of the Master and Slave operations for Transmit and Receive. I2C can be picky with timing of transitions, so it you have access to a logic analyzer, it can help.

 

Look at the I2C Bus section of the manual, and make sure your code follows the flowcharts Make sure you know if you are using the Clocked Synchronous or the I2C Bus format.

More Like This

  • Retrieving data ...

Bookmarked By (0)