Forum Discussion
Altera_Forum
Honored Contributor
13 years agolibata-core Disabling IRQ with new Compact Flash
We use compact flashes a lot on Altera evaluations boards with CF - with a custom daughter card (on DE115 Terasic) and on custom PBCs. But -- have run into a problem. I'm attempting to track this do...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I went back to the NIOS II IDE and verified that this new CF has a controller problem, the interrupt IS NOT cleared when the status register is read. This goes against the ATA spec. We will be contacting the company. --- Quote End --- Hi jpe1313 and Kazuyasu, as I understand the C-440 cards have following behaviour: After 500ms host inactivity the card goes in idle mode to save energy. In idle mode it does not clear the interrupt line, even if the status register is read. The card wakes up from idle mode only by writing the command register. In normal cases the host always starts with an idle command after a longer inactivity.
- could your problem be related to this inactivity time?
interrupt down (56ns after rising iord-edge) During this IORDY, PDIAG-, IOCS16, RESET-, DMACK-, CS1, IOWR- high DMARQ, DASP low CS0 high, low before reading the status register
- what are the differences in your system?
- could you make a trace?