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

Resolved! Bare metal USB HID

Hello,I am trying to implement a USB HID keyboard on an STM32F042 without HAL or LL, just simple register defs. I took an example code generated in CubeIDE with HAL and a few other examples. I extended the example with HAL to also implement the LEDs ...

Resolved! HAL API documentation and examples

Hi,where do I find the full HAL API documentation? Is there a wiki? And also is there a way to pull it up in CubeIDE (I'm not referring to the autocomplete)? Also is there a repository with all examples organised by topic, for example PWM, I2C etc.? ...

Ricko by Senior III
  • 13552 Views
  • 3 replies
  • 3 kudos

Resolved! RTC: RTC_EnterInitMode returns HAL_TIMEOUT

Hi,I'm using a SMT32H562ZGT6 uC with RTC pheripheral enabled and clock source from LSE. But HAL_RTC_Init() function returns HAL_TIMEOUT. Investigating I found the method RTC_EnterInitMode returns HAL_TIMEOUT.Clock configuration is performed before ca...

MattiaB by Associate II
  • 475 Views
  • 10 replies
  • 0 kudos

Various uses of Delay in STM32

This is to document various uses of delays like HAL_Delay() in STM32 code. I have found 2 decent uses  1. Put at the start of  /* USER CODE BEGIN 2 */ to stop the code from executing when we are reprogramming the board. 2. Put at the start of  /* USE...

Migration between different packages

Hello Saket_Om, Now is better :). Next challenge is how to convert it for my target. I am using STM32u585Qii3. It seems there is no straight way in STM32Cube to migrate between controllers with different packages.   Split from the thread below. (new ...

aristot by Associate II
  • 214 Views
  • 2 replies
  • 0 kudos

Resolved! Configuring circular burst DMA using the ioc file

I'm relatively new to STM32 and it's my first time working with DMA so this will probably be a very basic question.I'm using STM32G474 and I want to have 3 channels of advanced timer TIM8 working in "PWM generation CHx CHxN" mode. At a later stage I'...

SBat_0-1757406846993.png
S-Bat by Associate II
  • 332 Views
  • 2 replies
  • 0 kudos