On the site in MCUXpresso Config Tools I choose New Configuration but I don't see in the list MK10FN1M0VLQ12. The chip is not supported in SDK?
Solved! Go to Solution.
Hi
Yes, the K10_120MHz is the same platform product with K70_120MHz product.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
The KSDK software doesn't support MK10FN1M0VLQ12 product so far. Sorry for that.
Customer could consider to use Processor Expert tool provided driver or related bare-metal project.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Are the examples for K70 compatible to K10?
Hi
Yes, the K10_120MHz is the same platform product with K70_120MHz product.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I see. Thank you.
Well... I port the code from K70 project.
//#include "MK70F12.h"
#include "MK10F12.h"
#include "gpio.h"
void GPIO_Init(void)
{
//Enable Port clocks
SIM_SCGC5 |= ( SIM_SCGC5_PORTA_MASK | SIM_SCGC5_PORTB_MASK | SIM_SCGC5_PORTC_MASK | SIM_SCGC5_PORTD_MASK | SIM_SCGC5_PORTE_MASK | SIM_SCGC5_PORTF_MASK );
PORTB_PCR11 = PORT_PCR_MUX(1) | PORT_PCR_DSE_MASK;
GPIOB_PDDR |= 1<<11;
GPIOA_PDDR |= 1<<11;
GPIOA_PDDR |= 1<<12;
GPIOA_PDDR |= 1<<28;
GPIOA_PDDR |= 1<<29;
}
I get errors:
'GPIOA_PDDR' undeclared (first use in this function)
'GPIOB_PDDR' undeclared (first use in this function)
'PORTB_PCR11' undeclared (first use in this function)
'SIM_SCGC5' undeclared (first use in this function)
Hi
You could use "make_new_project.exe" file to create new project based on [hello_world] demo.
I had tested to create a new project for K10 project with IAR IDE.
I need to modify the <common.h> file:
/*
* Include the cpu specific header file
*/
#if (defined(CPU_MK70F120))
#include "MK70F15.h"
#elif (defined(CPU_MK60F120))
#include "MK70F15.h"
#elif (defined(CPU_MK10F120))
#include "MK10F12.h"
#else
#error "No valid CPU defined"
#endif
Then in <twr-k70f120m.h> file, change CPU type:
//#define CPU_MK70F120
#define CPU_MK10F120
Remove driver sdram folder with <sdram.c>&<sdram.h> files.
Then remove DDR initialization function call at <sysinit.c> file.
After that, I could pass compile of the project.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you.