Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

Not able to clear pending CISR Flag in interrupt routine *>Help please

2006-07-03 by Ivo Strebel

Hello 68300 community,

CPU: 68332

I have no clue what's going on. I use six TPU-Channels as UART (3*Rx,3*Tx).
At some point one of those channels * not always the same * is not able to delete 
his own CISR flag. This leads to an endless interrupt loop -> system crash. 

The CIER and the TICR register looks fine to me; they contain the same
value like before the crash. 

I even can not change the CISR flag with my debugger when the system
is in the endless interrupt loop. The CISR Flag of the hanging channel
seems to be kind of locked.

Note:
I reset the CISR Flag by doing  AND.W  #$FFFE,CISR  (for example)
It works half an hour ok, but at some point it hangs.

Please help me, why can't I clear the CISR Flag?

Ivo


-----------------------------------------------------
Ivo Strebel
SCHILLER AG, Altgasse 68, CH-6341 Baar
Phone +41 41 766 42 42 / Fax +41 41 761 08 80
Direct Phone / Voice Box +41 41 766 43 55
Ivo.Strebel@...  / www.schiller.ch

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.