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

DMA transfer in interrupt mode

Hi, in the book i am reading there is an example about UART DMA trasnfer in interrupt mode. In this example i don t understand why the author enables the UART related interrupt.I mean it is not the UART to generate the interrupt but the DMA when tras...

FIann.2 by Associate II
  • 2890 Views
  • 9 replies
  • 0 kudos

X-CUBE-BLE1 on a STM32L072CZYx

Hello,I am currently working on a project using a STM32L072CZYx MCU on a B-L072Z-LRWAN1 cardboard. I soldered a Bluetooth SPBTLE-RF component onto the board in order to use the X-CUBE-BLE1 software with my STM32L072CZYx MCU. So for my project, I have...

MBour.2 by Associate II
  • 344 Views
  • 0 replies
  • 0 kudos

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
  • 799 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
  • 802 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
  • 745 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...