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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

SD card stuck writing single block of data

I noticed a very strange behaviour on some of my micro SD cards. I have a project that writes data to files stored on my SD card (FAT32 formatted) via the SPI interface of a PIC32 microcontroller. ...
RobinDeleener's user avatar
0 votes
0 answers
41 views

SOC booting FPGA configuration file

I have some understanding on embedded system booting process, which includes step wise execution of: ROM boot loader. First stage boot loader - internal to SOC. Second stage boot loader - stored on ...
Blrk_hw's user avatar
0 votes
0 answers
211 views

SD Card with SDIO Interface Issues on STM32F446RET6 PCB

We are currently working on a PCB that has an STM32F446RET6 MCU. The PCB is equipped with various sensors for data collection. Additionally, we are using an SD card for data logging and have opted for ...
Burak Kayaalp's user avatar
0 votes
0 answers
84 views

microSDXC responding to SPI ACMD41 with SD mode?

For a project I am working on, I need to access raw blocks from a microSDXC 128GB card (SanDisk) using SPI, and I am writing my own code to do this. I am using a PIC18F87K22 microchip to talk to the ...
kmikels's user avatar
1 vote
0 answers
188 views

SD Card CLK stops working properly on STM32F4 with SDIO connections

I have an SD Card socket connected to STM32F4 with the connections as follows: The firmware uses the following codes to initialize the SDIO: ...
Patratacus's user avatar
0 votes
0 answers
72 views

FE1.1s USB Hub and GL827L SD Card Reader

I'm trying to make a 4-port USB hub using the FE1.1s IC, one of the outputs of which is the GL827L IC as an SD card reader. when i connect my usb hub to computer, my usb hub is detected but sd card ...
MaretArt's user avatar
2 votes
2 answers
94 views

Detecting data traffic into a SD card

I'm designing an automated camera system. A time-lapse camera for very slow-moving objects. I'm interested in glaciers. The system has very small standby power (~160 uA), and in medium size battery ...
Camilo Rada's user avatar
2 votes
1 answer
91 views

Select SD mode on XTSD01G/XTSD02G/XTSD04/XTSD08G

I want to integrate an XTSD01G/XTSD02G/XTSD04/XTSD08G (datasheet) memory chip, which should work like a SD card, with an ESP32-S3. I want to use 1-line SD mode. In this ESP32(-S3) guide is described ...
1cedsoda's user avatar
  • 121
1 vote
0 answers
58 views

uSD-card PCB front edge smoothing

Looking for the appropriate (best) technology to smooth or coat the PCB surface to minimize uSD-card connector pint wear-out. Here's the layout The uSD-card specification is uSD cards, to my ...
Anonymous's user avatar
  • 6,930
0 votes
2 answers
61 views

Is it possible that writing too quickly to an sd card can result in quicker failure?

I found this post suggesting that writing too quickly to an sd card will shorten its lifespan. The context is an sd card that will be used as external storage on android, written to with rsync. The ...
Kai Dijon's user avatar
  • 101
0 votes
0 answers
84 views

SDHC card is read as SD by READ_OCR

I'm trying to use 32 GiB SDHC card in SPI mode but I have problem with initialization. I send SD_SEND_OP which finally returned 0x00 but it doesn't have CCS bit set: ...
Maciej Piechotka's user avatar
1 vote
1 answer
232 views

SD card does not responds to CMD8 command

I'm trying to communicate with SD card. However I'm stuck on CMD8 - when I send CMD0 (400000000095) I got 0x01 after one cycle. When I send CMD8 (48000001aa87) I got nothing (everything I read is 0xFF)...
Maciej Piechotka's user avatar
0 votes
0 answers
100 views

Is it possible to use MMC 4bit on ESP32?

