MCUXpresso Config Tools

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCUXpresso Config Tools

跳至解决方案
2,314 次查看
john71
Senior Contributor I

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?

0 项奖励
回复
1 解答
2,029 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
7 回复数
2,029 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,029 次查看
john71
Senior Contributor I

Are the examples for K70 compatible to K10?

0 项奖励
回复
2,030 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,029 次查看
john71
Senior Contributor I

I see. Thank you.

0 项奖励
回复
2,029 次查看
john71
Senior Contributor I

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) 

0 项奖励
回复
2,029 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

2,029 次查看
john71
Senior Contributor I

Thank you.

0 项奖励
回复