Questions tagged [sd]

Secure Digital (SD), a memory card standard. Has multiple form factors (Standard, MiniSD and microSD/TransFlash) and multiple capacity ratings (SDSC, SDHC, and SDXC). Also extends to SDIO, which allows peripherals in an SD form factor to attach to a host, similar to USB.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
92 views

SD card SPI initialization Check Pattern Fail

I'm trying to interface a Swissbit 512MB (S-450u Series) SD card (datasheet here) with an ARM microcontroller through the card's SPI interface. The datasheet for this card says it's fully compliant ...
3
votes
0answers
76 views

SPI SDHC card will not come ready, Regular (older) SD card works fine

I am trying to make an SPI interface on a 186 Microprocessor using bit banging and a GPIO to control the CS, SCLK, MOSI and reading in the MISO lines. Mode 0. I cannot get SDHC (version2) cards to ...
3
votes
0answers
504 views

Data logger using ARM 9 (Friendly ARM Mini 2440 kit)

I have been working on this kit for the past month and have simulated some basic programs using Keil (non os using just C). I was assigned a project of making a data logger which stores the data in ...
3
votes
0answers
826 views

Moving mass storage design from SD/MMC to NAND flash

We have a prototype design in the works, that is currently running on a reference board done my Olimex (Olinuxino maxi), but eventually we would like to move the storage from microsd to nand flash (or ...
2
votes
0answers
85 views

Errors in SPI communication with SD card due to heat

Given is a PCB with a STM32L432KCU6 and a microSD card connected to it via SPI at 40 MHz in SPI Mode 0. The communication is protected by CRC which is calculated by the microSD card on the fly. When ...
2
votes
0answers
249 views

microSD card,looks initialized,but single read block returns 0xFFs

The 2GB micro SD card i'm working on looks initialized,all commands are giving the correct answer(i.e. CMD 8 returns the echo of the argument),command ACMD41 returns 0.At that point i try to read 512 ...
2
votes
0answers
1k views

SPI SDHC Initialization Timing Problems

I Have a 16GB Wi-Fi SD HC Card from Transcend. I try to initialize the card via SPI using an Arduino Uno, sending CMD0, arg: 0 , CRC: 0x95 response:0xFF but the expected response is: 0x01 ...
2
votes
0answers
460 views

Voltage Translator (74HC4050) Voltage Fluctuations

I have a simple circuit with a simple problem that I just can not fix. I have a 74HC4050D hooked up to an SD card. I have a 0.1uf on the 5V line and 2.2uf on the 3.3V line. Whenever a signal is sent ...
1
vote
0answers
99 views

SD card communication failure with USB2244 and TS3A27518E

friends! I'm facing a very peculiar issue on a hobby project of mine, and would appreciate any insight. The schematic for the relevant part of the project is attached at the end of this post. What I ...
1
vote
1answer
41 views

Solution to interface SD card with microcontroller using only 2 pins (I2C/SPI)

So I am trying to add an SD card to my circuit and unfortunately, all I have left are 4 GPIOs, but I was asked to try and find a solution to only use 2. So using 4 is a worst case scenario. I thought ...
1
vote
1answer
91 views

Schematic check

I made my first schematic for an electronics project. Since this is the first time there'll probably be a lot of beginner mistakes and it would be really helpful if someone could check it for wiring ...
1
vote
0answers
74 views

SD card reader, had to add 1k resistor to make it work, why?

I was having a problem making my sd card reader work with Arduino Mega, I tried a lot of things to no avail until I read somewhere that I should try putting a 10k or 1k resistor in series with the ...
1
vote
0answers
89 views

Issue with SD Card Initialization via SPI: No CMD0 Response

I am working on a project to read files off of SD cards with an xmega128a4u via SPI. I noticed that some cards initialize without an issue. However, I have two cards that just wont. As far as I can ...
1
vote
0answers
39 views

How to design Micro SD circuit for different speed class?

It's my first time to design the micro SD reader circuit. I hope that my design can support micro SD card with various speed class(from class2 to class10). According to my understanding, the only ...
1
vote
0answers
633 views

STM32 SDMMC & SDIO - why max 1 SD card only?

I'm writing an SDMMC driver for my C++ RTOS for microcontrollers and there is one thing which really puzzles me, making it hard to decide about class hierarchy. In the Reference Manual for STM32F7 (...
1
vote
0answers
347 views

SD Card re initialization using fatfs on stm32f103RB

I am using a SD Card Module that has no pin for checking existence of SD Card, So i should do the check using fatfs libs. The micro-controller is STM32F103RB and i'am using SPI protocol to communicate ...
1
vote
0answers
244 views

How to measure SD card data timing vs. clock

I'm doing EVT testing of our product and I want to measure the SD card data vs. clock timing to make sure we're inside the specs. We're using LS1043A that boots Linux (via U-Boot) from an SD card ...
1
vote
1answer
160 views

Problems sharing data on a common uSD between a camera and micro; - Switch (TS3A27518E)

Having a lot of difficulties sharing a uSD card between two devices (Atmel micro which uses the SPI, and the camera). We used to do this using relays and all worked fine but cards got faster and ...
1
vote
0answers
293 views

STM32L443 don't recognize some SD cards

I'm new in this forum, but I think this is the right forum to ask my question. I'm working on a project, where I need to store datas on an SD card. I use an STM32L443 microcontroller. The controller ...
1
vote
0answers
174 views

Replacing SD card by using EEPROM

I am using the mbed platform and to be specific, NUCLEO L073RZ. To log data, I am using SDFileSystem.cpp that is officially supported by mbed (you can find the link ...
1
vote
0answers
2k views

Why is SDIO used with WiFi chips

SDIO standard is specifically meant for devices like camera that have an SD card. Still in many of the applications I found that the SDIO is also used to interface with WiFi chips. Why is that so? Can ...
1
vote
0answers
275 views

Atmel ARM, USB, and an SD Card as a MSD?

I'm currently trying to run the SAM L21 as both a CDC and an MSD over USB. Thankfully there is example code here to get me started. I can move files into the on-board ram just like any other storage ...
1
vote
0answers
937 views

STM32F401 SDIO with DMA

Please need help in: Do somebody have a a working code that writes to sd card via sdio using FatFs and DMA?( data logger) In a poling mode (without DMA) I am writing to .bin file and getting error ...
1
vote
0answers
399 views

Send a file to an SD card over SPI

I am using a PIC18F4620 and an XC8 compiler. I am trying to create a file and send it to the SD card. I am using the MDD library from the MLA Legacy. My main is: ...
1
vote
0answers
1k views

FatFs issue with f_write and f_sync

I'm trying to set up a PIC18F67K22 to log data to an SD card, but I am having some trouble getting FatFs working properly. I implemented some low level code following the diskio.c API that is provided,...
1
vote
1answer
349 views

Problems initializing SD card with MSP430

I've been working on some code to talk to an SD card with the MSP430. I can't get the card to enter into idle mode, and I'm actually pretty stumped as to why. I've looked at the microcontroller output ...
0
votes
0answers
29 views

Looking for a Micro SD card that can start up in 1.8V signalling mode

With the SD 6.0 specification, SD card manufactures have the option to design cards that can autodetect and start up with 1.8V signal levels. I believe they still need to be powered from the nominal ...
0
votes
1answer
27 views

Sdcard stated bandwidth at max working hours

Sandisk and many sdcard companies state the amount of hours they can work without hitting wear issues. Usually they state this while recording Full HD video but they don't state how much mbps that is. ...
0
votes
0answers
54 views

why f_rename of fatfs is very slow?

I'am developing a datalogger with an stm32L496 + FreeRtos + FatFs. The data logger save data to a buffer and when is full, the buffer is saved in a file on an SDcard with the help of fatfs and the ...
0
votes
0answers
36 views

SD Card detect, help

I have a SD card socket in a server that i can't get to work right (it wa damaged when i got it). As far as i read i need to connect CD (Card Detect) to GND if the card is inserted so i did and it ...
0
votes
0answers
44 views

uSD card accidentally wrong voltage

(initially using STM32H745 w/ CubeIDE) uSD card was working, but was getting some fifo underrun issues? so I started switching rising/falling edge, and flow control and stuff. Now the card doesn't ...
0
votes
0answers
26 views

Calculating SD card size from C_SIZE in CSR

I'm guessing I'm just reading something incorrectly here, but I can't make this add up. From the SD card spec, section 5.3.3 tells us how to calculate card size (C_SIZE) from the data in CSR (CMD9 ...
0
votes
1answer
83 views

MicroSD with STM32 and SPI mode - pull-ups and EMI filters

In the context of using the STM32F103C8T6 microcontroller I wonder I am thinking about the most practical and relevant method of the microsd application in the device from the point of device security....
0
votes
1answer
45 views

Do SDIO bus speeds need to match between two devices?

I have two devices that I'd like to use together, connected via their SDIO pins. The MCU can transfer data up to 200 MB/s with a 200 MHz clock speed (HS-200). The wireless module that I want to use ...
0
votes
0answers
42 views

microSD card communication problem

I am developing an embedded system and attaching a uSD-card to it in SD mode (not SPI). The requirement is such that I have to switch the uSD card connectivity between two ports so I am using 74HC4053 ...
0
votes
0answers
59 views

What will happen if two SD card readers are connected to the same SD card?

The title is somewhat misleading. Specifically, what I'm trying to do is to connect the SD card inside of my Nintendo 3DS to a USB C port which can be used for charging (so I don't need to keep ...
0
votes
0answers
14 views

mcp3008 and sd card module error

I am making a datalogger arduino based, it reads from the adc mcp3008 and save on the sd card ADC and SD Module uses SPI . when the adc is used alone it works fine . but when adding the sd module to ...
0
votes
0answers
57 views

Samd51 fatfs driver with sd card backend stuck in an infinite loop

I am trying to use the FatFs module in the Atmel start for my project with the samd51j19a chip. The clock is @ 120mhz and the sd card is wired according to the diagram on the PINMUX. The program ...
0
votes
1answer
224 views

Read and Write file from SD Card with fpga

I'm working on a simple project with Quartus in which I've tried to implementent a NIOS II processor for read from and write to a SD Card. Here it is the schematic The C code is ...
0
votes
0answers
132 views

STM32 SD SPI FR_DISK_ERR

Hi I am working on STM32F103c8t6 MCU.I am trying to run sd card with spi wiht this library https://github.com/eziya/STM32_SPI_SDCARD do every thing like youtube video and my connection is like video ...
0
votes
0answers
48 views

microSD card voltage level- reverse engineering design

Goal: Adding (back) a microSD socket to a camera that does not have one. The microSD pads are laid out and appear to be fully connected. Ground is to the ground plane, the data lines are with ...
0
votes
0answers
153 views

Use MicroSD to SD adapter for read Memory Stick Micro M2

While searching in my personal affairs I found a Memory Stick Micro M2 (Sony) which I believe I was using in a phone. Unfortunately I no longer have the adapter ...
0
votes
0answers
72 views

STM32WB - sensor data sent via BLE and saved on SD card (SPI)

I have an STM32WB and I am trying to get the data from some pressure, temperature and humidity sensors through DMA and send them to my Android via BT, while at the same time saving it as well on a SD ...
0
votes
0answers
172 views

Open multiple files on SD Card using FatFs

The code is to log data in multiple files on SD card. The problem is that the SD card only opens and saves 1 file. When the if condition occurs in the 2nd time, the old file is deleted and the SD card ...
0
votes
0answers
17 views

Part number / manufacturer of microSD connector of Raspberry PI zero

Do somebody know what is the part number / manufacturer of microSD card of Raspberry PI zero? I would like to include it on my Digikey cart if possible. Schematics does not show the part number... ...
0
votes
0answers
249 views

STM32WB55 connection to SD card with SPI FR_NOT_READY

I am very new at this and I don't understand a lot, so please be patient. I have an STM32WB55 to which I need to connect an SD module to store data from some sensors in SPI mode. I basically followed ...
0
votes
1answer
57 views

Wear leveling and supply of voltage

Does anyone know if a NAND flash device (e.g. microSD) has to be continuously supplied with energy for its wear leveling algorithms work as designed? Or, if it doesn't matter if the device is (safely) ...
0
votes
1answer
39 views

Monitoring SD/TF Card status while interfacing with separate host

I'm working on project that requires taking several terabytes worth of RAW photos on DSLR controlled by a microcontroller. Initially the plan was to use a small Linux SBC running some kind of control ...
0
votes
0answers
130 views

STM32 SD Card SPI no response

I am using an STM32F0 to communicate with an SD card over SPI. However, when I send CMD0 after performing the required initialization, the SD card does not respond with anything on MISO. What's ...
0
votes
0answers
275 views

Can I connect two MCUs directly to one micro SD card without additional components?

I am new to this community so I am sorry if I'm asking in a wrong place or something out of topic. I think I have considered everything. :) So, now the basic info: I am working on a project which ...