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

STM32L412 VDDUSB Disconnect

I am using STM32L412RB for a low power application.VDD: 1.8VI have a 3.3V regulator that I would like to only turn on when I am using USB. According to the datasheet (https://www.st.com/resource/en/datasheet/stm32l412kb.pdf pg 19), VDDUSB = 3.0 to 3....

JHong.1 by Associate
  • 510 Views
  • 1 replies
  • 0 kudos

How to compare bytes received in a uint8_t?

I have a STM32F103C8T card, I am developing an application that receives a byte array by usb / serial.I have a variable "uint8_t USBBuffer;" in "usbd_cdc_if.c" which stores the bytes.My question is: how can a non-vector variable receive an external m...

How to properly change sysclk frequency in STM32L0

Hi,I'm trying to dynamically change sysclk frequency in STM32L011xx. It's quite easy for STM32L4. All steps are described in detail in RM for L4 (here is what I extracted from RM: https://pastebin.com/KcCZNGAr) - my implementation here: https://githu...

msemegen by Associate II
  • 657 Views
  • 2 replies
  • 0 kudos

Hi, I am using fatfs on flash along with usb msc device on stm32 mcu ,it is working usb detected I am able to do file operations and check files from desktop when plugged in the usb.

what i noticed is if i create n no of files, only 8 files are displayed however the remaining files are also created but not displayed, i am using elm chans fatfs. What could be the problem why only first 8 files displayed on pc .Kindly let me know ...

svii by Associate III
  • 437 Views
  • 2 replies
  • 0 kudos

AN4826 Errors

There are a couple of inconsistencies in AN4826.First one that has been repeated in other posts is that there is a bug in the bootloader and BOOT0 pin's state is actually irrelevant as it always boots from BOOT_ADD0 anyway.So the select BOOT_ADDx bas...

Resolved! Controller stalls at NVIC_EnableIRQ(CAN_TX_IRQn) after jump to application from a bootloader.

Hi,I am using a CAN bootloader to update my application. But after flashing the application and jumping from the bootloader to the reset vector of the app, the program stalls after calling NVIC_EnableIRQ(CAN_TX_IRQn). Is there a problem that the boot...

0690X00000BufjIQAR.png 0690X00000BufjiQAB.png
MGand.1 by Associate II
  • 1372 Views
  • 5 replies
  • 0 kudos