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! using HAL_UART_Transmit with safety

Hi,I'm using the USART function HAL_UART_Transmit for debugging.Most of the time everything works well.But sometimes the HAL_UART_ErrorCallback is called... And all my program freeze.Could you help me with these 2 options (first is best for me) :how ...

MMath.10 by Associate II
  • 4021 Views
  • 17 replies
  • 0 kudos

STM32 USB disable work

I am using the STM32F072B development version. The program is divided into two blocks, main code (address 0x08004000) and boot code (address 0x08000000).At present, I have a big problem. When I first started the power, I can know that the boot code j...

1123 by Associate II
  • 529 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L432KC Internal bootloader issue

I am trying to access the STM32L432KC internal bootloader through BOOT0(PH3) pin. Option bytes are set as - 0x0FFFF8AAie.nSWBOOT0 = 1nBOOT1 = 1BOR_LEV  = 000RDP(Read protection level) = 0xAA (read protection inactive)This is how option byte...

Resolved! Why does a timer operating in interrupt mode generate an update event immediately after intialization?

HelloI have TIM3 set up like so:ABP1 Timer clock = 84 MHzPrescaler = 8399Period 9999Update event selected as triggerNVIC enabled for TIM3 global interruptThis gives me a timer interrupt every 1 second. But it appears as though the callback HAL_TIM_Pe...