Different freedom board issue

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

Different freedom board issue

Jump to solution
731 Views
seanwu
Contributor IV

Dear Sir,

   I have two freedom boards. The chip number one is MKL25Z128VLK4_0N97F, and the other is MKL25Z128FRDM_1N97F.

I am not sure what the difference is between with them. Because I tried the hid_keyboard example in Freescale USB Stack v4.0.3,

using MKL25Z128VLK4_0N97F, the HID keyboard device could show in my PC, but using MKL25Z128FRDM_1N97F could not.

  CameraZOOM-20130409134547969_cr.jpgCameraZOOM-20130409133230980_cr.jpg

I found it always in the loop

    while((MCG_S & MCG_S_IREFST_MASK) != 0x00U) { /* Check that the source of the FLL reference clock is the external reference clock. */

    }

It seems to mean that MKL25Z128FRDM_1N97F doesn't select external reference clock.

IREFST bit in MCG Status Register (MCG_S) is not 0, and CLKST bits is not 10.

But MKL25Z128VLK4_0N97F is normal.

Could you please help me to resolve this issue?

Thanks.

BR,

Sean

0 Kudos
1 Solution
471 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello,

Your issue is because in one of your boards R25 is populated, and in the other no.

You can find the solution here:

http://mcuoneclipse.com/2012/10/27/using-the-8-mhz-crystal-on-the-frdm-kl25z-freedom-board/

Regards,

Santiago

View solution in original post

0 Kudos
2 Replies
472 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello,

Your issue is because in one of your boards R25 is populated, and in the other no.

You can find the solution here:

http://mcuoneclipse.com/2012/10/27/using-the-8-mhz-crystal-on-the-frdm-kl25z-freedom-board/

Regards,

Santiago

0 Kudos
471 Views
seanwu
Contributor IV

Dear Sir,

Thanks for your help.

BR,

Sean

0 Kudos