Dear anyone who read this:
I found a bug in PE:
When you add a Init_UART in you project, here my chip is KL02z32, It seems that you can't setting the interrupt of the uart to 1-3, or you will get an error when you generate PE code.
the error is as following:
Description Resource Path Location Type
Generator: FAILURE: Unexpected status of script: Drivers\Common\CommonRegInitialization.prg, please contact Freescale support. R485Repeator Cpu Processor Expert Problem
But the setting 0 works well.
anyway, I have not checked on the datasheet, maybe the interrupt of uart is limited on int0...maybe I will study the datasheet a few hours later and I will update in the following posts if there are any needed.
Thanks for reading and anything for all~ and hope there are fixes for this issue( or this bug.)
BR.
/Zona