How do I connect a fsl_sdhc component in to MQX?

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

How do I connect a fsl_sdhc component in to MQX?

623 次查看
intractablesubt
Contributor III

I have a project using MXQ_KSDF_1.0.0 with PE. I have added a fsl_sdhc component called sdCard1. I would like to connect it to MQX and the MFS in order to read files from the sdcard. I cannot find a NIO_DEV_FN_STRUCT for the sdhc device that I could use in a call to _nio_dev_install. I also cannot find a _io_sdcard_install function that I have seen used elsewhere in postings in the freescale community. Can you provide an example for doing this?

标签 (1)
0 项奖励
1 回复

347 次查看
terry_lv
NXP Employee
NXP Employee

Hi,

     Are you using KSDK?

     MQX In KSDK is MQX-Lite, which mainly responsible for task, semaphore, event, message queue, etc. No MQX IO driver is added.

     So MQX applications in KSDK need to use OSA functions of MQX-Lite and KSDK drivers.

     There're two examples under demo directory. One is sdhc_sdcard, which will demostrate usage of sdhc APIs, another is i2c_rtos, which will demostrate usage of MQX OSA functions.

     Thanks!

Best regards

Terry

0 项奖励