logo       

ExternalInterrupt Problem: msg#00672

hardware.microcontrollers.tini

Subject: ExternalInterrupt Problem

>...
>> The result is: Trigger is owned.
>> but I don't know who owned the trigger. the serial
>> server is stop, and just one process was running.
>...
>This appears to be a bug in 1.11 for the 400. I've put it on the list to
>fix for 1.12 firmware.
>...
>Bryan Armstrong
Greetings,
Is the whole ExternalInterrupt class broken for 1.11 on the 400?
I cannot get buttons to work yet either. Even the example from the TINI book
does not work.
In addition to the Trigger error, I have found:
The EX1 bit is not set by default in the IE register.
Setting EX1 is required, but does not fix ExternalInterrupt.
Edge triggering is the default. Clearing IT1 in TCON for level triggering
causes the process to hang while the button is held, but no
ExternalInterruptEvent seems to be generated.
I have buttons on all 5 interrupts, so something special is needed
anyway. How can I link them to generate an event like the ExternalInterrupt
is supposed to?
Docs seem to indicate I can install interrupt handlers. Then, suspend a
thread from an event generator method.
But, System_ThreadResume cannot be called from the ISRs. So, how do you
resume? Is there good example somewhere?
Thanks,
Bill Johnson
SHOT (R)


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise