WEI LI

TURN OFF XIRQ

Discussion created by WEI LI on Nov 21, 2011

MCU: M9S12XHZ256

 

Actually, after restet , or power on, X bit in CCR register is 1,so XIRQ function is turned off.

But in my project, my colleague write "asm andcc #$bf;", so , XIRQ function is turned on, it's waste my many time to find why

the mcu run unnormal when XIRQ PIN is connected to gnd.

 

so , it's easy that ,just note "asm andcc #$bf;".

Outcomes