hello,every one ,
I have a S12XEP100 demo kit here .
When I perform asm WAI; even though I have set
CAN0CTL0_CSWAI = 0;
CAN0CTL0_WUPE = 1;
I send CAN frame from CANKing , it doesn't affect my kit .This means that CPU is also in wait mode,it doesn't work. CAN you help me?
Best regards.
Yours Eva
Hello
I work with borad S12XEP100 also but in my application i dont use the life phase so i configured my MSCAN in normal mode . bu i read the datascheet i think that you must write this bit before sleep mode entry for the selected function to take effect.
if you want to manage the wake up mode you must manage the sleep mode also thus you must write correctly all bits in all registrs assiated at thise life phse.