STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Fail to write to SD

Hi,I'm using STM32L451RCT with SDMMC and FATFS.I'm Generating the code from CUBE.Reading files (f_read) from SD is working but I'm failed to write to file (f_write)Does anyone know how can I solve the problem

Schar.1 by Associate
  • 843 Views
  • 3 replies
  • 0 kudos

stm32l4xx_ll_rcc.h and stm32g4xx_ll_rcc.h wrong implementation of LL_RCC_PLL_ConfigDomain_SYS macro

Wrong original:__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR){ MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC | RCC_PLLCFGR_PLLM | RCC_PLLCFGR_PLLN | RCC_PLLCFGR_PLLR,       Source | PLLM |...

Robert1 by Associate II
  • 638 Views
  • 1 replies
  • 0 kudos

Fresh install of CubeMX 5.6 - can't install latest CMSIS, CUBE-LRWAN, MEMSMIC, analog, timcooker libraries - all report .pdsc failure?

Trying to do a build of STM32L073, with latest CMSIS, LRWAN, MEMSMIC, and other libraries, but all seem to fail install into CubeMX on Win10. All install attempts report some .pdsc database failure. This is a new / clean install, and trying to add pa...

TZiel.1 by Associate II
  • 731 Views
  • 0 replies
  • 0 kudos

STM32L151CCT7 USB bootloader enter/leave DFU lockup

We used the STM32CubeMX program to generate a USB Custom HID. The program works and we can leave the application and enter the bootloader. The BOOT0 pin is high and the BOOT1 pin is low so it always runs the bootloader from reset. We then tell it to ...

MSt. .1 by Associate
  • 504 Views
  • 0 replies
  • 0 kudos

How to have access to the output data of the 2 digital microphones of the STM32L475VGT6 device (Discovery kit) ?

Hi,I'm working on a project where I need to make "sound recognition". In my case, I have to detect the nature of an object (paper, metal, glass etc.) based on its sound. To do that I envisage to use deep learning and thus to use the STM32CubeAI p...

Lionel_D by Associate II
  • 1151 Views
  • 1 replies
  • 0 kudos

I want to add a USB CDC driver to my application on a STM32F446 (self powered device). However, I had to use the dedicated VBUS pin for another function.

According to https://community.st.com/s/article/FAQ-Management-of-VBUS-sensing-for-USB-device-design the software handling of VBUS presence event needs to be implemented by the customer.How can I implement VBUS sensing on another pin SW wise? VBUS i...

Marcus1 by Associate II
  • 929 Views
  • 4 replies
  • 0 kudos