MCU datasheet and timer

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

MCU datasheet and timer

394 Views
freeman37
Contributor II

Hi,

I have got the twr K40x256 for the freescale cup and I don't find the datasheet of the microcontroller !

I looked on the website but what I only find is something which looks like a little datasheet (only 75 pages) and I can't use it for experiencing the timer, what I am doing for using the servo.

Does anyone have this datasheet ? My MCU is the PK40X256VMD100.

Whithout this I tried the tuto "Turning A Servo". It works but I have a 500kHz PWM, too much for a servomotor and I can't put it at 50Hz.

And I find nothing about the timer on the internet.

Does anyone know how to do it ?


Thank you for your future help.

Regards.

0 Kudos
2 Replies

312 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Adrien,

      About FTM module,  you still can refer to some application notes, eg:

1,Using FlexTimer in ACIM/PMSM Motor Control Applications:

    http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3729.pdf?fsrch=1&sr=16

2,PWM Synchronization Using Kinetis Flextimers:

   http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4560.pdf?fsrch=1&sr=5

I wish it helps you!

Jingjing

0 Kudos

312 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Adrien:

What you see is indeed the datasheet. The more detailed document is called Reference Manual and you can find it here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K40_100&nodeId=01624698C9DE2DDDAB&fps...

For your device download the document "K40P144M100SF2RM"

Give a check to chapter 37 about FlexTimer. To change frequency you need to play with the Modulo value/System Frequency/Prescaler.

Hope this helps!

Jorge Gonzalez

0 Kudos