Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi I measure the frequency from sensor using the Timer Input Capture mode. I set the timer can read minimum 1Hz.72M / 7200/65535 = 0.15HzThis is my code. void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) { HAL_GPIO_WritePin(LED_PORT, IN_LED_...
I'm trying to understand how flash memory is organized for STMN32G474QB or STM32G474QC flash. I don't have the micros till now so I cannot do any test to understand that. From the RM0440 manual it seems both are in category 3 device. But when I look ...
Hi, I need to sample a signal at a frequency of 10kHz. To avoid the use of the microprocessor I thought of doing it using a 10kHz Timer that triggers the ADC conversion on its falling edge, in addition, I need the ADC read value to be transferred via...
I want to read the Vdd (link to VDDA) of my board with the ADC in a STM32L072. I try read it through a divider bridge or through VrefInt, and both give me a value far below the voltmeter value.here is my config: hadc.Instance = ADC1; hadc.Init.Ov...
Hello, I'm using stm32F446RE.Sending CAN messages to two controllers and it stopped working after some seconds if time delay between the messages is less than one second, And it's slow for my project.looking for suggestions, attaching some of my code...
Hello All....Simple question. I am using the functions(HAL_TIM_Base_Stop_IT and HAL_TIM_Base_Start_IT). Basically I set a timer to count to a value and an interrupt occurs. The timer starts on a GPIO edge. I would like the timer to always zero out at...
I'm reading TS and clearing TSF, ITSF, TSOVF flags upon power up. But when power cycle happens again, the TS registers are still containing the previous value, but not present value.