Skip to contentSkip to conversation

SPI and I2C

Xenomai-help Dirk Eibach 2 participants 2 messages Oct 13, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

has anybody already thought about RTDM drivers for SPI and I2C? Is there any development for a generic solution in progress?

Cheers.

Signature · 1 line
Dirk Eibach <[email protected]>
#1 lore raw
Quoted 4 lines · Dirk Eibach

Hello,

has anybody already thought about RTDM drivers for SPI and I2C? Is there any development for a generic solution in progress?

I haven't heard of any activity or thoughts yet (at least I do not recall them right now).

While reading some related SPI patch on LKML, I once thought about this issue for a (short) while. I didn't grabbed immediately how the execution model of the vanilla SPI framework precisely looks like, but it seemed to involve quite some queueing and IRQ handling. And this smelled like reusing code or even just the design may not be straightforward.

Did you already have a look at the related Linux frameworks? I think the first step should be to collect requirements of a generic real-time-capable SPI and I2C infrastructure and compare them with the existing stack designs. Maybe one can at least reuse the API to make driver migration as smooth as possible.

Jan