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

I cannot use USB DFU bootloader

I am using STM32L082KZT6 and want to use bootloader with USB. I have read instruction and in my perspective I thought that just by connecting boot0 pint to high then usb bootloader mode would start. But it didn't. I putted the schematic picture belo...

0693W00000D0xMdQAJ.png
SShir.2 by Associate II
  • 1731 Views
  • 3 replies
  • 0 kudos

I have a lot of questions about USBX

How does the FIFO created in MX_USB_Device_Init() match the endpoint?In the USBX document of Azure, the descriptor is directly made into an array, while the sample program uses a lot of functions to implement it. What are the benefits of this? Not ea...

arilink by Associate III
  • 1051 Views
  • 1 replies
  • 0 kudos

Resolved! Why does FatFS work sometimes, and sometimes not?

Hi!I'm using FatFS R0.11 with STM32F373 and sometimes it works to use FATFS and sometimes not.These are the issues I got and I don't know why. Can it be something with NVIC interrupts that causing issues with the FatFS library?Mount SD card: Mount SD...

0693W00000D0tRxQAJ.png 0693W00000D0tFIQAZ.png
DMårt by Lead
  • 3833 Views
  • 2 replies
  • 0 kudos

STM32 custom Bootloader with external/seperate main app code and ISRs - two seperate programs as per examples but do not deal with ISRs

I am using STM32CubeIDE and have used the linker to change settings, so have a pretty good grasp.I have read on custom bootloaders but not found how they deal with the following issue, as it seems ignored in the demo code. The custom bootloaders show...

Resolved! A Mistake Found in HAL Library

Function "PWM Generation CH2N" can not work, channel CH2N don't output PWM signal. But after I changed "tmpccer &= ~TIM_CCER_CC2NE;" to "tmpccer |= TIM_CCER_CC2NE;" (in file stm32h7xx_hal_tim.c), it works well.Hoping developers of HAL library will fi...

Laurie1 by Associate III
  • 2400 Views
  • 4 replies
  • 0 kudos