Hi
MK60N1M0 + MQX 4.1 - IAR
I have tried everything to make my board to run my code but I haven't succeeded.
Can someone just show me a piece of code that uses an external 4MHz cristal clock and blinks a LED at port B7 ?
It can be even alternatively in the Kinetis Design Studio.
Thanks in advance
Luiz
Hi Luiz,
Can you please refer to the examples comes with MQX v4.1.
These examples are located in {MQX}\mqx\examples\gpio\build\.
If these there are still problems, then, please reply!
I've seen the examples, but i need to run code from my own board ( not a tower ).
Based on the examples, my code is stoped while trying to check the source of the FLL reference (bsp_cm.c)
void __pe_initialize_hardware(void)
{
..........
while((MCG_S & MCG_S_IREFST_MASK) == 0x00U) { /* Check that the source of the FLL reference clock is the internal reference clock. */
}
while((MCG_S & 0x0CU) != 0x00U) { /* Wait until output of the FLL is selected */
}
Hi Luiz,
I don't think your issue is a MQX issue.
I would suggest creating an new project in CodeWarrior with Processor Expert tools for MK60N1M0 and then configure the clock module.
Then generated code to see if this new created project works on your side.
this project is just testing your firmware to see if it works well!