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

Fix for STM32G0B1 USB MSC Bootloader

stm32-hotspot BOOTLOADER_USB_MSC_STM32G0 can be used as a good starting point for a USB MSC bootloader. The provided examples work, but if the application size increases, the bootloader will be erased, finally causing a hard fault.It took a me while ...

etik by Visitor
  • 11 Views
  • 0 replies
  • 0 kudos

LPUART fail wakeup in STOP2

Hello, Using Modbus master and slave communication, where Modbus master working fine, I have issue with slave device communication. Using HAL_UARTEx_ReceiveToIdle_IT() for receiving modbus frame, and HAL_UART_Transmit_IT() to transmit response. Curre...

npatil15_0-1762921775853.png npatil15_1-1762921798795.png
npatil15 by Associate III
  • 117 Views
  • 6 replies
  • 0 kudos

HAL functions using archaic terms - why?

Hi, I am compiling the STM32U0 HAL library and I get errors like this one:/Users/kiwanda/techniek/swexternals/STM32/HAL/Libraries/STM32U0xx_HAL_Driver/Inc/stm32u0xx_ll_comp.h: In function 'uint32_t LL_COMP_GetCommonWindowMode(const COMP_Common_TypeDe...

Resolved! Can't make printf via USART work

I'm using an STM32U5A9J-DK and I've followed this guide step-by-step https://community.st.com/t5/stm32-mcus/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/ta-p/49865From the docs https://www.st.com/resource/en/user_manual/um2967-dis...

nico23_0-1763207162487.png
nico23 by Senior III
  • 57 Views
  • 1 replies
  • 0 kudos

Best way to configure ADC reading for speed

Hello, I am trying to configure my STM32H723ZG to be able to read the value of a few current sensors. My main concern at the moment is the speed at which I need to read these. I'm hoping to be reading upwards of rate of 20kHz. My questions are about ...

evanpol by Associate II
  • 113 Views
  • 3 replies
  • 1 kudos