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

Checksum computation for UART bootloader

Hello,I'm testing to flash a new firmware using an ESP32 on an STM32F103xC, using the application note AN3155. There seems to be an error in the computation of the checksum that must be included in all messages. The documentation states that : 1. ...

LLouf by Associate II
  • 2428 Views
  • 3 replies
  • 0 kudos

Bug in STM32L0 TSC library

I would like to report a bug in HAL TSC library for the stm32L0 series of microcontrollers.The bug is in the stm32l0xx_hal_tsc.h header file in the  __HAL_TSC_GET_GROUP_STATUS macro.This is the current version of the macro (buggy version):#define __H...

JGrci by Associate
  • 908 Views
  • 2 replies
  • 0 kudos

Resolved! HAL_PCDEx_SetTxFiFo and fifo number/order

Hi, I'm having a hard time understanding the HAL_PCDEx_SetTxFiFo() function that I should call inside the USBD_LL_Init() function for my Stm32L476. I have attach my descriptor results from USBTreeView. But here the highlight:My composite device have ...

Difficulty in Setting Interrupts

Hello AllCould someone kindly help me figure out what may be wrong with this code (only the relevant part has been pasted here)?The objective is to toggle the LED through interrupts coming from TIM7, the simplest timer I could setup. In despair, I ha...

Amir1 by Associate II
  • 608 Views
  • 2 replies
  • 0 kudos

identifier "xxxx" undefined

i have project code when i compile it shows identifier is undefinedBut i have included the path keil linker options and included header file also, i don't know why it shows like this.when i click the definition of VL53L0A1_GPIO1_R_INTx it doesn't go...

NS.16 by Associate II
  • 2120 Views
  • 7 replies
  • 0 kudos

Resolved! Isn't external NOR Flash memory mapped in write too ?

Hello,I tried to access external nor flash in stm32h743 eval board.After configuring it I can view the memory in debugger (IAR).But it fails when trying to access it from debugger memory view (0x60000000) - after erasing the sector.I see that the HAL...

ranran by Senior II
  • 982 Views
  • 5 replies
  • 0 kudos

Is HAL Library/API thread-safe

I am developing software for a system (using HAL API) that communicates over CAN and I recently got into some issues related to thread-safety. I am using STM32L496ZGT6 mcu.Some background info:My main "thread" runs cyclically in a predetermined tick ...

Clock tree frequency values duplication in code

Hello,It seems that most examples (stm32cubeh7) are independent in clock tree values, which is exactly the correct way to do it, yet some of the examples are using hardcoded values duplicated from clock tree (duplication) which seems like a bad idea ...

ranran by Senior II
  • 419 Views
  • 0 replies
  • 0 kudos