Hi Dave,
Thanks for your post.
We do have starter ware GPIO example source for OMAPL138 LCDK for ARM core to detect the status of MMC/SD card insertion/ejection using GPIO pin configured in pinmux settings.
You shall integrate & add the GPIO source code with thirdparty FatFs files into your project and test the status of SD card (Read/Write) by generating an GPIO interrupt. Please find the attached gpioCardDetect.c source.
(Please visit the site to view this file)
You shall also able to download the complete OMAP-L138 Startwe ware package from http://www.ti.com/ and please find the path below for the CCS project for GPIO starter ware example on LCDK OMAP-L138 ARM core.
~\OMAPL138_StarterWare_1_10_03_03\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\gpio
Alternatively, you shall also use the MMC/SD test code on ARM core, but for OMAPL138 experimentor kit (Zoom). Please find the attached zip file for the BSL (Board support library) test code for MMC/SD, in which you have the CCS project for windows platform.
(Please visit the site to view this file)
But, you should customize the Pinmux settings for the LCDKOMAPL138 board you have & integrate with the above BSL test code for MMC/SD on ARM core and you can try testing the MMC/SD card status.
Please click the Verify Answer button on this post if it answers your question.
------------------------------------------------------------------------------------------------