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

Does an ISR violate ongoing I2C communication?

I am doing i2c reads in my while(1) loop. I do have an external interrupt source. I wonder, if the external interrupt arrives while data is being sent on i2c bus, what will happen? The mcu will enter to interrupt service routine clearly, will i2c per...

YAkse by Associate III
  • 585 Views
  • 1 replies
  • 0 kudos

LPUART baud rate

I have chosen the STM32L07 as it has a LPUART that, from my reading, is ideal for my project where I have to communicate with an SDI12 sensor running 1200-baud 7-bits even parity. When I try and change the 209700bits/s default in the STMCubeMX to 120...

Resolved! Code runs fine after `st-flash write`, but not after reset

I'm using the template code for the STM32F7508-DISCO from the STM32CubeF7 repository with the only change being that I add a LED toggle and a busyloop to an infinite loop in `main`. The startup code and everything else is per the template.If I flash ...

GSpre.1 by Associate III
  • 1659 Views
  • 5 replies
  • 0 kudos

Resolved! what is the the hardware fifo size of STM32f103CB and how to know whether the FIFO is empty or full?

HiAs the title mentioned, I can't find relevant information in the datasheet.I get some problem when using UART. I have two chips, the master chip transmits packages to RS485 Bus line, and the slave chip receives it then transmits the respond(UART1),...

Olly Kao by Associate III
  • 2139 Views
  • 3 replies
  • 0 kudos

Resolved! Hi, I am new to STM32. I am trying to get the RTC working on a nucleo F302R8 board. But the seconds are giving weird returns. I am not sure that minutes work properly either.

Here is the RTC initialization code:static void MX_RTC_Init(void){ /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; /* USER CODE BEGIN RTC_Init 1 */ /* USER CODE END RTC_Init 1 ...

GPapo.1 by Associate
  • 1152 Views
  • 3 replies
  • 0 kudos

SPI DMA multimaster setup, buffert size issues

HelloIm working on a multimaster setup, but having alot of problems setting it up.the processor in use is stm32f765zgThis is my pin setup(msp):SPI2_SCK_GPIO_CLK_ENABLE(); SPI2_MISO_GPIO_CLK_ENABLE(); SPI2_MOSI_GPIO_CLK_ENABLE(); SPI2_CS_G...

MBohm by Associate II
  • 1098 Views
  • 4 replies
  • 0 kudos

GPS: STM32L010K4 Hardfault_Handler at STM32L0xx_it.c:0x80006

Dear fellow geek, I am working on a project wich uses the STM32L010K4 microcontroller. We implemented the chip on a PCB and we can write pins high and low and we’re able to use SPI.This project revolves around a GPS application. We’re trying to use t...

0693W000003PMTqQAO.jpg
Rgoss.1 by Associate II
  • 1948 Views
  • 10 replies
  • 0 kudos