Skip to content
Snippets Groups Projects
Commit a9ce24a2 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

Added `V_DDA_VOLTAGE` macro to define the analog supply voltage for each board...

Added `V_DDA_VOLTAGE` macro to define the analog supply voltage for each board and also corrected some sd card voltage supply values
parent 19489f31
No related branches found
No related tags found
2 merge requests!39Draft: Compute unit v2,!13[stm32f7] Add support for stm32f7 microcontrollers
Showing
with 53 additions and 5 deletions
......@@ -76,6 +76,9 @@ const bool defaultSerialFlowctrl = false;
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS // This board supports 4 bit data bus to SD card
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -82,6 +82,9 @@ const bool auxSerialFlowctrl = false;
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
/**
* \}
*/
......
......@@ -70,6 +70,9 @@ const bool defaultSerialFlowctrl = false;
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
} // namespace miosix
#endif /* BOARD_SETTINGS_H */
......@@ -74,13 +74,16 @@ const bool defaultSerialFlowctrl = false;
//#define I2C_WITH_DMA
// SD card driver
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
#ifdef __ENABLE_XRAM
// Reduce SD clock to ~4.8MHz
#define OVERRIDE_SD_CLOCK_DIVIDER_MAX 8
#endif //__ENABLE_XRAM
//#define SD_ONE_BIT_DATABUS //This board supports 4 bit databus to SD card
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -73,13 +73,16 @@ const bool defaultSerialFlowctrl=false;
//#define I2C_WITH_DMA
//SD card driver
static const unsigned char sdVoltage=30; //Board powered @ 3.0V
static const unsigned char sdVoltage=33; //Board powered @ 3.3V
#ifdef __ENABLE_XRAM
//Reduce SD clock to ~4.8MHz
#define OVERRIDE_SD_CLOCK_DIVIDER_MAX 8
#endif //__ENABLE_XRAM
//#define SD_ONE_BIT_DATABUS //This board supports 4 bit databus to SD card
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -74,13 +74,16 @@ const bool defaultSerialFlowctrl = false;
//#define I2C_WITH_DMA
// SD card driver
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
#ifdef __ENABLE_XRAM
// Reduce SD clock to ~4.8MHz
#define OVERRIDE_SD_CLOCK_DIVIDER_MAX 8
#endif //__ENABLE_XRAM
//#define SD_ONE_BIT_DATABUS //This board supports 4 bit databus to SD card
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -76,6 +76,9 @@ const bool defaultSerialFlowctrl=false;
static const unsigned char sdVoltage=30; //Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS //Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
/**
* \}
*/
......
......@@ -77,6 +77,9 @@ const bool defaultSerialFlowctrl = false;
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
/**
* \}
*/
......
......@@ -76,6 +76,9 @@ const bool defaultSerialFlowctrl=false;
static const unsigned char sdVoltage=30; //Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS //Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
/**
* \}
*/
......
......@@ -67,9 +67,12 @@ const bool defaultSerialFlowctrl = false;
//#define SERIAL_3_DMA
// SD card driver
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
static const unsigned char sdVoltage = 30; // Board powered @ 3.3V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
} // namespace miosix
#endif /* BOARD_SETTINGS_H */
......@@ -67,7 +67,10 @@ const unsigned int defaultSerialSpeed = 115200;
const bool defaultSerialFlowctrl = false;
// SD card driver
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
static const unsigned char sdVoltage = 33; // Board powered @ 3.3V
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
......
......@@ -70,6 +70,9 @@ const bool defaultSerialFlowctrl = false;
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
} // namespace miosix
#endif /* BOARD_SETTINGS_H */
......@@ -77,6 +77,9 @@ const bool defaultSerialFlowctrl = false;
static const unsigned char sdVoltage = 30; // Board powered @ 3.0V
#define SD_ONE_BIT_DATABUS // Can't use 4 bit databus due to pin conflicts
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.0f
/**
* \}
*/
......
......@@ -68,6 +68,9 @@ static const unsigned char sdVoltage=33; //Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_SDMMC 1 //Select either SDMMC1 or SDMMC2
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -67,6 +67,9 @@ static const unsigned char sdVoltage=33; //Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_SDMMC 1 //Select either SDMMC1 or SDMMC2
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
#define V_DDA_VOLTAGE 3.3f
/**
* \}
*/
......
......@@ -68,6 +68,9 @@ static const unsigned char sdVoltage=33; //Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_SDMMC 2 //Select either SDMMC1 or SDMMC2
/// 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