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! 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
  • 589 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
  • 2042 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
  • 936 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
  • 403 Views
  • 0 replies
  • 0 kudos