element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs TI Launchpad MSP432 Memory SD and Energia.nu
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: martinvalencia
  • Date Created: 7 Feb 2016 4:46 PM Date Created
  • Views 3230 views
  • Likes 6 likes
  • Comments 12 comments
  • datalog
  • energia
  • launch-pad
  • msp432
  • memory-card
  • sd
  • sp:texas_instruments
Related
Recommended

TI Launchpad MSP432 Memory SD and Energia.nu

martinvalencia
martinvalencia
7 Feb 2016

A few months ago my partner mohammedtowhidun, Start your project and one of the tasks that it should be was to control an SD memory card with the launchpad MSP432 of Texas Instruments, he after searching many blogs on the internet can found the great blog by shabaz, who implemented a Data Logger with TM4C123G Launchpad.

 

 

 

in this blog I present the operation of libraries for MSP432, with some changes.

 

Blog's Shabaz / Thank you very much for leading us to the answer

Tiva LaunchPad: Building an Event/Data Logger - Part 1 – SD Card capability

Tiva LaunchPad: Building an Event/Data Logger - Part 2 – Real Time Clock capability

interfacing sd card with msp432

 

MSP432 SD libraries Click to Download

 

 

Connection Diagram

image

image

 

 

Necessary changes in the program (Energia17)
image

 

Implementation

image

 

 

Important

it is necessary that the SD memory only has a FAT format as with other types of memory formats simplmente not work.

image

image

 

Test
image

 

 

Ending

Once again thank you very much for your time shabazand I hope my friend mohammedtowhidun can successfully complete your project

 

Mis mejores Saludos

Martin V.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 10 years ago +3
    Hi Martin, Oh, that's awesome. Glad you managed to port it across with just a couple of changes! Very nice that the Energia code is so portable across the different platforms. I've had so little time recently…
  • Former Member
    Former Member over 9 years ago +3
    Hey Martin, hey shabaz In the first place, thank you so much for sharing this increadible useful information! I've been through many unsuccessful attempts interfacing a SD card with the MSP432 during the…
  • bluehash
    bluehash over 10 years ago

    Good project.

    Since this is a backlink from the 43oh forums posted by Martin V:

    http://forum.43oh.com/topic/9309-interfacing-sd-card-with-msp432-launchpad/page-1#entry71047

    there is a boosterPack available for SDCards. You may have to change the pinouts though based on the Launchpad you are using.

     

    For non Energia users, here is an MSP432 project with an SDCard:

    Full SD-Card FatFS Elm-Chan module support for the MSP432 Launchpad - Code vault - 43oh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to Former Member

    I'm afraid I have no idea : (

    The code worked fine on my Tiva board, and with the two mods it works fine on Martin's '432 board.

    You could try obtaining a SD card holder and wiring directly in case your adapter board is doing something odd, other than that all I can suggest is try adding debug in places or examine with a scope in case

    you have odd signals or faulty wiring.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Hii shabaz
    I have tried two different SD cards but the result is same

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to Former Member

    Hi Mohammed,

     

    Long shot, but could you try a different SD card? Just to eliminate any compatibility/protocol issues. Could you try some recent SD cards from reputable manufacturers? SanDisk Extreme HD 16Gbyte was the one I used - shouldn't be expensive at all, it is a several year old model.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago
    Hello shabaz

    martinvalencia

    i used this sd card holder
    SD Speicherkartenmodul - Bausätze / Module - Entwicklerboards - Sonstige Boards - Pollin Electronic

    image

    and the pin out is

    Description                        MSP432                               SD card holder
    CS                                          P 5.0(J2-13)                        7
    MOSI                                    P 4.6(J2-15)                        9
    CLK                                        P 1.5(J1-7)                          11
    MISO                                    P 1.7(J2-14)                        13
    VDD                                      3.3                                         3

     

    GND                                      GND                                     1
     
    I am using a 2GB SD card
     
    i used the library Shabaz had provided
    I have changed the sketch file CS pin as 13 just like Martin has done ..

    image
    when i run the datalogger sketch file I find the follow error
     
    image

    when i run the cardinfo sketch file this is what i get

    image

    can anyone help me out ???

     

     

     

     

    Description                        MSP432                               SD card holder
    CS                                          P 5.0(J2-13)                        7
    MOSI                                    P 4.6(J2-15)                        9
    CLK                                        P 1.5(J1-7)                          11
    MISO                                    P 1.7(J2-14)                        13
    VDD                                      3.3                                         3
    GND                                      GND                                     1
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube