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

STM32F1:How to change the I2C address when program running

I'm trying to change the I2C address by using HAL_Deinit & HAL_Init, but it doesn't seem to work. The function below is what I wrote myself to change the address:If I try to change the address,the register shows that the I2C address has been changed,...

0693W00000Y9p1OQAR.png 0693W00000Y9p1JQAR.png 0693W00000Y9p7HQAR.png 0693W00000Y9p8AQAR.png
YZhan.14 by Associate
  • 1174 Views
  • 0 replies
  • 0 kudos

STM32h7 Multichannel ADC DMA is not working.

Hi,I am try to read four ADC Channels of ADC3 using DMA method. But I did not get the data.Below is my programmingstatic void MX_ADC3_Init(void){ ADC_ChannelConfTypeDef sConfig = {0}; hadc3.Instance = ADC3; hadc3.Init.Resolution = ADC_RESOLUTION_16B;...

MDeva.1 by Associate II
  • 1913 Views
  • 3 replies
  • 0 kudos

UART transmit works succesfully but reciever don't

The device I am using is F303K8T6.I am trying to learn. I have no problem with transmitting.But when it comes to receive data it don't works. Interrupt not rises.But when I connect tx pin to rx pin it works well. Interrput rised. The code and concern...

0693W00000Y9or4QAB.png 0693W00000Y9orFQAR.png
SinanOZ by Associate
  • 719 Views
  • 1 replies
  • 0 kudos

STM32 H745. Is it possible to trigger a dma transfer from memory to SPI on rising/falling edge of pwm generated from a timer?

Hello, I'm having trouble reading from external ADC which needs a maximum time of 10ns from the falling edge of command (I'm giving it from a TIM4 PWM mode 1, 300ns active, 100kHz frequency). I'm using TIM3 as a slave timer from TIM4, one shot and TI...

EDallaVia by Associate II
  • 1159 Views
  • 3 replies
  • 0 kudos

What is the maximum main frequency of the STM32H7 devices, and if this frequency can be output by any of the devices pin?

What is the maximum main frequency of the STM32H7 devices, and if this frequency can be output by any of the device's pin and if this frequency can be input by any pin of the device. By the way, the project we are working on need the frequency is th...

xzhan.22 by Associate
  • 951 Views
  • 2 replies
  • 0 kudos

Encoder read error

Hi there!i start to work with a rotary encoder, i configurate a timer 3:in this way and i enable the interrupt . for read the encoder inside the timer interrupt i write nuber= (TIM3->CNT)>>2;so when i read the varible the first time i see 0 - 1- 2- 3...

0693W00000Y93vJQAR.png
SGian.1 by Senior
  • 1133 Views
  • 3 replies
  • 0 kudos