are there any example codes to start with?

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

are there any example codes to start with?

711 Views
muratfidan
Contributor I

I'd like to see how it is going to be fast to develop a motor driver, however I couldn't solve the puzzle of finding even a single example!

My company interested in MK20 series. We are planning to replace our existing motor controller designs with Freescale.

Thanks.

0 Kudos
2 Replies

349 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi murat fidan,

   

      Acutally, in our www.freescale.com, there still has a motor control libray based on cortex_m4, you can refer to it.

      The link is : Embedded Software Motor Control Libraries

      The librarie name is : CORTEX_M4_FSLESL

     I wish it helps you!

Best regards!

Jing

0 Kudos

349 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi murat,

If you want use K20 50MHz series , you can download the sample code "KINETIS_50MHZ_SC" at below link:

http://cache.freescale.com/files/32bit/software/KINETIS_50MHZ_SC.zip?fpsp=1&WT_TYPE=Lab%20and%20Test...

There is a project using PWM , you can find it after you download it . E:\...\kinetis_50MHz_sc\k20d50m_sc_baremetal\build\iar\pwm_led

Maybe you will need pdb_adc_demo ,  it can be found at this folder:  E:\...\kinetis_50MHz_sc\k20d50m_sc_baremetal\build\iar\pdb_adc_demo   

0 Kudos