Other Parts Discussed in Thread: HALCOGEN
I'm trying to clear the error counters in the chip, but I'm not having any success. I've looked through the forums and didn't get much help.
In the error interrupt, I have the following:
if (notification & (1 << 6)) { /* Too many errors (EWarn) */
/*
* Clear the counters by asserting Init, waiting for the ack
* then deasserting Init.
*/
node->CTL |= 1;
while ((node->CTL & 1) != 1)
;
node->CTL &= ~1;
}
But subsequent interrupts still have the EWarn bit set, and eventually it goes into passive mode (and the counters still don't get reset). What am I doing wrong?