Changing External Clock Configuration on Kinetis_120MZ_SC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing External Clock Configuration on Kinetis_120MZ_SC

558 Views
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

Labels (1)
0 Kudos
3 Replies

443 Views
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 Kudos

443 Views
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 Kudos

443 Views
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 Kudos