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

I2C SDA abnormal

When I used the STM32L412KB as an I2C slave. when there only one slave on the bus, all the function works well. but if there hastwo devices on the bus and continue to access one slave device, the non-addressed I2C slave will damage the SDA bus. I cap...

Haifeng by Associate II
  • 1237 Views
  • 3 replies
  • 0 kudos

CAN error 0x000E0000

Hi, I have STM32F091RC board and I am using CAN interface to read CAN BUS data from car. CAN works when I am powering STM32 from USB port (U5V). When I try to power STM32 from car (with E5V port), I get error in can interface 0x000E0000.What could be...

JBond.1 by Senior
  • 444 Views
  • 0 replies
  • 0 kudos

Calling multiple time __HAL_UART_GET_FLAG in UART

When I try to print on the serial interface with SerialPrint function.  void SerialPrint(const char *serial_data, ...)   {     char uartbuffer[1024];   va_list arg;   va_start(arg, serial_data);   uint16_t len = vsnprintf(uartbuffe...

DCtech by Associate II
  • 1574 Views
  • 1 replies
  • 0 kudos

Resolved! Creating a "Delay by x microseconds" function using TIM6

Hi, I'm trying to understand what I'm doing wrong that the following function seems to delay by anywhere between 667ns and 5.67us even though it's being called as Delay_us(4)I'm using Nucleo STM32F446REvoid KJO_TIM6_Init(uint16_t arel) { LL_APB1_GRP...

kj.obara by Associate III
  • 2912 Views
  • 11 replies
  • 0 kudos

PGSERR and PGPERR Problem

I have a problem with PGSERR and PGPERR bits being set after reset operationI am using stm32f4 board than I am using CANBUS and FW update process.When I use serial debug print in MX_CAN1_Init function. I faced with flash erasing error. Then I analyse...

DCtech by Associate II
  • 1535 Views
  • 7 replies
  • 0 kudos

Resolved! How to reprogram STM32L452 chip when the flash is corrupted

Hello everyone,I am new to the STM32 environment and I am trying to change the BOR level of STM32L452. I think I have corrupted the flash while trying to do this. And now when I try to reprogram the device it fails and gives the following error:Open ...

Sanket by Associate II
  • 1282 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F4 HardFault with 1 bit flipped address access

Hello Everyone,I have a Communication (UARTs) and DMA intense application running on stm32f439z. I am getting a strange Hardfault, not very rarely, I would say one per hour average, related to a wrong address access on the bus. Not happening always...

omercpp by Associate II
  • 1496 Views
  • 8 replies
  • 0 kudos

Boundary scan testing on Discovery board

Hii everyone,I've couple of questions. I'm using Discovery board with STM32F407VG in LQFP100 package. I want to do the boundary scan testing on it. is it possible to do boundary scan testing?is it possible to trace Embedded macro cellis it possible/H...

Rsrma.1 by Associate III
  • 506 Views
  • 2 replies
  • 0 kudos

SPI Protocol Polarity Issue " hspi2.Init.CLKPolarity "

I set up a basic Master-Slave SPI communication interface from the STM32H750VBT to the STM32F7ZET MCUs in only one direction. And in this workspace I set my hspi2.Init.CLKPolarity configuration as SPI_POLARITY_LOW on both sides. And, as far as I know...

SEROL.1 by Associate
  • 904 Views
  • 2 replies
  • 0 kudos