Xenomai real time driver and normal linux driver mutual exclusion

From: melinda develey <hidden>
Date: 2007-03-11 21:57:06

I have an I2C bus, some devices should be controlled by a normal linux driver  but an ADC and a DAC on this bus should be controlled by a real time xenomai driver because, after a READ from the DAC I have to write to the ADC every 500 usec. I tried to use the normal linux driver from a xenomai real time user mode task but reading DAC, doing some computations, and writing to the ADC takes more than 500 usec. I thought to write both a RTDM driver for my 8xx I2C controller and a normal linux driver, but, how may I serialize access to the 8xx  I2C controller from these drivers?

Bye,
Antonio.

 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help