Hello. I had e2studio v1.00, so that was also a problem. I now have 24MHz operation with this settings: /* Set fMX */ CMC = _00_CGC_HISYS_PORT | _00_CGC_SYSOSC_DEFAULT; MSTOP = 1U; /* Set fMAIN */ MCM0 = 0U; OSMC = _10_CGC_IT_CLK_FIL; /* Set fIH */ HIOSTOP = 0U; And these settings in vector_table.c: const unsigned char Option_Bytes[] __attribute__ ((section (".option_bytes"))) = { 0xef, 0xff, 0xe0, 0x85 }; Thanks!
↧