STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! stm32l4xx_hal_msp.c vs main.c?

Can someone explain to me why CubeMX creates handles for objects within main but the GPIO configuration for that object (example an A/D or USART using DMA) is configured under the stm32l4xx_hal_msp.c instead of right within main as part of the object...

SWenn.1 by Senior III
  • 913 Views
  • 1 replies
  • 0 kudos

I use a STM32L151 in a battery application, i have to measure VCC. To do this exactly i try to read the Vrefint-calibration Value, stored at 0x1ff80078/9 (STM32L151 Datasheet pg. 56) But if i try to access to this address via a pointer, i read 0x0.

Memory Dump with STM32CubeIDE shows also 0x0 at this addess. The Errata shows no entry to this problem.uint32_t* ptr = 0x1FF80078;VREFINT_CAL_VAL = *ptr;Is it a typo in the dataheet?

SGass.1 by Associate
  • 888 Views
  • 3 replies
  • 0 kudos

Some questions about using float, snprintf, sprtinf

I would like to advise you, I create software for the STM32L151C8 microcontroller that will control the LCD segment display via the I2C PCF85176 driverDesign:- battery powered- configurable by the attached bluetooth module and keeping configuration v...

ughr1 by Associate II
  • 836 Views
  • 1 replies
  • 0 kudos

What is Actually ADC sampling rate. Suppose i want to trigger the adc at sampling rate of 1Msps. i would trigger the adc using timer update event that would over flow after every 1 usec. But in the parameter setting using cube mx for adc has one option

of sampling time in terms of cycles. what this sampling time corresponds to. I mean is this the actual rate at which the adc samples the input signal. If this is Sampling rate of ADC. then using Timer update event which i set for every 1hmz is relate...