how to add peripheral drivers to existing project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to add peripheral drivers to existing project

ソリューションへジャンプ
2,400件の閲覧回数
cprogramming
Contributor I
ラベル(1)
0 件の賞賛
返信
1 解決策
1,913件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
1,914件の閲覧回数
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 件の賞賛
返信
1,913件の閲覧回数
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 件の賞賛
返信
1,913件の閲覧回数
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 件の賞賛
返信