Quantcast
Viewing all articles
Browse latest Browse all 5261

Device Tree • Re: MCP23017 overlay error -EIO: can't write IOCON 32


no need to wait for me for any feedback. This is out of curiosity for me, but not high prio. I will simply evaluate the device to see if I can use it in future projects.

how can i enble than the interrupt it's unclear to me
it is enabled; It's a global interrupt (each change on a MCP23027 pin configured as input will trigger an interrupt)

What I want to look at is a different topic. Need to investigate into that first to see if I have the right understanding of this device capability.
3.5.4 DEFAULT COMPARE REGISTER FOR INTERRUPT-ON-CHANGE
The default comparison value is configured in the DEFVAL register. If enabled (via GPINTEN and INTCON) to compare against the DEFVAL register, an opposite value on the associated pin will cause an interrupt to occur
Note: after reading the datasheet I come to the conclusion that this feature is not what I've expected, an interrupt to be triggered only when the related inputs equal a preset bitmask.
Question is why I don't see it than on my raspberry pi?

Statistics: Posted by koerli — Thu Dec 19, 2024 8:48 pm



Viewing all articles
Browse latest Browse all 5261

Trending Articles