Jorge - The code I have from MQX does not match the code from the code change from 'USB with the TWR-K60F120M...'
The USB code change also mentions changing MCG_C2. Is it necessary to change MCG_C2?
My code in bsp_cm.c was
/* MCG_C10: LOCRE2=0,??=0,RANGE1=2,HGO1=1,EREFS1=1,??=0,??=0 */
MCG_C10 = (uint8_t)0x2CU;
I changed it to
/* MCG_C10: LOCRE2=0,??=0,RANGE1=1,HGO1=1,EREFS1=1,??=0,??=0 */
MCG_C10 = (uint8_t)0x1CU;
Correct?
Also there are multiple settings of MCG_C10. Do they all have to be changed? or just the one prior to the hang?