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

Trying to write data over I2C to an STM32F103C6 working as a slave in IT mode only gives a hard fault and the data is not stored in the array

***Edited to show the probably all the code involved without including the HAL libraries***Hi all, I'm using HAL libraries to code an STM32F103C6 as a slave and I'm using HAL_I2C_Slave_Receive_IT(), debugging I can see that the slave recognize its ad...

0693W000003BdFoQAK.png
VRami.1 by Associate III
  • 432 Views
  • 3 replies
  • 0 kudos

Resolved! Wakeup from standby falling edge

Hello, i'm working with stm32l412cb on custom PCB, and I ran into trouble.Is there any way to wake up MCU from standby by falling edge? Here is scheme and code:void enter_sleep() { HAL_EnableDBGStandbyMode(); //HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13,...

0693W000003BWPCQA4.png 0693W000003BWZqQAO.png
makavity by Associate II
  • 678 Views
  • 2 replies
  • 0 kudos

HAL_SPI_Receive() issues, more than 1-byte SCLK

Dear all,I have been trying to read ADC value from an ADC chip (TI ADC161S626) through SPI receive only master (The STM32 used were STM32F103C8T6). However, I realised when I request to read one byte with HAL_SPI_Receive() function, there are more th...

0693W000003BWQPQA4.jpg
YChen.41 by Associate
  • 599 Views
  • 3 replies
  • 0 kudos

Hi all, I am trying to get the USART1 working with STM32F072VB micro (only USART-1 and no other peripheral). At CubeMX, I have seleted PA9 and PA10 as the GPIO pins configured for USART-1 and have selected the NVIC option at USART configuration at CubeMX.

huart1.Instance = USART1; huart1.Init.BaudRate = 9600; huart1.Init.WordLength = UART_WORDLENGTH_8B; huart1.Init.StopBits = UART_STOPBITS_1; huart1.Init.Parity = UART_PARITY_NONE; huart1.Init.Mode = UART_MODE_TX_RX; huart1.Init.HwFlowCtl =...

JK.4 by Associate II
  • 517 Views
  • 3 replies
  • 0 kudos
Labels