MQX_KSDK_1.0.0 with PE and GPIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX_KSDK_1.0.0 with PE and GPIO

跳至解决方案
2,241 次查看
intractablesubt
Contributor III

I have created a MQX KSDK plus Processor Expert project using MXQ_KSDK_1.0.0 for the FRDM-K64F board following the tutorial MQX with KSDK and Processor Expert. When created this way the Components Library selections filter out "Logical Device Drivers":

15211_15211.pngScreen Shot 2014-09-29 at 10.33.43 AM.png

I can turn off the filter and see them but if I try to include the BitIO_LDD component it causes the error "ERROR: This component is not supported in Kinetis SDK project mode" What is the recommended GPIO component if LDD is not available?

标签 (1)
0 项奖励
回复
1 解答
1,751 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello William:

You can use the fsl_gpio component instead. This component generates the necessary configuration structures to use the KSDK GPIO Driver APIs.

In fact I just created a new KSDK/PEx project in Kinetis Design Studio v1.1.1 and it came by default with a fsl_gpio component called "gpio_pins". In case you do not have this you can create a new project and copy the component from there.

For an example about using the GPIO Driver APIs, refer to the next tutorial:

Writing your first toggle LED application with FRMD-K64F + KDS 1.1.0 + KSDK 1.0.0 Non-Processor Expe...


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,752 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello William:

You can use the fsl_gpio component instead. This component generates the necessary configuration structures to use the KSDK GPIO Driver APIs.

In fact I just created a new KSDK/PEx project in Kinetis Design Studio v1.1.1 and it came by default with a fsl_gpio component called "gpio_pins". In case you do not have this you can create a new project and copy the component from there.

For an example about using the GPIO Driver APIs, refer to the next tutorial:

Writing your first toggle LED application with FRMD-K64F + KDS 1.1.0 + KSDK 1.0.0 Non-Processor Expe...


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复