I'm trying to connect an SDCard to an ESP32 and need more than the regular SPI reading speed. I've seen that the board supports one MMC channel of 1/4 bits (it actually has another channel which is ...
Zach Moshe's user avatar
0 votes
0 answers
51 views

Can I use STM32 boot mode and SD card at the same time?

The ST32 boot pins are: Boot0 Boot1: Pin PB2 And the SDIO pins are: SDIO_CK: PB2 SDIO_D0: PC8 SDIO_CMD: PD2 I want to have both SD card feature and boot options at the same time. Here, the pin PB2 ...
ar2015's user avatar
  • 213
0 votes
0 answers
34 views

interface SD Card using SPI communication in stm32f103c8 [duplicate]

I need to interface SD Card using SPI communication in stm32f103c8. First i to store the temprature value in every one seconds in sd card. It work well after that i try to store temperature value in ...
Mr Smile's user avatar
0 votes
0 answers
82 views

SD card initialize after some minute it fails

I am using raspberry pi pico with Arduino-IDE. I need to record analog microphone datas and accelerometer data. Raspberry pi pico has 2 core so I decided to use core 1 with microphone and core 2 with ...
mrneedshelpalot's user avatar
0 votes
1 answer
72 views

Micro-SD card insertion should not be detected

I will be inserting something else (video adapter board) into the micro-sd card slot. The device will operate for output only, and there will be no feedback on what actually is inserted into the micro-...
Anonymous's user avatar
  • 6,930
0 votes
0 answers
162 views

Does an SD card over SPI need a level shifter?

I want to implement an SD card on my PCB. As I'm lacking a bit of experience. I bought a breakout board, which I could not get to work. https://www.az-delivery.de/products/micro-sd-card-adapter-shield ...
Yann's user avatar
  • 71
1 vote
0 answers
45 views

SD Card Write Problem

In my project I download a ".hex" file from FTP via GSM connection and write it to a SD card. But I have a problem: I download file and all loops work well but when I access the file on ...
Mehmet Günce Akkoyun's user avatar
0 votes
1 answer
93 views

Using SD power switch to switch the power supply for 1.8 V signaling in SD card

I am planning to use the SDSDUN4-128G-GN6IN SD card in my design. As higher bus speeds require low-level signaling, UHS-1 adopts a 1.8 V signaling level for SDCLK, CMD and data lines [3:0]. To change ...
Priya's user avatar
  • 11
1 vote
0 answers
192 views

Using SD power switch to switch the power supply for 1.8 V signaling in SD card

I am planning to use the SDSDUN4-128G-GN6IN SD card in my design. As higher bus speeds require low-level signaling, UHS-1 adopts a 1.8 V signaling level for SDCLK, CMD and data lines [3:0]. To change ...
Priya's user avatar
  • 11
1 vote
1 answer
166 views

RFID-based access control system

I want to make a RFID-based access control system with an ESP32 and the Arduino IDE. I found code from electronoobs and a video; it looks nice. I have tested it, and it works with the RC552. When ...
mehmet's user avatar
  • 1,069
1 vote
1 answer
248 views

Delay in I2S audio from SD card

This question was already asked on specific arduino forum but I didnt recieve any answers and views were very limited hence I am posting here for better reach. I am trying to play wav file saved in SD ...
dharmikP's user avatar
  • 525
3 votes
1 answer
98 views

Is there any way to tell the current used by a particular SD Card?

I need to replace an SD card that came with a piece of electronic equipment (specifically, a sequencer for a Eurorack modular synthesizer). The SD card that came with the module is 1GB, and is a no-...
Cerulean's user avatar
  • 135
1 vote
0 answers
65 views

Identifying pins on a micro SD card interface on the PCB side

I have a Pyle motherboard from an Android-based car audio receiver which has an interface to an SD. I'm trying to identify these pins to make a flat cable to connect a homebrew micro SD card slot. In ...
MASCOTE CANO's user avatar
1 vote
1 answer
176 views

SD FIFO has no data available when mounting with FATFS

Issue I'm attempting to mount an SD card to my STM32F407 with Elm Chan's FATFS using SDIO and f_mount returns FR_DISK_ERR. The ...
mgmussi's user avatar
  • 155
1 vote
1 answer
156 views

Streaming image data to SD card using 8-bit data width SDRAM and DCMI peripheral on STM32F446ZCH6

I am currently working on an application involving streaming 480p/720p video from an OV5640 camera to an SD card (using SDIO) but I am afraid that the 128Kb of available SRAM are not enough. Given the ...
Kozma's user avatar
  • 13
2 votes
2 answers
1k views

STM32 SD mounting returns error with SDIO

Overview I'm using a STM32F407ZGT6 and I'm currently trying to mount SD cards (MicroSD 32GB HCI and 256GB XCI picture) to the board using the FATFS library bare-metal. To handle low level I/O, I'm ...
mgmussi's user avatar
  • 155
1 vote
1 answer
324 views

Schematic to work with an SD card

The application note AN10911 from NXP contains several schematics for working with SD cards, for example the schematic shown below. However, it also states: This schematic does not include details ...
root's user avatar
  • 149
8 votes
3 answers
5k views

How long can a micro SD card hold data without being powered? [closed]

I lost a micro SD card few years ego, and I'm worried that someone may find it and misuse the data stored in it. How long can a micro SD card keeps the data without being powered, ignoring other ...
user avatar
0 votes
1 answer
83 views

Does an amplifier consume any power when nothing is connected? (GPD2846A built-in 2W amplifier) [closed]

The GPD2846A module has a built-in amplifier into it. However, I want to use it with my headphones which don't require 1-2W (they are definitely going to distort sound and possibly be damaged). So I ...
Παναγιώτης Θ's user avatar
1 vote
0 answers
174 views

SD Card Not Responding To Command 0 In SPI Mode

I am attempting to communicate with an SD card in SPI mode. I am running at 133kHz. I first send a hundred or so clock pulses over the course of a millisecond with the chip select signal high. I then ...
CompileYourCake's user avatar
0 votes
0 answers
323 views

Capturing High Speed I2S To SD Card

I've been working on a project that involves receiving two high speed I2S lines and writing the data off of them to an SD card. The interface has the word select and bit clock I2S lines shared between ...
RomanPort's user avatar
1 vote
0 answers
84 views

How does MMC compare to SD in terms of life expectancy?

There is supposedly new surface mount SD card ICs on the market (see https://hackaday.com/2020/12/29/new-part-day-sd-nand-are-surface-mount-chips-that-work-like-an-sd-card/) which I thought was ...
Benjamin Lindqvist's user avatar
0 votes
2 answers
553 views

What is the smallest capacity microSD ever produced?

With the microSD (a.k.a TransFlash) physical dimensions being fixed, flash memory manufacturers compete to fit as much capacity to this as possible, so there are a lot of articles documenting breaking ...
tpimh's user avatar
  • 456
4 votes
1 answer
362 views

What do OD and PP stand for in SD card frequency fOD and fPP?

It seems all SD card specifications mentioned two frequencies (fOD and fPP) as used in identification and data transfer mode respectively. What do the subscripts (OD and PP) mean?
bruin's user avatar
  • 377
0 votes
2 answers
336 views

Problem interfacing SD card module and CAN bus MCP2515 module simultaneously on Arduino Uno

I am trying to log data received from a CAN bus to an SD card using an arduino Uno. Each module works perfectly on its own, but when joining both modules together the CAN bus receives data normally, ...
Mostafa Mahmoud's user avatar
1 vote
1 answer
67 views

SD card module with ESP32

I'm using an SD card module with ESP32. My plan is to store configurations such as SSID and passwords. I tried the function with a text file which contains the text "Hello" and for ...
kachaya's user avatar
  • 11
0 votes
0 answers
127 views

Hotplugging issue in MicroSD Connector

I am facing a hotplugging issue in my SD Connector setup. When I plug and check, it reads, however, not when I remove and insert. What might be the reason behind this? Attached are the schematics for ...
Sam20's user avatar
  • 19
3 votes
0 answers
416 views

Data Logging Medium: SD Card or USB

I am on a project that requires data logging and I am using an STM32F1 MCU. The amount of data is around 400 bytes per log entry. One of the environmental conditions of the deployment is vibration. It ...
squieler's user avatar
0 votes
1 answer
100 views

Read MicroSD card with USB reader while it is connected to (powered-off) microcontroller

I have created a small breakout board, where a microSD card is inserted and I can access its signals. Now, when the necessary SD signals are connected to an AVR microcontroller via SPI, they ...
NickG's user avatar
  • 391
0 votes
0 answers
45 views

Problem with SD card initialization with PIC18F452 using mikroC

I'm trying to write a text file to an SD card with a PIC18F452 using mikroC. I'm using a mikroC library named Mmc_FAT16 and I formatted the SD card to FAT, but I can't initialize the SD card. I tried ...
salar1991's user avatar
3 votes
1 answer
597 views

Raspberry Pi CM4 SD card breakout

I am designing a carrier board for the RPi CM4 Lite (no eMMC) and having trouble understanding the documentation. The CM4 proved a SD_PWR_ON and ...
Mike's user avatar
  • 513
16 votes
1 answer
6k views

How can I initialize/use SD cards with SPI?

I've seen various blog and forum posts, tutorials and application notes about accessing SD cards with microcontrollers using SPI, but I struggled a lot at different points when following them. In my ...
Matthias Luh's user avatar
1 vote
0 answers
120 views

ESP32-s2 Wroom. Are the SDMMC pins same as in ESP32 (not S2)

The documentation is not very clear. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sdmmc_host.html Are pins the same in the S2 variant?
0___________'s user avatar
  • 2,528
1 vote
2 answers
674 views

SD card socket just need to wire with pull-up resistors?

I have a question about Micro SD card and STM32F446RE wiring issues. I saw this schematic from ST forum. I would like to ask, when I wiring STM32F446RE with SD card socket (I mean connection part), ...
TA2ERR's user avatar
  • 89
2 votes
1 answer
139 views

Mass storage for timing critical applications

I am working on a data logger that requires measurements to be taken during narrow time windows. I have been storing the measurement data on SD cards, however, the write times are very inconsistent, ...
Liamm36's user avatar
  • 21
2 votes
1 answer
113 views

Is clock presence required to extend an SD card's data retention?

The flash memory on SD cards is prone to data loss over time when unpowered. While typical specifications list "at least 10 years", in practice unrecoverable read errors are likely to occur ...
Polynomial's user avatar
  • 10.6k
1 vote
1 answer
39 views

Sequential writing from different hosts to one SD/SDIO

I was wondering if it is possible to access one SD card via two or more hosts via some sort of hub and write to it data sequentially (i.e host1 writes a bulk then hostN writes another bulk)
Ma250's user avatar
  • 111
0 votes
1 answer
159 views

Correct Wiring for Adafruit 2.2" TFT display w/ sd card

Apologies for a potentially frowned upon question, but Adafruit's documentation for the 2.2" TFT display with sd card breakout is a little lacking. Essentially, they describe the display and sd ...
Snappawapa's user avatar

1
2 3 4 5
9