Hi, I'm doing a project with a 80C32 processor. I'm lacking, however, interrupts. Is there a (tricky) way to have more than the standard provided interrupts at your disposal? --Geert
Hello Drew, Indeed, 'tricky' means a way to have this without extra external components. But I read the response of Mark and this seems quite interesting. More over, I found a link to a site that explains just this (I think...): http://www.elecdesign.com/Articles/ArticleID/2189/2189.html Pls. have a look at this. Really interesting and maybe a solution for my problem. It's, like Mike said, based on a combination of some extra AND-gates (oops, still extra hardware, but not heavy ones...) and a few pins of a port you have to sacrifice. But I think that will do the job. Unless you have other, more 'tricky', ideas? --Geert
"like Mike said, based on a combination of some extra AND-gates (oops, still extra hardware, but not heavy ones...)" Actually Mike suggested Wire-AND - which would require no extra components!
If you load a timer with 0xffff and use the external input (counter) configuration, you will get an interrupt when the pin toggles. This can be done with all timers. With this method the interrupts can be edge, with the above hardware suggestion, they have to be level. A third possiblity is to use a derivative with comparators (philips LPC (<$1), Cygnal) and use the comparator interrupts. A fourth is to 'play' with the PCA/CCA. as a fifth I believe you can trick the UART, IIC and SPI interface interrupts to act as external interrupts. Erik