Smart pin mode 01110 (periodic/continuous: increment on A-rise) strangeness
The attached code will cause pin 1 to count the a-rises of pin 0, at about 100 per second, as output from debug.
If I change SP_SECTOR_UPDATE_TIMER to pin 1 instead of pin 0, pin 1 will still cycle, but pin 2 will not count the a-rises (the rdpin value is always 0). This seems to happen for any pin other than 0.
According to the documentation, pin selection %0101 selects the previous pin's input value. So in order for this to work for pins other than SP_SECTOR_TIMER = 0, I have to jumper that pin to the next pin. This fixes the issue with the counting.
But why does it work for pin 0 and 1 without the jumper? I have a eval board rev. B.