STM32 MCUs Embedded 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
  • 420 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
  • 844 Views
  • 6 replies
  • 0 kudos

Avoid Interrupt after HAL_COMP_Start(&hcomp1)

I set a breakpoint inside the function:void HAL_COMP_TriggerCallback(COMP_HandleTypeDef *hcomp)I got an interrupt event just after calling the function:HAL_COMP_Start(&hcomp1);I tried to pull-down/pull-up, I tried with all triggers modes but I ever ...

dhs by Senior
  • 320 Views
  • 0 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
  • 201 Views
  • 1 replies
  • 0 kudos