Search found 994 matches

by Pito
Fri May 26, 2017 8:42 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

@victor - the most of the CMD6 settings works with SDIO and 1.8V signalling only. AFIK the only setting applicable for 3.3V signalling is the High Speed mode setting. The CMD6 reads 64bytes where you get some information. Max speed - you can set here is 50MHz, as the 25 and 50 are the only supported...
by Pito
Fri May 26, 2017 7:29 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

The timeouts of 100ms is not enough. Let us do 500ms. The gpio settings must be the highest speed. I would follow the voltage settings and CMD6 as well, even 50MHz speed is max for 3.3V signalling. The High Speed mode also sets the i/o of the sdcard to a faster setting. Moreover, it seems the 24MHz ...
by Pito
Fri May 26, 2017 7:24 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

The fact we have a problem to init the Samsung EVO card is a clear indication there is still a problem..
by Pito
Fri May 26, 2017 7:06 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

I think there is something missing with init sequence. Those crc errors are not because of the wiring, but missing init commands. I would recommend to compare all the commands required with other implementations - like chibios sdio, or others. It has to be done step by step. Also mind the above link...
by Pito
Fri May 26, 2017 5:00 pm
Forum: General discussion
Topic: Minimum ADC reference voltage?
Replies: 11
Views: 119

Re: Minimum ADC reference voltage?

Except 144pinners, there is no way to setup Vref. It is always wired internally to Vdd :(
by Pito
Fri May 26, 2017 4:50 pm
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 15
Views: 236

Re: Blue pill and SD card

What is your chipselect pin?? Try to use a different one.
Also try to exchange MOSI/MISO pins..
by Pito
Fri May 26, 2017 4:06 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

First attempt with your latest binary above, Sammy 16GB, CL10, UHS-I card, formatted, no file on sdcard: Use a freshly formatted SD for best performance. Type any character to start State value (HAL_SD_STATE...): 1 Errorcode value (HAL_SD_ERROR...): 2 R1 value: 100100000000 HAL Return value (HAL_......
by Pito
Fri May 26, 2017 3:54 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

I do not know how it is with SDIO, but in SPI the SDcard goes in idle immediately after deselected (CS=1) and then it takes 200uA current typically.
by Pito
Thu May 25, 2017 2:02 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

by Pito
Thu May 25, 2017 8:13 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 164
Views: 1686

Re: [STM32GENERIC] SDIO DMA

Use SdFat from github
https://github.com/greiman/SdFat
instead of the SdFat-beta. The beta is old and has been merged to SdFat a month ago.

Go to advanced search