STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Reconfigure the synchronized timers

Hi, I'm using STM32F407 development board. I synchronized TIM2 as master and TIM5 as slave. Timer initialization functions:void TIM2Config (void) { // 1. Enable the TIM2 clock RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; // 2. Set clock coeff. as 2, ena...

0693W00000Y9oyoQAB.png 0693W00000Y9p1iQAB.png

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
  • 941 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
  • 1560 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
  • 533 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...

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
  • 671 Views
  • 2 replies
  • 0 kudos