STM32CubeL4
STM32CubeL4 copied to clipboard
STM32Cube MCU Full Package for the STM32L4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discov...
SPI handle state field is usually set to `HAL_SPI_STATE_RESET` prior to `HAL_SPI_Init()` call. If however `HAL_SPI_Transmit()` is called before SPI has been initialized, the SPI driver forces the state field...
https://github.com/STMicroelectronics/STM32CubeL4/blob/c5e83f31696c3da4fb374224471afd08d9d457b3/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_ospi.c#L2597 Configuration method incorrectly deactivates the other instance in case any of the following signals are turned off for both instances: DQSPort = 0(disabled) IOLowPort = HAL_OSPIM_IOPORT_NONE IOHighPort = HAL_OSPIM_IOPORT_NONE
In both the functions `SPI_WaitFifoStateUntilTimeout` and `SPI_WaitFlagStateUntilTimeout` there is a variable called `tmp_timeout` which is calculated by subtracting the `Timeout` with the time difference between the start of the whole...
https://github.com/STMicroelectronics/STM32CubeL4/blob/c5e83f31696c3da4fb374224471afd08d9d457b3/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_mmc.c#L1728 There is the following statement on the other control paths in this function: /* Clear all the static flags */ __HAL_MMC_CLEAR_FLAG(hmmc, SDMMC_STATIC_DATA_FLAGS); However, it is not applied for DMA...
In function `SCSI_ReadCapacity16` the variable `idx` is of type int8_t. It gets compared against the 32-Bit variable `hmsc->bot_data_length` that is controllable via the USB Request from outside. If the value...
Fixed argument typo and added UNUSED() macro calls for unused parameters.
Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h [Release v1.17.1](https://github.com/STMicroelectronics/STM32CubeL4/commit/f93a2f74f8e9912405dbf1a297b6df0c423eddf2) At line 787 under `AF 14 selection` there is no entry for TIM2 for the STM32L4P5 and STM32L4Q5. Every other L4 part in this file has `#define...
**Setup** * STM32L452 on custom board. * Running IAR 8.40.2. **Describe the bug** When calling LL_RTC_WaitForSynchro(), the function would intermittently timeout waiting for the flag **to clear**. **How To Reproduce**...
Fix USB MSC SCSI MODE SENCE 6 and 10 commands data (SPC-3 sections 7.4.3 rev 23) ## IMPORTANT INFORMATION ### Contributor License Agreement (CLA) * The Pull Request feature will...
Fix support more than 2 LUNs into USB MSC device Now it successfully recognized 4 LUNS: ``` kernel: [ 1969.997185] scsi 8:0:0:0: Direct-Access STM MicroSD Device 0.01 PQ: 0 ANSI:...