Clock speed as been increased to 1MHz. This frequency was chosen by default as it did not appear possible to set it any higher than that.
Dependents: Motion_Logging_Project
Fork of SDFileSystem by
Revision 4:d21b3ceaf95c, committed 2015-07-27
- Comitter:
- Kas_Lewis
- Date:
- Mon Jul 27 17:16:35 2015 +0000
- Parent:
- 3:7b35d1709458
- Commit message:
- This is a working implementation of a 6-axis data logger using the FRDM-KL25Z and the FRDM-STBC-AGM01 (FXOS8700C & FXAS21002C). Data is logged to an SD card for plotting at a later date.
Changed in this revision
SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDFileSystem.cpp Mon Mar 17 14:34:01 2014 +0000 +++ b/SDFileSystem.cpp Mon Jul 27 17:16:35 2015 +0000 @@ -141,7 +141,7 @@ int SDFileSystem::initialise_card() { // Set to 100kHz for initialisation, and clock card with cs = 1 - _spi.frequency(100000); + _spi.frequency(40000000); _cs = 1; for (int i = 0; i < 16; i++) { _spi.write(0xFF);