This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001397] I2C driver for Kinetic microcontrollers


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397

--- Comment #30 from Ilija Kocho <ilijak@siva.com.mk> 2012-12-25 21:33:38 GMT ---
Hi Mike, thank you for your considerations.

(In reply to comment #28)
> I can make a couple of comments based on my experience with K60 and the
> Freescale POSIX I2C driver and a real application.
> 
> First is the issue of using the interrupt driver vs polling driver. I use the
> interrupt driver so that other tasks can operate while waiting. My application
> is PMBus, and clock stretching can slow things down, so I figure I don't want
> to be in a polling loop.

Polling is not an issue with eCos I2C driver. It is interrupt driven indeed.

My question is about the macro WAIT_BUS_READY() and my concern is for
multi-master system since, in a single master system it is returns immediately.

Perhaps you could give it a try in your environment. Any feedback is
appreciated.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]