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

SPI output is wrong

I have STM32F407 that is communicating with TFT lcd over SPI. What I am seeing with Logic Analyzer doesnt match what I am sending. I cant see the pattern, but data is consistent, so its probably some setting that is off. I tried all combinations of C...

Gossamer by Associate II
  • 826 Views
  • 5 replies
  • 0 kudos

Problem with Flash_Write after a reset

Hi,I'm using the FLASH_Write function in order to save a table in a specific address. Once it is saved correctly I reset the board and try to change another address with the same function.The problem is that the flash_write function works at the firs...

Moughit by Associate III
  • 1407 Views
  • 2 replies
  • 0 kudos

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
  • 1349 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
  • 474 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
  • 1723 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
  • 3141 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
  • 1665 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
  • 1400 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
  • 1636 Views
  • 8 replies
  • 0 kudos