mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/7774/head
parent
29861960ca
commit
cdbbea6c52
|
@ -1010,7 +1010,6 @@ void SDBlockDevice::_select() {
|
|||
|
||||
void SDBlockDevice::_deselect() {
|
||||
_cs = 1;
|
||||
_spi.write(0xFF);
|
||||
_spi.unlock();
|
||||
}
|
||||
#endif /* DEVICE_SPI */
|
||||
|
|
Loading…
Reference in New Issue