STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

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 Evangelist III
  • 465 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
  • 436 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
  • 511 Views
  • 2 replies
  • 0 kudos

SPI pin MISO not going to low after sending data to ADC

Hello! I am trying to communicate with ads1118 through spi3 using HAL library and STM32F205. According to datasheet, after sending the configuration data, we must wait for MISO to go low then we'll be able to retrieve data from the chip. But the MISO...

0693W00000Bc4WuQAJ.png 0693W00000Bc4WzQAJ.png 0693W00000Bc4XJQAZ.png 0693W00000Bc4Y7QAJ.png
Kolab by Senior
  • 272 Views
  • 0 replies
  • 0 kudos

How can I find SDIO problem?

Hey guys.Im using stm32f103rct6 and sdio for sd card.My problem is that when using fatfs functions i get different errors that are random. For example once it gives me disk error but the next time it gives me disk not ready in a same operation.How ca...

Sending some data clears UART interrupt bit

I am using STM32F042K6TX. I set UART read data register not empty interrupt, I am sending and receiving data. This is how RXNEIE bit before it is corrupted. In this code when "i" is 2 it clears RXNEIE bit. I tried all numbers 0-255 and only 2 does t...

0693W00000Bc1iJQAR.jpg 0693W00000Bc1k5QAB.jpg 0693W00000Bc1lhQAB.jpg
kb24 by Senior
  • 327 Views
  • 2 replies
  • 0 kudos

"printf" implementation question\n\r

Hi,I implemented printf on my DISCO-F407VG board according to this tutorial: http://www.emcu.eu/how-to-implement-printf-for-send-message-via-usb-on-stm32-nucleo-boards/however, I found that if I do not include "\n\r" at the end of a print, I do not r...

zrs5532 by Associate II
  • 1225 Views
  • 4 replies
  • 1 kudos