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

The ADC1 & ADC2 is configured in multimode with DMA and trigged by TIM1, but I only get half sample rate 20 kHz. What I have done wrong? Q2 I can only use TIM1 Trigger 2 Out Event to trig the ADCs. Why can I not use any other timers or events?

static void MX_ADC1_Init(void) {   ADC_MultiModeTypeDef multimode; ADC_ChannelConfTypeDef sConfig;   /**Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion) */ hadc1.Instance = ADC1; h...

AJack by Associate II
  • 4764 Views
  • 8 replies
  • 0 kudos

ADC read with STM32L433

would like to read ADC value for vbat consecutively.First read VbatSecond read VREFINT.implementation is like below.​ hadc1.Instance = ADC1; hadc1.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV4; hadc1.Init.Resolution = ADC_RESOLUTION_12B; hadc1.Init.Data...

YChun.15 by Associate
  • 912 Views
  • 4 replies
  • 0 kudos

STM spi master sending extra clock signals.

I am trying to communicate with an adc chip acting as a spi slave to my stm32f3 spi master. So far I am unable to make it work.After attaching an oscillscope I found out that if i send only 8 bits of data to the slave , I get exactly 16 clock pulses ...

Sdddd by Associate II
  • 1623 Views
  • 6 replies
  • 0 kudos

Incorrect Get Time from RTC (year 2035 for example)

Hello everyone, I have an application that synchronizes the RTC with the current time using a 3G module. Once it is synchronized, the system gets the date and time every 5 minutes in order to store sensor samples with a real timestamp. Everything is ...

Luis Ber by Associate II
  • 381 Views
  • 0 replies
  • 0 kudos

Why 32kb flash memory instead of 192kb?

I am busy with the muRata module and sixfox on the discovery kit STM32L072. When i want to copy a bin file to the the board as external drive it gives a not enough space error. The total size of the disk is only 32 kb, while the documentation says th...

Meng by Associate II
  • 671 Views
  • 2 replies
  • 0 kudos

Hello, I am having trouble with the STM32L476 IWDG settings. I want to put the IWDG into FREEZE mode, and I set the bits accordingly, but still get resets generated by the IWDG after putting my application in sleep mode.

I tried two methods - my first code is as follows:FLASH_OBProgramInitTypeDef flashUserConfig = {0};flashUserConfig.OptionType = OPTIONBYTE_USER;flashUserConfig.USERType = OB_USER_IWDG_STOP;flashUserConfig.USERConfig = OB_IWDG_STOP_FREEZE;HAL_FLASHEx_...

JVill.11 by Associate
  • 487 Views
  • 0 replies
  • 0 kudos

STM32F0, Hall sensor TIM3 interrupt not triggering

My device: STM32F051R8T6Dev board, F0 disco.My end goal is to make a BLDC control system with Hall Sensors and utilize the ability of general purpose timer to trigger the interrupt on hall sensor line edge change.I am using TIM3 as an interface timer...

RRekk by Associate II
  • 2654 Views
  • 8 replies
  • 0 kudos