![]() |
STM32Cube
Version 2.0
Create Projects for STM32L4 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver MCI requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32L496G-DISCO | STM32L476G-EVAL |
|---|---|---|
| SDMMC1 Mode | SD 4 bits | n/a |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for STM32L496G-DISCO with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
| Pin Name | Signal on Pin | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | User Label |
|---|---|---|---|---|---|
| PC8 | SDMMC1_D0 | Alternate | No pull-up and no.. | Very High | . |
| PC9 | SDMMC1_D1 | Alternate | No pull-up and no.. | Very High | . |
| PC10 | SDMMC1_D2 | Alternate | No pull-up and no.. | Very High | . |
| PC11 | SDMMC1_D3 | Alternate | No pull-up and no.. | Very High | . |
| PC12 | SDMMC1_CK | Alternate | No pull-up and no.. | Very High | . |
| PD2 | SDMMC1_CMD | Alternate | No pull-up and no.. | Very High | . |
| Interrupt Table | Enable | Preemption Priority | Sub Priority |
|---|---|---|---|
| SDMMC1 global interrupt | ON | 0 | 0 |
| DMA2 channel5 global interrupt | ON | 0 | 0 |
| DMA2 channel4 global interrupt | ON | 0 | 0 |