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! how to use debug trace (_TRACE) ?

I found CMACRO "_TRACE" in USBPD project in STM32CubeExpansion_USBPD_F0_V2.1.0.I think I can enable usbpd debug trace feature using _TRACE. However, I can not find way check debug trace in my environment. I am using KEIL MDK ARM. Please advise.​​

I am using the HAL receive_IT and transmit_IT successfully but occasionally as the transmit is being setup part way through the receive message the receive interrupt fails to get enabled and an overrun error occurs. Does anyone have a solution for this?

I receive the data byte by byte and I can see that the only time that it fails is at the beginning of the transmit. It looks like the HAL is busy starting the transmit so it cannot re-enable the receive interrupt after the previous byte has been rec...

LAdam by Associate II
  • 923 Views
  • 4 replies
  • 0 kudos

The interrupt happend in APP but enter bootloader ISR

MCU:STM32F030C8Bootloader section:Flash: 0x08000000 - 0x08003FFF; RAM:0x20000000 - 0x200004FFAPP section: Flash:0x08004000 - 0x0800FFFF; RAM:0x20000500 - 0x20001FFFReview the map file, the interrupt vector has remapped to APP flash, but when work in ...

Dylan1 by Associate II
  • 788 Views
  • 4 replies
  • 0 kudos

boot sequence for STM32F303E.

hi STM,i want to flash STM32F303E controller via uart. what is the procedure to achieve this?my mcu board is connected to pc via RS485. as per user manual i have to send 0x7F for uart flash. but i can't send 0x7F.so please suggest the possible ways ...

How to suppress initial glitch in DAC output.

In my application i have implemented WAV tone player with STM32F072RB using HAL library which utilizes internal DAC with DMA. when i start playback the tone there is spike at DAC output in a initial playback(after power up) and next successive playba...

kbhoi by Associate
  • 868 Views
  • 0 replies
  • 0 kudos

STM32L4 USB MSD Bootloader can't connect to WIN10.

This is the second time I’ve asked for help about coding a USB MSD bootloader for the STM32L4 using the STM32L4R9I-EVAL board. I gave up for a while but would really like to figure this out so I can move forward and be able to use the STM32L4. I used...

erussell by Associate II
  • 522 Views
  • 0 replies
  • 0 kudos