How do I connect a fsl_sdhc component in to MQX?

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

How do I connect a fsl_sdhc component in to MQX?

834 Views
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?

Labels (1)
0 Kudos
Reply
1 Reply

558 Views
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 Kudos
Reply