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

HAL_Delay() hanging in main() function.

I write a simple blinking project on STM32F4 Discovery board.It calls HAL_Delay() function for blinking effect on one LED.But the code hanging when reach HAL_Delay().When I debug, the HAL_Delay() stuck at while() loop in there.Here my code :#include ...

hhuyn.1 by Associate II
  • 1042 Views
  • 3 replies
  • 0 kudos

STM32F4 USB DFU bootloader not working reliably

I have a self powered STM32F446 with 24 MHz oscillator, not crystal. When trying to activate the bootloader mode, I get variable results. Sometimes it shows up properly, sometimes it shows up but in a corrupted type of state, and sometimes it doesn't...

Lee3 by Associate III
  • 1770 Views
  • 6 replies
  • 0 kudos

F411 USART LL Driver Not Work Well

I have made my own PCB board with F411 MCU.The USART2 does not work well if I use LL driver.This is the init code generated by CubeIDE.static void MX_USART2_UART_Init(void) {   /* USER CODE BEGIN USART2_Init 0 */   /* USER CODE END USART2_Init 0 ...

HDaji.1 by Senior
  • 423 Views
  • 1 replies
  • 0 kudos

TCPP01-M12 appears to not be connecting CCx to CCxc

I am prototyping a new board upgrade to USB-C by connecting an X-Nucleo-SNK1M1 board containing the TCPP01-M12 to our existing USB device board that uses a STM32L476. The device is battery powered and will only need default 5V power. All that works...

RHinm.1 by Associate II
  • 2464 Views
  • 4 replies
  • 0 kudos

STM32F4xx USB Host BgndProcess

STM32F401in usbh_def.h:typedef struct { const char *Name; uint8_t ClassCode; USBH_StatusTypeDef(*Init)(struct _USBH_HandleTypeDef *phost); USBH_StatusTypeDef(*DeInit)(struct _USBH_HandleTypeDef *phost); USBH_StatusType...

TAzja.1 by Associate
  • 708 Views
  • 1 replies
  • 0 kudos