Skip to content
Snippets Groups Projects
Commit 9c4cd6d0 authored by Niccolò Betto's avatar Niccolò Betto
Browse files

[BSP][Lyra] Set SD clock to 6 Mhz and disable 4bit wire mode

parent 3ab51a6b
No related branches found
No related tags found
1 merge request!317[BSP][Lyra] Set SD clock to 6 Mhz and disable 4bit wire mode
Pipeline #10124 passed
......@@ -49,9 +49,12 @@ const unsigned int defaultSerialSpeed = 115200;
// SD card driver
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_SDMMC 1 // Select either SDMMC1 or SDMMC2
// Disable 4bit wire mode and set speed to 6Mhz (48Mhz / (6 + 2))
#define SD_ONE_BIT_DATABUS
#define OVERRIDE_SD_CLOCK_DIVIDER_MAX 6
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
......
......@@ -49,9 +49,12 @@ const unsigned int defaultSerialSpeed = 115200;
// SD card driver
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_SDMMC 1 // Select either SDMMC1 or SDMMC2
// Disable 4bit wire mode and set speed to 6Mhz (48Mhz / (6 + 2))
#define SD_ONE_BIT_DATABUS
#define OVERRIDE_SD_CLOCK_DIVIDER_MAX 6
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment