WIP accelerometer logging to flash
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
// <i> The SPI data transfer rate
|
||||
// <id> spi_master_baud_rate
|
||||
#ifndef CONF_SERCOM_3_SPI_BAUD
|
||||
#define CONF_SERCOM_3_SPI_BAUD 50000
|
||||
#define CONF_SERCOM_3_SPI_BAUD 1000000
|
||||
#endif
|
||||
|
||||
// </h>
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
#define CMD_FAST_READ_DATA 0x0B
|
||||
#define CMD_SECTOR_ERASE 0x20
|
||||
// #define CMD_SECTOR_ERASE CMD_READ_JEDEC_ID
|
||||
#define CMD_CHIP_ERASE 0xC7
|
||||
// #define CMD_CHIP_ERASE CMD_READ_JEDEC_ID
|
||||
#define CMD_DISABLE_WRITE 0x04
|
||||
#define CMD_ENABLE_WRITE 0x06
|
||||
#define CMD_PAGE_PROGRAM 0x02
|
||||
|
||||
Reference in New Issue
Block a user