Re: Interrupt questions
Vincent DEFERT <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot to all of you! I'm using a condvar so the client sleeps while the interrupt handler does its things, and cv_timedwait() returns EWOULDBLOCK. So I'm sure the interrupt handler is never called. > That should be enough to configure interrupts, do you see an > "... interrupting on XXX" string in the dmesg? Yes, the correct value show up here. > Do you need it to work in interrupt mode, or would it be enough to > use PIO mode at first? With a CPU running in the GHz range I didn't dare using polling, but I'll give it a try. > What is connected to i2c on the Odroid-C2 anyway? A 24C256 EEPROM. > Some of us have that board, so could try out what you have done so far > if that helps. Great! Vincent