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

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
  • 2427 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
  • 1121 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
  • 3238 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
  • 675 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
  • 782 Views
  • 2 replies
  • 0 kudos

Resolved! Buffered DAC or OPAMP max current ouput?

Hello,I don't find on the STM32H730ZB datasheet a clear information about the maximum current output for the DAC ( with or without a OPAMP in follower). I plan to drive a LED from 100µA to 10mA maximum.Today, I have an externaI op-amp & mosfet but I ...

Resolved! Hardfault on STM32F746BGT6 startup, __libc_init_array

I'm trying to get a STM32Cube project compiled using arm-none-eabi-gcc and a Makefile. The FW builds without problems.but when I boot the MCU i get stuck in Hard Fault. Any ideas what could be wrong?Reset_Handler: ldr sp, =_estack /* set s...