Hi to all,
I have probably found my problem.
I'm using MKE04 with 48MHz system clock.
I have found that :
a) some series of MKE04 are very sensitive on system clock seting.
b) ICS_C3 Control register is no "fine" trim. It has great effect on system clock.
So you need to be very careful when changing this settings.
c) Different series of MKE 04 has very different setting of ICS_C3.
d) Too low value of ICS_C3 will block the cpu.
e) This lock of CPU is not possible detect in any internal register.
I have used the ICS_C3 to calibrate comunication speed with master by UART.
It is necessary to proceed from HIGHER valus of ICS_C3 (higher value increase period of system clock). So I check the factory setting of ICS_C3 and start tunning with higher value.
I can set all series of MKE04 I have now.
Regards
Jaroslav