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

STM32L4 Does not wake up from STOP Mode with the RTC alarm

Hi all,I am using STM32L431 and the device is not waking up from STOP mode with an RTC alarm interrupt. Can somebody pinpoint where my issues are?My configurations in the code configurator:I am enabling the crystal oscillator, enabling the calendar, ...

0693W00000AOx6zQAD.jpg 0693W00000AOx7JQAT.jpg 0693W00000AOx7nQAD.jpg
KKili.1 by Associate II
  • 3617 Views
  • 9 replies
  • 0 kudos

How to transmit hex data over spi?

I want to transfer binary data (not character) without having to worry about character conversion, so directly:uint8_t data = 0xBF;HAL_SPI_Transmit(&spi1handle, (uint8_t *) data, 1, 1000);But I get something else at the receive end, specifically I ge...

Dian.1 by Associate II
  • 1460 Views
  • 3 replies
  • 0 kudos

Resolved! Problem with RTC and wakeup of stm32f103

I need help with standby mode and rtc wakeup.If I set date/time and RTC-Alarm time, I don't get an RTC - interrupt.I guess this is why the stm32f103 don't wake up from deep sleep.Do anyone have an link (or code) to an example using RTC amd wakeup fro...

oe2 by Associate III
  • 1625 Views
  • 2 replies
  • 0 kudos

ISM43362 WIFI Module on B-L475E-IOT01A

I connect with the module to an Access Point and get IP. Now I have some devices connected to the same Access Point. I want to receive UDP packets from the devices.What should I do? I can connect only with TCPif (WIFI_StartServer(SOCKET, WIFI_TCP_PRO...

Resolved! Where are defined AF numbers for pins?

I have a project for H743 with three SPIs.CubeMX creates the following code for initializing SPI pins:void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) { GPIO_InitTypeDef GPIO_InitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; if...

Pavel A. by Super User
  • 785 Views
  • 2 replies
  • 0 kudos

Potential bug with SPI3/I2S3 for STM32H753ZI

Hi guys!I believe I found a bug with the SPI/I2S peripheral.The initial problem started here: https://electronics.stackexchange.com/questions/571749/function-pointers-causing-unexpected-behaviour-within-stm32h753zi-microcontrolle?noredirect=1#comment...

CLeo.1 by Senior II
  • 783 Views
  • 3 replies
  • 0 kudos

I set the MCU STM32F103C8 to 72 MHz (8 MHz external oscillator). However, the function does not give exactly 1 ms of time, but a value approximately 4 times larger. Any suggestion?

void delay_ms ( unsigned int i ){  unsigned int temp;  SysTick-> LOAD = 9000 * i; // if subtle, the SysTick-> LOAd = 9 * i;  SysTick->CTRL = 0x01;  SysTick->VAL = 0;  do{ temp = SysTick-> CTRL; // read the current countdown value  }while ( ( temp & 0...

0693W00000Bc4cEQAR.png
WRain.1 by Associate
  • 831 Views
  • 2 replies
  • 0 kudos