STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I need to Debounce Buttons with Press-Hold and Double-Tap detection. I'm using freeRTOS. Is it best to use a hardware timer interrupt, software freeRTOS timer or while(1) loop with osDelay(10) calls in a freeRTOS taks?

Using the while(1) with no timer seems like the simplest implementation and does not require a timer. Does using osDelay(10) inside a while(1) use more CPU than using software/hardware timer interrupt?

LMorr.3 by Senior II
  • 1460 Views
  • 2 replies
  • 0 kudos

Resolved! No response from bootloader after entering

Hello,I am trying to communicate with the bootloader by serial.Most of the times it works nice but sometimes it fails as I fail to enter the bootloader.To give a context, in order to enter the bootloader I set the rts of my FTDI high (this will set t...

0693W00000LyMK2QAN.png
JPatr.3 by Associate II
  • 1242 Views
  • 2 replies
  • 0 kudos

Bootloader on MCU

Hello everyone, i've been coding a bootloader for STM32L072 MCU's, i can download the binary file and write it into FLASH memory from specific address, all this process works, but at the time to jump to the code to be executed, it doesn't work...i ch...

0693W00000LyIBzQAN.jpg 0693W00000LyICdQAN.jpg
RComa.1 by Associate II
  • 1149 Views
  • 4 replies
  • 0 kudos

STM32G4 FDCAN HAL Driver Issue (v1.5.0)

The HAL_FDCAN_ErrorCallback is erroneously being called during every interrupt after a Protocol Error (PEA) occurs, even when no error exists during the interrupt. I believe this condition will occur for some of the other interrupts as well (ELO, WDI...

DAshb.11 by Associate
  • 1597 Views
  • 0 replies
  • 1 kudos

Resolved! What could be causing the STM32L152 UART Rx interrupt to intermittently not fire when data arrives and interrupts are correctly configured?

Hello all,First off, I apologize that I am not able to provide code as everything I have been able to do reproduce this problem is proprietary. Given that, I am looking for advance debugging techniques for diagnosing this intermittent failure of the ...

BCogh.2 by Associate II
  • 1966 Views
  • 5 replies
  • 0 kudos