STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L431 Spurious RESET on recent component batches

Hi,when i use sleep mode, i have a reset problem on STM32L431CCT6 only on recent batches.I implemented the workaround described in section 2.2.5 of dm00218224-stm32l431xx-device-errata-stmicroelectronics.pdf but without success.The problem only affec...

sroll by Associate II
  • 1890 Views
  • 11 replies
  • 0 kudos

Resolved! STM32F103 SPI DMA slave mode sends first byte twice

I have an STM32F103 configured in slave mode using NSS for slave select and using DMA. I'm using 8 bit mode. When the master starts clocking the STM32F103 it always shifts out the first byte in the buffer twice. So rather than seeing 0xF0, 0xF1, 0xF2...

LSE false enabled, PC14 wrong reading

We discovered spurious Errors (every half a year) on reading out the GPIO Pin PC14 on a STM32F427ZIT6.The Pinis not connected on the PCB itself.Is configured as Input with PullUpAnd reads in perfectly the High state from the PullUp in 99.99% of the c...

Resolved! Hardfault on ADC voltage change

Hello,I have a strange problem on an STM32G071. I get ADC values every 25 ms from ADC1 channel 0 to 3 without DMA as speed is no issue. Strangely when one of the canels reaches about 1.2 V the CPU sometimes goes in a hard fault lock. There is a poten...

STM32F767 - Problems with the SPI communication

Hi,I started now programming the STM32F767ZI MCU and do not have any experience with 32bit uController.I have to programm a project, which includes a SPI communication to an external ADC. It must be programmed with the LL library and I'd like to do t...

0693W000001qeYBQAY.png 0693W000001qeYLQAY.png
mof182 by Associate II
  • 1755 Views
  • 9 replies
  • 0 kudos

How to reset I2C on STM32F4407 without resetting the MCU

HelloI have trouble with handling an I2C error on my STM32F407. My I2C bus usually works fine but it sometimes hangs, with both clock and data lines are high, but the I2C communication does not start. The SR2.BUSY bit remains high and sometimes when ...

Nils B by Associate II
  • 13071 Views
  • 18 replies
  • 1 kudos

Resolved! Behavior of floating point divide by zero

Hi, everyone.I have found a bug in my code resulting division by zero (float).We get hard fault if we try to divide an integer number by zero. So how does this process work for float numbers? I have tried this code and result is very strange. MCU han...

SCAN.1 by Associate II
  • 2323 Views
  • 2 replies
  • 0 kudos