AnsweredAssumed Answered

HCS12XEQ384: Why does leaving CAN-Init mode change PORT-Registers? (Bug?)

Question asked by Sascha Pfengler on Jan 16, 2017
Latest reply on Jan 16, 2017 by Radek Sestak

At around the end of CAN0-Initialisiation, leaving CAN Init Mode changes several IO-Pin-Register values.

Has anyone else experienced this behaviour? (The CAN interface runs just fine)

 

At (see attachment) ...

/* Initmodus beenden */
CAN0CTL0 &= ~((uint8)CAN0CTL0_INITRQ_MASK);

... PORTAB changes from 0 to 0xFFFF

and PORTC changes from 0 to 2.

I haven't checked, if other registers suffer the same fate.

Original Attachment has been moved to: CanInit.c.zip

Outcomes