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

STM32G071 ADC channel selection

I wanted to know which channel is converted latest. I configured as belowhadc1.Instance = ADC1; hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; hadc1.Init.Resolution = ADC_RESOLUTION_12B; hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT; hadc...

HPATH.1 by Associate II
  • 708 Views
  • 1 replies
  • 0 kudos

Problem with setting up LIS3DH SPI with STM32F0x ??!!

Hi Everyone. I have encountered a problem in using LIS3DH SPI with STM32F0x MCU. I used to configure and set LIS3DH accelerometer with ATXMEGA families without any issues but this time I really can not understand the origin of my fault. I'm using bar...

MGolm.2 by Associate II
  • 1044 Views
  • 4 replies
  • 0 kudos

Resolved! [SOLVED] STM32G030F6 TIM16.1 no output on PB8

I'm trying to get square pulses on PB8 with TIM16.1 output compare, but no pulses on pin (timer seems working: CNT counting, SR flags changing).Setup code:gpio_mode(GPIOB,8, GPIO_MO_AF); gpio_af(GPIOB,8, 2); // PB8 as AF2 rcc_apb2_on(RCC_APB2_TIM16);...

ne562 by Associate II
  • 764 Views
  • 2 replies
  • 0 kudos

Resolved! EXTI15_10_IRQn triggered constantly - STM32L4R5ZI

Hi, I am trying to write an interrupt code to trigger LED(PB14) using user button on my NUCLEO board(PC13). however, as I observed from the debugger, pending bit for line 13 constantly at 1 without pushing the button at all.The EXTI->PR1 = 1<<13 stil...

KHuyn by Associate II
  • 1554 Views
  • 4 replies
  • 0 kudos

How to change the number of ranks after ADC initialization

I use 6 ADCs.I use 3 channels(Ch1, Ch3, Ch13) for ADC1.I use 3 channels(Ch2, Ch4, Ch15) for ADC2.Use DMA1 Channel1, DMA1 Channel2 respectively.DMA1 Channel1 is used by ADC1,Number Of Conversion is 3, Rank 1 = Ch1, Rank 2 = Ch3, Rank3 = Ch13.​When usi...

STM32G070 And Bme680 help i2c

hi i'm trying to use the bme680 but i can't find any library for it ,plus the datasheet is so confusing if you had any luck using it please help thanks in advance

bakhti by Associate II
  • 1097 Views
  • 3 replies
  • 0 kudos

Problems with I2C register code (STM32G0x1)

I am attempting to write register level code to control the I2C peripheral in an STM32G0x1.My read function is failing because the RXNE bit is never getting set. I believe I have implemented the state machine described in RM0444 (p. 958). Is there ...

SHobb.1 by Associate II
  • 1684 Views
  • 4 replies
  • 0 kudos