STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C communication address issue

Hi, All. I have come across an odd situation in I2C communication between F405 and sensors1) F405 is master. address is 7 Bit2) with 3 slave I2C sensors , address, 22h,35h,78h3) There is no issue to read data from sensors of 22h and 35hbut when comm...

_legacyfs_online_stmicro_images_0693W00000bkmxQQAQ.png _legacyfs_online_stmicro_images_0693W00000bkmxaQAA.png

Resolved! Data transmit by UARD (DMA) with junk character

Dear eveyone,I' little confuse..I'm trying to send dat over uart from a nucleo board (F103 + FDTI). If a use "normal"method, it's work great.I mean, i receive "1234567890" WITH a new line.uint8_t start [20]= "1234567890 \n\r"; HAL_UART_Transmit(&huar...

jlecl.1 by Associate III
  • 841 Views
  • 4 replies
  • 0 kudos

Resolved! Delaying the reset that comes from the NRST

Hi all,I'm using STM32L562VETQmy question is:can i delay the reset for about 20ms when pressing the NRST pin ?i want to give LED-Indication for the device reset.in other words, can the reset -that comes from the NRST pin- be delayed for a specific am...

_legacyfs_online_stmicro_images_0693W00000bl9zFQAQ.png
WAdel.1 by Associate II
  • 1664 Views
  • 4 replies
  • 1 kudos

F411 Flash programming returns PGA & PGS Error

I'm trying to program some data into a flash sector but the HAL_FLASH_PROGRAM returnsa value of 10 which maps to pga and pgs error.HAL_FLASH_Unlock(); uint64_t val = (uint64_t)(data->at(i) << 8 | data->at(i + 1) << 8 | data...

Dvan .8 by Associate II
  • 426 Views
  • 0 replies
  • 0 kudos

Hi everyone, I am using STM32F411re for a project and I I have to define I2C communication. Below I am will mention the both cpp and header file and the error I got while compiling the code.

Header file: /** * @file I2CCommunication.h * @brief Header file for controlling I2C messages */ #ifndef INC_I2CCOMMUNICATION_H_ #define INC_I2CCOMMUNICATION_H_ #include "DefaultDefines.h" /** * @brief The I2CCommunication class * * This ...

Kanan by Associate
  • 512 Views
  • 0 replies
  • 0 kudos