Jump to content

Search the Community

Showing results for tags 'sdcard'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 10 results

  1. Hi everybody! Problem Description: I've been programming CC1352R platform lately. And I am realizing there are no many libraries for while. I need to implement the storage of my sensor data and I started to look for a library for using with an SD card. In the TI drivers, (from the SDK - Software Development Kit), there's a library SD.h. And in the examples folder for TI drivers there's an example which name is "sdraw". The first time I run this example It couldn't open the sd. First I sent a question on TI community: https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/p/759572/2819479#2819479 and they told me to debug. But I thought strange an example code not to run. Then I simply changed the sd card and It could open, write and read. (It did not display errors). But the example code was intended to write an array and read it to compare if the written data matches with the read data. But I read only zeros (of course it did not match). When I placed the micro sd card in a computer adapter I also had an empty sd. I don't know if that was because it has no file or no file system. What I need: I still didn't have answer from the TI community and I don't have much time to deliver this implementation. So, I would like to know if there's some library for interfacing sd card with a CC1352R. Or if someone has used this library I mentioned: "can you give me some suggestion for what is happening?". I am trying to get some help because I know that if I have to implement it from zero it will cost me a long time, and I don't have experience with sd cards. Thanks in advance, I'll appreciate any help. best regards, Sara
  2. venkatesh223

    MSP432P401R SD card interface

    hello there, Ive been trying trying to interface an sd card to msp432p401r but i get many errors. my task is top build a data logger where the sensor readings will be stored in a text file. So i tried basics first. First i tired to serial print the sd card info but had lot of errors (screenshot can be seen below). the files i used is attached in the rar file "SD", in that i tried the Card info example. Please can someone help me what is wrong with this code. Thanks SD.rar
  3. I'm porting my compact Lisp interpreter, uLisp, to the MSP430FR5994 LaunchPad, and would like to provide SD card support. I've already got code working with AVR chips using the Arduino SD library. Is there a port of this to Energia, or something similar? Thanks, David
  4. I have been searching for a FatFs Energia library for the FR5969 a while and haven't come across anything that worked, so I decided to try make one. If there is one out there.... ahhhhhhhhhhghhghgh. The library is called Jaffl: Just another FatFs library It is located at: https://github.com/geometrikal/Jaffl Details: It is written for the MSP430FR5969, mainly because transmit and receive SPI bytes routines hard coded to USCB0. If someone can make this more generic it would be welcome. The Jaffl wrapper is based on the FatFs wrapper by David Sirkin. The latest FatFs version (ff11) is used, but not all functions may have made it to the wrapper. The diskio.c MMC interface comes from the TI example code for the MSP430F5529 LaunchPad with a few changes: 1. there were extra functions added to attach the SPI init / change speed / cs routines. 2. Class 6 and 10 cards weren't initialising, so instead of sending CMD0 once before failing (during disk_initialization()) it keeps sending every 1ms until it gets the right response, or one second has passed. f_printf was changed to f_vprintf in ff.c and modified to accept va_list instead of the normal variable argument designator (the dots: ...) . This is because Jaffl.printf wraps it, and needs to pass the variable arguments as va_list. A quick test example: #include "SPI.h" #include "Jaffl.h" int counter = 0; void setup() { Serial.begin(57600); Serial.println("Startup"); Serial.print("Begin, return code: "); Serial.println(Jaffl.begin(P3_0)); Serial.print("Open file, return code: "); Serial.println(Jaffl.open("test.txt", FA_WRITE | FA_CREATE_ALWAYS)); } void loop() { Serial.print("Print file, return code: "); Serial.println(Jaffl.printf("Hello world: %d\r\n", counter++)); Serial.print("Sync, return code: "); Serial.println(Jaffl.sync()); delay(1000); } The code isn't polished, but seems to work. I will be doing on going testing as this will be used in another project, but I've put it up now to get feedback and help spot bugs. 99% of the code came from other sources so thanks to those people. Its all on github so if you have changes do a pull request. 2015-03-18 - Added MISO internal pull up to get some cards to work.
  5. L.R.A

    SD card data logging

    HI EVERYONE, Long time no see. University has been hard, not time for anything. But I am back into the MCU world! And I am having some problems so I first would like to know if anyone ever tried this. I am using a SD card to save data with FATFS. The problem is that the MCU is also doing other stuff... I've been having writes of a few ms which is normal with FATFS. I am considering of course trying to write 512bytes at a time but also implementing DMA on the SPI. But I am not sure the DMA will help. It seems FATFS f_write and the port function disk_write, want to right away read or write more stuff into the card, meaning I would anyway have to wait the couple of ms... Am I wrong in this? (from what I've seen I probably have to directly write into the SD card after pre-allocating a file if I want the DMA to help)
  6. I am using micro SD card to log reading from four force sensors connected to the microcontroller (MSP430G2553). Controller logs reading to the SD card every 15 minutes and goes to sleep. I am using 1000 mAh battery, which is lasting over a week. Is it possible to reduce the power consumption as to make it last over a month. (#) Even if the microcontroller is sleeping for 15 minute, SD card is continuously consuming power. (#) It takes couple of mA to write. Help with any suggestion to reduce to power consumption drastically. Schematic and code (attached). Code_Datalogger_msp430g2553.txt
  7. Hi, I am a novice to MSP430 so my prior apologies for asking basic or stupid questions. I am trying to interface SD Card with msp430f5529 launchpad using FatFS file system of elm-chen. Luckily I found some of the files on the github via google which included mmc.c, mmc.h, HAL_SDCard.c and \HAL_SDCard.h . I wrote the main file and somehow my SD card is being mounted but root directory is not being opened and I am always getting SD Card not ready message. I tried changing the card but it did no benefit. Can someone guide where is it going wrong and whats the way to resolve it. Let me know if I should attach some other stuff like files and stuff or a sample code where I can somehow compare to find out where am I going wrong. Below is the code for fat_init void fat_init(void){ errCode = -1; while (errCode != FR_OK){ //go until f_open returns FR_OK (function successful) errCode = f_mount(0, &fatfs); //mount drive number 0 errCode = f_opendir(&dir, "/"); //root directory errCode = f_open(&file, "/Data.csv", FA_CREATE_ALWAYS | FA_WRITE); if(errCode != FR_OK) result=0; //used as a debugging flag } }
  8. Jrojas28

    SDCard Library (Tiva C Series)

    Hello, I've been looking trough the forums for an SD Card Library that can be used on TM4C123GH6PM micro controller. I came across one (http://embeddedcomputing.weebly.com/microsd-card-boosterpack.html) but the link redirects to the forum main page, so I can't really get my hands on it. Does someone has a low resource library for this? Thanks! Note: In case this is good to know, I'm looking to use the SD Card slot that comes with the ILI9341 2.2" LCD screen sold (mostly) on Ebay. So we're talking about an SPI-Interfaced SD Card.
  9. Hey Guys, I am new user of Energia. Currently, I am using MSP430G2553 chip to write data in SD card. I found code that works on USCIB0 SPI communication. Here is the link for the code. This code works completely fine. But, I wanted to know how can I change the code to use USCIA0 SPI instead of USCIB0 to do this? I tried going into pins_energia.h and just changing the pins. But it didn't work. Can anybody help me with this problem? Here is port assignment for different SPI buses USCIB0: (Code is using it) P1.6 -> master in slave out (MISO) P1.7 -> master out slave in (MOSI) P1.4 -> slave transit enable P1.5 -> clock input USCIA0: (This is what we want to use) P1.1 -> master in slave out (MISO) P1.2 -> master out slave in (MOSI) P1.5 -> slave transit enable P1.4 -> clock input
  10. I'm currently working on implementing the sd card code provided by the 43oh team to use with the breakout board I got. All of the examples I have seen are using the MSP430 of some variation. I am trying to use this code for application with an LM4F* launchpad or TM4C123 launchpad. Can anybody lead me in the right direction on what all I need to change in the code for proper interface. Has anybody accomplished this yet? The code that I have been trying to use can be found from this link: http://doc.43oh.com/The_Card_Reader_SDCard_BoosterPack The forum where I first discovered the code can be found from the following link: http://forum.43oh.com/topic/1427-petitefs-fatfs-sdcard-usci-code/ Any help is appreciated!
×