AnsweredAssumed Answered

How to generate s12g64 mxCAN with PE in CW5.2

Question asked by yikun liu on Dec 18, 2018
Latest reply on Dec 20, 2018 by Alice_Yang

hi

   i want to use s12g64 mxCAN module,but PE can`t generate code completely

 

   E.g     no mxCAN rx/tx interrupt code in Event.c

              or  no External_clock_enable code in Cpu,c 

 

   i need add  " setReg8(CPMUOSC, 0x80U);" in EntryPoint() when i use oscillator clock.

   but sometimes PE could cover my code in generate c file and i need to add " setReg8(CPMUOSC, 0x80U);" again.

 

 

   so angry

   i need help

 

   thank you

 

Outcomes