STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...


How to proceed with programming Nucleo-64 using C++

Hi all,I'm an experienced C++ programmer who happen to start learning embedded programming, with a little stuff, like STM32F411RE Nucleo-64 (the board I'm working on mainly) and a blue-pill alongside breadboard and a bunch of wires. I haven't done mu...

Adev.1 by Associate III
  • 8 replies
  • 0 kudos

Resolved! TIM-triggered periodic ADC capture w/ DMA

I'm trying to do a periodic ADC capture on 2 channels, triggered by TIM5. ADC should output to memory via DMA, with a DMA interrupt upon each completion to read the data from each scan.So far, the DMA interrupts aren't hitting, and the ADC doesn't ev...

0693W00000JNQtTQAX.png 0693W00000JNQtiQAH.png 0693W00000JNQtsQAH.png 0693W00000JNQtxQAH.png
BMcDo.3 by Associate III
  • 9 replies
  • 0 kudos

Hi. I want to measure the voltage of the battery with the ADC. Currently the voltage of the battery is 3.3 volts. I always see the result "6106" on the serial screen. What could I be doing wrong? Can you help me please?

code:/* USER CODE BEGIN 2 */ HAL_UART_Transmit(&hlpuart1, (uint8_t *)"Basladi\r\n", 9, 100);HAL_ADC_Start(&hadc);#define VREFINT_CAL_ADDR 0x1FF80078#define VREFINT_CAL ((uint16_t*) VREFINT_CAL_ADDR)#define MAX_VOLTAGE 3000.0uint32_t VREFINT...

ZKURT.1 by Senior
  • 27 replies
  • 0 kudos

Receive UART messages in DMA

I am trying to receive messages in DMA mode, on a STM32L432KCU. The pins PA2 and PA3 are configured as DMA pins. The baudrate is 115200 and the global interrupt for USART2 is turned on. In the main function, I have the initialization of the periphera...

Resolved! STM32 ADC limited common mode range

Hello,for a switched capacitor ADC with differential inputs, I would expect no limits on common mode voltage as long as input voltage is in the GND/VDDA range. However STM32 ADCs only allow a small range of common mode voltage around (Vref- VDDa) /2....

TIM Input Capture direct mode GPIO mode

STM32L412KBUx on NUCLEO-L412KB, STM32CubeIDE, Version: 1.8.0.I'm trying to use TIM1 to measure frequency of an external input signal connected to PA8. I'm confused by the choices in CubeIDE. In Pinout & Configuration, TIM1, Channel 1, I selected Inpu...

CKugl.1 by Senior II
  • 5 replies
  • 0 kudos

SPI interface between Nucleo-STM32L476RG and TI CC1200. 1. How to adjust to adjust SCK/Baudrate? 2. How to adjust interval between NSS/CSN state change and start/stop of SCK pulse?

I have set up an SPI interface between Nucleo-STM32L476RG and TI CC1200. Working in STMCube IDE and mostly using MX to generate drivers for SPI2. The SPI interface works and I am able to send comands and receive regster values to/from CC1200 however,...

0693W00000JNU6zQAH.png 0693W00000JNU7xQAH.png
EMarv.1 by Associate II
  • 4 replies
  • 0 kudos

I2C SDA Pullup Causes STM32G473xx Family to Lockup

I started a new project using an STM32G473CB in the QFN48 package. I've used this and other G4 chips for many other projects and never encountered this issue. This issue occurs with all 3 flash size variants (CB, CC, and CE).I've replicated this issu...

SSpen by Associate II
  • 8 replies
  • 0 kudos