Re: Compact Flash operation by interrupts
- From: Vladimir Vassilevsky <antispam_bogus@xxxxxxxxxxx>
- Date: Thu, 31 May 2007 14:11:10 GMT
Michael N. Moran wrote:
I am trying to implement a non-blocking driver for the CF card. So, this driver has to operate by CF interrupt rather then by polling the registers.
Without knowing more details, I *can* say that I have
successfully used the CF READY line as an interrupt
mechanism, which (iirc) mirrors the ready status that
you are polling.
Yes, you are right. I had to discover it myself; the documentation is rather poor and often misleading. The IRQ is active by the raising front. In the default configuration, on the sector write operation the IRQ is generated twice: once after the "write sector" command is issued, indicating that the CF is ready to accept the data, and the second time after the actual write operation is complete.
Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
.
- References:
- Compact Flash operation by interrupts
- From: Vladimir Vassilevsky
- Re: Compact Flash operation by interrupts
- From: Michael N. Moran
- Compact Flash operation by interrupts
- Prev by Date: an interesting CAN driver issue
- Next by Date: any embedded x86 board less than $200 USD?
- Previous by thread: Re: Compact Flash operation by interrupts
- Next by thread: Video or Mac ? Divx work or not work?
- Index(es):
Relevant Pages
|