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

HAL Tick and PWM on TIM1

Hello,We use the CubeIDE generator for most of the code initialization. Therefore the HAL is also inizalized. The function HAL_Init(); is executed and TIM1 is started.The Hal ticks work fine.Now I want to use the Chanel 1 of Timer1 for a PWM signal o...

JBenn.1 by Associate II
  • 1256 Views
  • 4 replies
  • 0 kudos

STM32H745 call event interrupt in second core

Hi,I'm trying to create multicore communication. I want to call interrupt in the second core. Firstly I thought that I can somehow make hardware semaphore release interrupt in the second core. But then I found something better in the CubeIDE:It looks...

0693W000005CoNTQA0.png
Frak.1 by Associate II
  • 754 Views
  • 1 replies
  • 0 kudos

STM32 "Stack pointer is setup to incorrect alignment" Error

Hi there. I am developing a bootloader application in IAR EWARM environment on my STM32f415 card. I'm having trouble uploading it to my stm32 card when I want to debug the bootloader code.Bootloader code starts from 0x08000000 and application code st...

Rdgn by Associate
  • 2656 Views
  • 2 replies
  • 0 kudos

Resolved! Why do I get wrong data by SPI?

/* USER CODE BEGIN 2 */ // CS pin should befault high HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12, GPIO_PIN_SET); uint8_t TX_Data[13] = "Hello World!"; uint8_t RX_Data[13]; /* USER CODE END 2 */   while (1) { /* USER CODE END WHILE */ ...

0693W00000DlnPzQAJ.png
DK.7 by Senior
  • 1246 Views
  • 5 replies
  • 0 kudos

Resolved! Max. frequency for reading a GPIO input data register (IDR)

I'm writing code for the STM32F411 and STM32F103 MCUs using the ST HAL library. The firmware reads an IDR directly using the HAL function HAL_GPIO_Read_Pin. The function is called 2 to 3 times in main(), that is, the IDR register is 'polled' more tha...

Kmax18 by Senior II
  • 3599 Views
  • 8 replies
  • 0 kudos

1.2v domain clock

In Standby mode it is given like this.... (1.2 V domain powered off).All 1.2 V domain clocks OFFwhat does this means?

AR.7 by Associate II
  • 726 Views
  • 1 replies
  • 0 kudos

I am reading i2c data from temperature sensor. I need to convert i2c data that I got from sensor to PWM signal. I have generated PWM signal.

Right now, I am able to get I2C data from sensor. I have generated PWM signal separately with TIM_CH2. But I have no idea how to generate pwm from I2C signal. So, basically I need to control amplitude of pwm from i2c signal. I am using NUCLEO-L011K4 ...

NKaur.1 by Associate II
  • 894 Views
  • 2 replies
  • 0 kudos