Changing External Clock Configuration on Kinetis_120MZ_SC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Changing External Clock Configuration on Kinetis_120MZ_SC

1,306件の閲覧回数
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,191件の閲覧回数
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,191件の閲覧回数
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,191件の閲覧回数
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 件の賞賛
返信