Hi,
executing the STOP instruction in the FCS will halt the CPU and it don't seem that an interrupt is generated.
But maybe my configuration of the chip is wrong so that this leads to the described problem?
my setting is
CONFIG1: COPRS=0,LVISTOP=1,LVIRSTD=0,LVIPWRD=0,LVI5OR3=1,SSREC=0,STOP=1,COPD=1
CONFIG2: IRQPUD=0,IRQEN=0,??=0,OSCOPT1=0,OSCOPT0=0,??=0,??=0,RSTEN=0
PTA: PTA5=0,PTA4=0,PTA3=0,PTA1=0
PTAPUE: OSC2EN=0,PTAPUE5=0,PTAPUE4=0,PTAPUE3=0,PTAPUE1=0
DDRA: DDRA5=1,DDRA4=1,DDRA3=1,DDRA1=1,DDRA0=0
KBIER: AWUIE=1
KBSCR: ACKK=1