Other Parts Discussed in Thread: CC3220SF
Tool/software: TI-RTOS
Hey TI engineers!
Sorry to bother you with this one (it's pretty easy), but I seem to have a bad CC3220SF Launchpad, or at least the SD_* functionality offered by this Launchpad. Here's the story:
I bought this CC3220SF Launchpad from the TI store in March of this year, which I'm using for development of a TI-RTOS-based application. To store sampled sensor data, I was attempting to use SDFatFS and/or raw SD under the new SimpleLink v2.1 toolkit in my TI-RTOS application, using only the SimpleLink v2.1 toolchain in CCSv8. I started with SDFatFS but couldn't get it to work, so I tried getting raw SD to work... neither method seemed capable of writing data to my MicroSD card housed in a known-good Adafruit MicroSD breakout board.
I considered that it might be my implementation of the SDFatFS and/or raw SD_* integration in my code using the new SimpleLink v2.1 toolchain, so I attempted to load and run both the fatsd_CC3220SF_LAUNCHXL and sdraw_CC3220SF_LAUNCHXL examples in CCSv8. Neither of these worked using my known-good Adafruit MicroSD breakout board.
To rule out a possible problem with SimpleLink v2.1 and the Adafruit MicroSD breakout board, I tested multiple SD cards and multiple breakout boards, including another MicroSD breakout by Adafruit and a couple of MicroSD breakout boards by Sparkfun. None of these steps worked with the first CC32220SF Launchpad I bought from the TI Store in March.
Frustrated, I went ahead and bought another CC3220SF Launchpad off Digikey, and my TI-RTOS successfully wrote data to the microSD card on the first attempt. I quickly tested everything (SDFatFS, SD_* functions) and it all works great on the new CC3220SF Launchpad -- I can successfully execute example code, SD-related code in my TI-RTOS application, using any of the SD card breakouts I have on-hand.
To make sure the problem was with the original CC3220SF LaunchPad, I went re-connected all SD-related pieces that successfully tested and worked with my new CC3220SF LaunchPad, and, sure enough, SD read/writes fail with this original LaunchPad I bought back in March.
It's pretty clear the CC3220SF Launchpad I ordered from the TI store in March is the culprit here, so I'm wondering if I can get authorization to send this back to TI and get a replacement CC3220SF Launchpad sent back to me?
Thanks, and let me know if you need any more information.
Best,
Dave