how to add peripheral drivers to existing project

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

how to add peripheral drivers to existing project

Jump to solution
2,387 Views
cprogramming
Contributor I
Labels (1)
0 Kudos
Reply
1 Solution
1,900 Views
ivadorazinova
NXP Employee
NXP Employee

Hello baldev patel,

please, what peripheral drivers do you have in mind?

KSDK package contains set of peripheral drivers. You can find these drivers under C:\Freescale\KSDK_1.3.0\platform\drivers

KSDK consists of the following runtime software components:

31885_KINETIS_SDK_BD.jpg

You can test these drivers under concrete board, in case of FRDM-K64F C:\Freescale\KSDK_1.3.0\examples\frdmk64f\driver_examples

or develop your own code based on the demo using KSDK Project Generator Tool​ (for creating KSDK projects or cloning KSDK projects/demos)

New Kinetis SDK Project Generator is available!

For more information about all these drivers please refer to KSDK v.1.3 API Reference Manual

I hope this helps you.

Best Regards,

Iva

View solution in original post

0 Kudos
Reply
3 Replies
1,901 Views
ivadorazinova
NXP Employee
NXP Employee

Hello baldev patel,

please, what peripheral drivers do you have in mind?

KSDK package contains set of peripheral drivers. You can find these drivers under C:\Freescale\KSDK_1.3.0\platform\drivers

KSDK consists of the following runtime software components:

31885_KINETIS_SDK_BD.jpg

You can test these drivers under concrete board, in case of FRDM-K64F C:\Freescale\KSDK_1.3.0\examples\frdmk64f\driver_examples

or develop your own code based on the demo using KSDK Project Generator Tool​ (for creating KSDK projects or cloning KSDK projects/demos)

New Kinetis SDK Project Generator is available!

For more information about all these drivers please refer to KSDK v.1.3 API Reference Manual

I hope this helps you.

Best Regards,

Iva

0 Kudos
Reply
1,900 Views
cprogramming
Contributor I

Hello Iva,

I have FRDM-K64F board running myproject with LED flashing. What I would like to do is to add SPI driver to myproject.

I Have tried DSPI Demo on its own on FRDM-K64F  that works ok.

Thank you for your help.

Baldev

0 Kudos
Reply
1,900 Views
ivadorazinova
NXP Employee
NXP Employee

Hello baldev patel,

just include the driver to your project and to compiler settings.

I mean include e.g. #include "fsl_edma_driver.h" in main.c

include2.png

and have included correct files and paths in compiler settings:

include.png

Some useful tips for you:

I hope this helps you.

Best Regards,

Iva

0 Kudos
Reply