This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XPERCON strange behaviour on C167CS

I have a software that is now stable for years on C167CR and I wanted to port it to C167CS to add a 2nd CAN controller.
If in the Start167.A66 I add only the line
MOV XPERCON,#0401H
then the software is not working anymore (looks like if there were no interrupt anymore !).
This line is added before XPEN is set to 1.
I have double checked the XPERCON register when running OK, and it is set to 0401H !
So, what's wrong ? Does the writing in XPERCON change something else ?
Is there anybody to help me to understand that ?

0