Changing External Clock Configuration on Kinetis_120MZ_SC

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

Changing External Clock Configuration on Kinetis_120MZ_SC

1,307 次查看
mithunp_s
Contributor III

Hi All,

My customer is using 30MHZ crystal in their target board and want to use UART0 for communication, I have downloaded Kinetis_120MZ_SC sample code and in the hello_Word program and in the Trw-K60F120M.h  there is below settings, If I want to change the crystal value CLK1_FREQ_HZ to 30000000 & TERM_PORT to UART0 does it support.

Please let me know if other settings need to be configured

#define CLK1_FREQ_HZ        12000000

  #define CLK1_TYPE           CRYSTAL

/* Serial Port Info */

  #define TERM_PORT           UART5_BASE_PTR

Regards

Mithun

标签 (1)
0 项奖励
回复
3 回复数

1,192 次查看
guillaumetiffin
Contributor III

Hi all,

I'm also looking for changing my project from MK60FN1M0 to MK60FX512.

But is there a real difference between the two target?

Because my project works on a MK60FX512 even if it's designed for a MK60FN1M0.

Can I have some trouble without changing the coonfiguration?

Regards,

Guillaume

0 项奖励
回复

1,192 次查看
mithunp_s
Contributor III

Hi Zhe Tian,

Thanks actually in my customer target board they are using MK60FX512 and the Kinetis_120MHZ_SC sample code are based on MK60FN1M0 please help me how can I port them/change them to work for MK60FX512.

Regards

Mithun

0 项奖励
回复

1,192 次查看
Paul_Tian
NXP Employee
NXP Employee

Hi, Mithun

Yes, you can change it. The reminder is please pay attention to baud rate changing. Thanks.

Best Regards

Paul

0 项奖励
回复