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

STM32L0 - How to set Single-Ended Mode on an ADC Channel on STM32 using the HAL library?

Current settings seem to only produce 0x000 to 0x7FF . The HAL API on the STM32L0 only has 2 Parameters in the ADC ChannelConf Type:typedef struct{ uint32_t Channel;    uint32_t Rank;         }ADC_ChannelConfTypeDef;Which is Clearly missing the : ...

X-CUBE-USB-PD install

Hello. I'm trying to figure out X-CUBE-USB-PD. As I understand it, this is an extension for CubeMX, but I can't figure out how to install this extension. Downloaded the project from the link https://github.com/STMicroelectronics/x-cube-usb-pd . I was...

DalOpez by Associate II
  • 886 Views
  • 2 replies
  • 0 kudos

HAL_FLASH_Program returns error

I'm using the STM32U575 MCU and try to use the "HAL_FLASH_Program". This MCU only allow "FLASH_TYPEPROGRAM_QUADWORD". When trying to program a few words at flash address "80F0000" (page 120) I get the error "FLASH Programming sequence error flag"   M...

MJens.2 by Associate II
  • 1109 Views
  • 1 replies
  • 0 kudos