Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
3 votes
1 answer
78 views

ESP32: Powering on/off a MicroSD card via GPIO using a MOSFET

I want to power on or off a MicroSD card on my PCB via a GPIO of my ESP32. This allows me to restart it without removing the main power supply. Switching on the low side (ground) might not be a good ...
Tintenfisch's user avatar
0 votes
0 answers
21 views

What's UHS-II microSD card Pin Definition?

Pins 9-17 I don't know what description they are,and I need datasheet or diagram to know which pin Definition
金刚光's user avatar
1 vote
1 answer
48 views

Tell SDSC from SDHC (read bit CCS) without re-initializing the SD card

Is there a way to figure out whether an SD card is an SDSC or an SDHC (or superior) without using the ACMD41 command? Essentially I find myself in a place where a card has already been initialized (ie....
David G.F.'s user avatar
0 votes
0 answers
41 views

Sandisk SDHC erase in SPI mode problem

I am working in a little project in which the previous dev was using SD card in the SPI mode. The code was tested for SD init, read block, write block and erase and it worked fine with SDHC cards from ...
Valentin Popescu's user avatar
0 votes
0 answers
32 views

How to add external non-volatile memory to a custom max 10 FPGA PCB?

I am doing an audio processing project (more of a learning opportunity than an actual product..). For this project I want to be able to make the FPGA (a max10, not sure how much LE I need tbh) play ...
cr1tical1's user avatar
0 votes
0 answers
43 views

STM32F4 SDIO keeps failing CRC check

I'm trying to get 4-bit SDIO with FATFS working on an NUCLEOF411RE board and so far, it isn't going well. Here's my current code to start. ...
Anonymaton's user avatar
0 votes
0 answers
34 views

Questions Related to GNSS with ATtiny ICs

A while back I was given a few ATtiny 804s. I've been looking to build a small GNSS device as I wanted to get some raw GPX data without using a phone. I thought I might be able to use the ATtiny 804s ...
SmallFreeRange's user avatar
0 votes
1 answer
78 views

How do I debug why a microSD card never initializes?

I know this is a pretty poorly-formed question, and I'm very open to suggested edits. I have two revisions of a dense PCB design that includes a STM32H563 microcontroller with its built-in microSD ...
Brian A. Henning's user avatar
0 votes
0 answers
38 views

Intermittent behavior on SD Card initialization on STM32 board

I'm prototyping an application using a STM32F407 board that contains a SD Card slot, as depicted below: The communication is set to be 1 Bit, following the SDIO specification. The fact is that when I ...
Matheus Felipe's user avatar
0 votes
0 answers
30 views

SD Card Power Supply Behavior

I am having some trouble getting an SD card to mount on my esp32 custom board. After exhausting numerous troubleshooting options I bought the ESP32-S3N32 Dev Board. The SD card module I am using are ...
Cobalt's user avatar
  • 1
0 votes
0 answers
75 views

ESP32-S3 SD Card not working

I am trying to interface an SD card with my ESP32-S3 module. The code I am using as follows. ...
Cobalt Gray's user avatar
11 votes
2 answers
2k views

How can I enable read only mode in microSD card

I have microSD card which doesn't have read-only switch (but the adapter does). I would like to switch microSD card into read-only mode (without adapter), so inserting it into any device like ...
ADM-IT's user avatar
  • 213
0 votes
0 answers
56 views

ESP8266 NodeMCU SD Card Not Initializing

I have tried numerous tutorials, Arduino examples and I cant get an SD to initialize. There is a card inserted that is formatted with exFAT and there is one file test.txt. Particularly https://www....
Jason Crosby's user avatar
0 votes
0 answers
87 views

SD card via SPI: any way of getting it out of stuck state after aborted SPI operation(s) without power cycling it?

using ESP32 and its IDF platform libraries to access SD card via SPI, we have a situation where e.g. panic reboot of ESP32 leaves the SD card 'stuck' such that it cannot be mounted any more after ...
tangram's user avatar
0 votes
0 answers
57 views

Reading ECG wave data from .dat and .hea file from SD card with Arduino DUE to produce it on DAC pin

I am trying to produce an ECG wave on the DAC pin of the Arduino DUE. Here are my setup details. SD card is attached to Arduino DUE with SPI connections. I have 2 files (.dat and .hea) of ECG data on ...
Noor Hassan's user avatar
0 votes
2 answers
42 views

Discrepancy between SKR Mini E3V2 and documented SD Card Pinout

There is a schematic of the BTT SKR Mini E3 V2 available on the internet and I was taking a look at the SD Card Pinout. First of all I noticed, that it appears to run in SPI and not SD mode. Fine okay,...
HeartOfGermany's user avatar
0 votes
1 answer
141 views

Interface micro SD card with MCU and USB port at the same time [closed]

I'm designing a PCB and I would like an MCU (ESP32-S3) to be able to write periodically on a micro SD card (logs). I'm using SPI. I also would like to be able to get those logs through a USB port on ...
AyubowanPro's user avatar
0 votes
1 answer
49 views

Accessing Data through web saved on microcontroller SD card

I'm using a microcontroller (Arduino Uno) to collect sensor data and saving it in .txt format to the interfaced SD card. I would like to access this data remotely through web (WAN). Please advise on ...
Lean345's user avatar
0 votes
0 answers
29 views

STM32MP157D-DK1 OS building

I am trying to flash binaries that I have generated with Yocto, intended for an STM32MP157D-DK1 board. However, during the process, I am encountering the following error: 'Partition 0xBB not found in ...
SADALI Mohand's user avatar
0 votes
1 answer
161 views

SD/µSD card pins

I would like to make a µSD card to USB adapter using this chip and this connector but the SD data pins on the chip are SD_D[0-7] whereas on the connector it's 063 and a bunch of PCIe pins. Which pin ...
Jolia's user avatar
  • 1
3 votes
1 answer
121 views

Reset issue while issuing commands to SD card

I am busy with a project where I'm trying to make a custom flashcard for the Gameboy (for more details, refer to https://efacdev.nl/projects/ecgc). For the flashcard, I am trying to load games from an ...
elialm's user avatar
  • 283
1 vote
0 answers
74 views

SPI: Write to display while reading multiple blocks from SD card

I'm reading BMP images with hundreds of kB's raw from an SD card and parse/write the image data to a TFT LCD with an AVR MCU with 2kB RAM. Reading a single block of 512 bytes with CMD17, passing it to ...
Torsten Römer's user avatar
0 votes
0 answers
51 views

EMF Coupling from microSD writes

Looking for some pointers. I am having an issue with noise coupling into the onboard ADCs while writing to a microSD card. Audio from an pre-amp at 46.875 ksps I am using a SAMD51 microcontroller (...
Julian Blanco's user avatar
2 votes
2 answers
1k views

STM32 writing to SD card using FATFS sometimes takes longer than normally

I am using nucleo-f401re board for my project and I want to write sensor data to SD card. I am writing data when sensor interrupts occur, and that happens at 408 Hz, so I have around 2 ms to write ...
Dominykas's user avatar
  • 455
14 votes
3 answers
4k views

What does an SD Card do internally during the 74 clock cycles at startup

It is documented that the SD Bus Interface requires 74 clock cycles before the first command is sent: Taken from SD Specifications Part 1 Physical Layer, Simplified Specification, Version 6.00 https:/...
Graham's user avatar
  • 497
1 vote
1 answer
229 views

How to design an SD card to Memory Stick adapter?

I want to design an SD card to Memory Stick adapter. I will need to somehow implement SD controller (host) and Memory Stick controller (device) in my design, then do the translation between the ...
tpimh's user avatar
  • 513
0 votes
0 answers
59 views

stm32H7 SDMMC1 Falling and rising edge

I'm trying to make my sdmmc1 project read cmd data by rising edge, what i have tried: Tried both hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_RISING; and hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_FALLING ...
KlimDuda's user avatar
0 votes
0 answers
163 views

stm32h7 sdmmc DATA problem

Im trying to send data with sdmmc and i cant see anything happening in data line on oscio. CMD and CLOCK working fine but data just doesnt reacting. this is how clock and cmd looking like (no data ...
KlimDuda's user avatar
0 votes
0 answers
50 views

Can I write SD card a cluster without erasing if it contains only 0xFF?

In my understanding, a block has many clusters in it. Once I erase a block, all data in the block became 0xFF. Then I can write new data into the clusters in the block. So, if I already know that all ...
huangda1982's user avatar
0 votes
0 answers
62 views

Can SD card readers read a card which only implements the SPI mode?

I've read How can I initialize/use SD cards with SPI?. If I connected a microcontroller's SPI slave pins to an SD card shaped connector, would this allow the microcontroller to appear as a very small ...
fadedbee's user avatar
  • 1,002
1 vote
0 answers
138 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
49 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
496 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
192 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
2 votes
0 answers
581 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
191 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
168 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
228 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
  • 141
1 vote
0 answers
63 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
  • 7,152
0 votes
2 answers
88 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
153 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: ...
Maja Piechotka's user avatar
1 vote
1 answer
612 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)...
Maja Piechotka's user avatar
0 votes
0 answers
171 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
64 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
52 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
106 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
89 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
  • 7,152
0 votes
0 answers
378 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
  • 81
1 vote
0 answers
53 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
296 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
  • 19

1
2 3 4 5
10