??? 08/14/06 19:55 Read: times |
#122222 - I could turn it off Responding to: ???'s previous message |
I could turn it off but it goes against the grain a wee bit,
I have tried turning it off at the start of the ISR and then back on at the end of the ISR, but that had no effect. Basically if I turn it off, it could be possible for me to miss a state change on the inputs, the kepad ISR is good to about 600kHz (@7.373MHz) (correct me if I am wrong), I would like to count at about 100kHz, my inputs are all debounced (coming from another microcontroller). If I have to turn it off and then turn it on with a timer, I might as well use debounce rountines, with a really short timer, and ditch the KBI altogether, that would be a real shame as it holds such promise. I found AN10184 from Philips last night and they to turn off the KBI in the ISR and start a timer. Thanks for any ideas |
Topic | Author | Date |
LPC 9xx Can't clear KBIF | 01/01/70 00:00 | |
Turn it off? | 01/01/70 00:00 | |
I could turn it off | 01/01/70 00:00 | |
to turn the KBIF, you have to change the condition | 01/01/70 00:00 | |
Thanks Erik - I'll give it a go | 01/01/70 00:00 | |
an added comment | 01/01/70 00:00 | |
What is the rate of change on the input signals? | 01/01/70 00:00 | |
nothing of value except the ability to wake up the | 01/01/70 00:00 | |
Interrupt for pulse train | 01/01/70 00:00 | |
that's basically what the KBI does | 01/01/70 00:00 | |
Rate of change ~<100kHz | 01/01/70 00:00 | |
why not? | 01/01/70 00:00 | |
I did not discuss | 01/01/70 00:00 | |
It is ok but KBIF is set forever | 01/01/70 00:00 | |
that you do not clear the reason | 01/01/70 00:00 | |
I change the state of the pin before | 01/01/70 00:00 | |
could be the problem | 01/01/70 00:00 | |
Simulators problem![]() | 01/01/70 00:00 | |
Remote Control using AT89C2051 schematic | 01/01/70 00:00 | |
just great | 01/01/70 00:00 | |
Another BS answer. | 01/01/70 00:00 | |
No BS, I did | 01/01/70 00:00 |