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

Detecting when I2C bus becomes IDLE

STM32F302K8 here. According to the manual, there is a flag in the ISR to see if the bus is busy, but it does not generate an interrupt when cleared. Also the STOP condition says it is only generated while you are the master and generate it, or are ...

psusi by Associate II
  • 1383 Views
  • 4 replies
  • 0 kudos

Hello All, I am using, STM32F446RE controller evaluation board. I want to count external pulses. I had set TIM2 as counter and started the counter. But the counter interrupt is not getting generated with the frequency we are setting the pulse.

Appending more details here,Configured TIM2 as counter. Below is the TIM2_INit code,static void MX_TIM2_Init(void){ TIM_SlaveConfigTypeDef sSlaveConfig = {0}; TIM_MasterConfigTypeDef sMasterConfig = {0}; htim2.Instance = TIM2; htim2.Init.Prescaler = ...

TH.16.336 by Associate III
  • 400 Views
  • 1 replies
  • 0 kudos

Send 32bit data on SPI protocol

Hello,For communicating with a sensor I need to send 32 bits as a clock for my sensor. As you can see in the 8-bit data transmission an interruption occurs during sending 4 bytes which is unpleasant for my communication. I wrote a Software SPI (bit-b...

parisa by Senior
  • 3226 Views
  • 10 replies
  • 0 kudos

STM32F103 ADC read voltage value difference

Hello, I am uing STM32F103 MCU and I am having a small problem with the ADC. There is a 250 mV difference between the real voltage value on a pin and the value ADC gives me. When I measure the voltage on a pin it is 900 mV. But when I print out the A...

GunkutA by Senior
  • 476 Views
  • 1 replies
  • 0 kudos

Resolved! Lowest power mode which resumes program after wake?

Hi all,I'm developing a low power sensor node using the Nucleo STM32L432KC development board, and I was wondering what the lowest power mode is from which the device can wake up and just continue operation from the next line of code after the sleep c...

MHuis.1 by Associate II
  • 1034 Views
  • 5 replies
  • 0 kudos

Resolved! Concept and operation of SDMMC kernel clock of STM32 H7 family

Hello everybody,Regarding STM32 H7 family:I am going to use SDMMC module of one chip of H7 family,by my own C code and without using any operating system(if possible) .As I ponder the manual reference of the chip,I noticed to "sdmmc_ker_ck" or "SDMMC...

HTajb.1 by Associate III
  • 695 Views
  • 2 replies
  • 0 kudos

The issue in stm32 encoder mode.

Hi, I'm using STM32F103C8T6.When i used encoder mode on TIM3 and 4, I found that it's really unstable, when I restart or reset the microcontroller, it often can not read the encoder data (about 3/5 times). I measured the voltage on these timers's pin...

Is there anyway to calibrate ADC in STM32f429ZI MCU?

HiI am getting too much noise in my signal as soon as I acquire it. The oscilloscope screenshot shown below is the actual signal. Below is the signal shown after acquisition through ADC. I have found no instruction for ADC calibration. What else can ...

0693W000001qJCEQA2.png 0693W000001qJCxQAM.png
ADITI by Associate II
  • 806 Views
  • 4 replies
  • 0 kudos