Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Skyward Boardcore
Commits
9c4cd6d0
Commit
9c4cd6d0
authored
10 months ago
by
Niccolò Betto
Browse files
Options
Downloads
Patches
Plain Diff
[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
10 months ago
Stage: lint
Stage: build
Stage: test
Stage: documentation
Stage: deploy
Changes
2
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bsps/stm32f767zi_lyra_biscotto/config/board_settings.h
+5
-2
5 additions, 2 deletions
src/bsps/stm32f767zi_lyra_biscotto/config/board_settings.h
src/bsps/stm32f767zi_lyra_motor/config/board_settings.h
+5
-2
5 additions, 2 deletions
src/bsps/stm32f767zi_lyra_motor/config/board_settings.h
with
10 additions
and
4 deletions
src/bsps/stm32f767zi_lyra_biscotto/config/board_settings.h
+
5
−
2
View file @
9c4cd6d0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/bsps/stm32f767zi_lyra_motor/config/board_settings.h
+
5
−
2
View file @
9c4cd6d0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment