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

Hi im working on stm32l072cbt6 micro controller im trying to read the adc value on channel1 in polling method i generated the code using stm32 cube ide,the issue is that always i could not se any variation in the adc raw values and my code is as below,

void MX_ADC_Init(void) {   /* USER CODE BEGIN ADC_Init 0 */   /* USER CODE END ADC_Init 0 */   ADC_ChannelConfTypeDef sConfig = {0};   /* USER CODE BEGIN ADC_Init 1 */   /* USER CODE END ADC_Init 1 */ /** Configure the global features of ...

NJP.1 by Associate III
  • 804 Views
  • 6 replies
  • 0 kudos

Resolved! STM32F107 I2C1 & I2C2

Hello,I am going to replace STM32F107 instead of F105 in my design, and as I see F107 has only one serial interface I2C1. In my case, I need both I2C1 and I2C2. Is there any way I can remap or define some pins as I2C2?Thank you.

NASI by Senior
  • 764 Views
  • 2 replies
  • 0 kudos

How to calibrate ( RTC )LSE Crystal by temperature ?

I ' ve been working on a device that able to use industrial area. I must be sure that rtc clock is accurate because this device need to use RTC too much. When i researched , i did not find any code example about rtc calibration by temperature. Any su...

oziesin by Associate III
  • 2902 Views
  • 5 replies
  • 0 kudos

Resolved! STM32U585QI SPI Issue

Hi,I have successfully configured the SPI1 with following parameters and trying to transfer a single byte but it is being timed-out in HAL_SPI_Transmit as EOT is not being set.Init.Mode = SPI_MODE_MASTER;Init.Direction = SPI_DIRECTION_2LINES;Init.Dat...

Ramin1 by Associate II
  • 1407 Views
  • 3 replies
  • 0 kudos

I need urgent help on STM32L071 RTC power consumption. when we enable standby mode, without RTC, the current from battery is <1uA . when we enable standby mode, WITH RTC, the current from battery is ~200 uA ? Which is too high to sustain

I need urgent help on STM32L071 RTC power consumption. when we enable standby mode, without RTC, the current from battery is <1uA. when we enable standby mode, WITH RTC, the current from battery is ~200 uA ? Which is too high to sustain

STM32F412 TIM3 16 bit or 32 bit ?

The reference manual (RM0402, DocID028087 Rev 7, Fig 4) shows TIM3 as a 32 bit timer. However, the in the description in Section 17.2, TIM3 and TIM4 are described as 16 bit timers.Is this a mistake in Figure 4 ?Thanks 

0693W00000HoK8rQAF.jpg 0693W00000HoK8wQAF.jpg
gahelton1 by Associate III
  • 891 Views
  • 2 replies
  • 1 kudos

SDRAM HAL_SDRAM_WRITE_32b function not working for stm32H7.

Hello,I'm using STM32H757i-EVAL board and trying to store some data in the onboard SDRAM using stm32cubeide (1.7.0).Below is my initialization for SDRAMvoid MX_FMC_Init(void) {   /* USER CODE BEGIN FMC_Init 0 */   /* USER CODE END FMC_Init 0 */  ...

Aarra.1 by Senior
  • 451 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F103C8, How to stop PWM signal?

Hi ST Community.I need your help. I am working on a PWM Proyect, Duty cicle must be change every period, and there is delta time where the PWM must be OFF.I am using a Timer, it fire an interrution and this interruption set a flag to 1 in order to r...

ERABALF by Associate III
  • 2335 Views
  • 5 replies
  • 0 kudos