Deepika
d5671e2b39
Merge pull request #48 from ARMmbed/cmd41_init_issue
...
Fixed SD card intialization failure
2017-08-21 10:13:30 -05:00
Deepika
0ac12a0251
Merge pull request #49 from LemonBoy/erase_size
...
Correct calculation of the erase sector size
2017-08-17 13:37:53 -05:00
LemonBoy
705462d321
Correct calculation of the erase sector size
...
The specification states that the real value is obtained by increasing
by one the value extracted from the csd register.
2017-08-17 17:18:44 +02:00
Deepika
c7347c967c
Merge pull request #50 from LemonBoy/sdcard-init-seq
...
Make the initialization sequence more flexible
2017-08-17 10:06:06 -05:00
LemonBoy
52f5e0d41a
Make the initialization sequence more flexible
...
According to the SD specification v2.00 we this is the right way to
initialize a card using the v1 protocol in a forward-compatible way.
2017-08-14 16:46:38 +02:00
deepikabhavnani
1a02b0528c
Fixed SD card intialization failure
...
Few SD cards were failing for CMD41 as device was not ready after CMD55.
Added busy delay loop to make sure device is ready and than proceed.
2017-08-12 00:11:36 -05:00
Deepika
a1445562bc
Checking for version, for OS master support
2017-08-10 09:53:58 -05:00
Deepika
d94cb26883
Added version build error
2017-08-03 10:57:10 -05:00
Deepika
497aaaf915
SPI block read fix
...
Using fix from mbed-os core, where few devices were failing with
SPI block read, as default data on SPI was sent 0x00.
Using API 'set_default_write_value' to set the default tx fill data.
2017-07-17 11:05:06 -05:00
Deepika
954167fb40
Clear _is_initialized flag during deinit
2017-07-11 14:30:59 -05:00
Deepika
21e6f47aa4
Error handling for CMD9
2017-07-11 08:31:30 -05:00
Deepika
cdbbea6c52
Fix: SD read failed for Strontium Card
...
CMD9 fails for few cards if spi.write is performed during deslect of card
Card immediately sends start packet token, which goes missing in this dummy
write to SPI. Should not clock SPI bus in deselect operation.
2017-07-10 15:59:40 -05:00
Christopher Haster
97248873a4
Added constructor parameter for frequency
2017-07-05 12:27:22 -05:00
Christopher Haster
b11b635775
Added error propogation from frequency functions
2017-07-05 12:24:26 -05:00
Christopher Haster
15f33154c6
Renamed set_freq -> frequency
2017-07-05 12:19:29 -05:00
Simon Hughes
3fa6b88ef8
Repository re-organisation and cleanup to follow same structure as other mbed-os component repositories.
2017-07-05 11:45:11 -05:00