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

ADC measuring internal reference gives strange results for shorter sample times. Is there a way to measure the internal reference with sample times of 1.5?

Setup: 48MHz CPU clock, ADC clock = CPU/4. For various sample times, I get internal reference measurements of: 1.5 - 1925, 7.5 - 1760, 13.5 - 1420, all other sample times give 1550. I thought sample times were to cope with high impedance sources. ...

CVan.18 by Associate II
  • 433 Views
  • 0 replies
  • 0 kudos

STM32L476RG using internal PGAs with ADC in differential mode

Hi,I am using the STM32L4 ADC in differential mode (PC0 and PC1), to capture the dual end output of a tuner which provide a 600 to 800KHz signal. The tuner maximum output is 2.0V PP, and the STM32L4 differential input is rated for 6.6V PP (-3.3V to +...

HBida by Associate III
  • 545 Views
  • 1 replies
  • 0 kudos

how to use extern "C"

hi everyone want to use interrupt in main.c i am using extern "C" for this purpose but its couldn't compile/* USER CODE BEGIN 4 */ extern "C" void TIM2_IRQHandler(void) { // Handle update interrupts (update interrupt flag is set) if (TIM2->SR & TIM_S...

waaizkhan by Associate III
  • 2987 Views
  • 4 replies
  • 0 kudos

in stm32h7, access to battery backup ram inside stm chip sometimes doesnt work. on nucleo board. when clk turned on, battery ram stops working. thanks

battery backup ram works after power on. stops working ( get hard fault ) upon access to variable in battery backup ram. battery backup ram works when developement system dissconnected. sporadicaly stops working when ijet or segger connected to nu...

Ishel.18 by Associate
  • 644 Views
  • 1 replies
  • 0 kudos

STM32 External Loader

Hello everyone,I am developing a project with STM32F750N8 using Keil IDE, JLink Edu debugger.Also using W25Q128 QSPI Flash. I want to load my hex to the qspi flash and run the software from there (with memory mapped mode).I build a BSP Library that c...

STM32 timer ETR mode + slave reset

Hi,I need to periodically count the number of pulses of signal A between two rising edges of signal B. For that I use a timer (TIM2) in ETR mode (signal A is the ETR input), input capture on signal B and slave trigger+reset on signal B rising edge.No...

PKulh by Associate II
  • 1803 Views
  • 3 replies
  • 0 kudos