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
Hello yikun liu,
Which License of CW do you used ? Special , Basic , Standard , Professional ?
If use Professional , you can use the FreescaleCAN component, it includes the interrupt code in event .c :
other versions only have the component of Init_MSCAN, this component only do some initialization function.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------