STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to support I2C burst write/read?

I wish to configure my STM32 MCU (STM32G071RB) as an I2C slave device, and support I2C burst-write and I2C burst-read, in a similar manner to many I2C slave devices:(usually the RA value is incremented after every DATA byte)The I2C receive/transmit f...

0693W000001reYmQAI.png
Yiftah by Associate II
  • 3228 Views
  • 5 replies
  • 0 kudos

Resolved! I2C HAL lock state not properly updated

Hello,While I was tracking an issue on I2C bus, I found something that seems to be unconsistent in HAL file stm32l4_hal_i2c.c1 - routines I2C_WaitOn_____UntilTimeout() are called after locking the bus with __HAL_LOCK(hi2c) macro2- these routines upda...

Problem with I2C on STM32H7A3IIK6

Hi, i'm developing a project on STM32H7A3IIK6 [cortex M7] and i'm having a problem using the I2C peripheral with the ST HAL functions. I've initialized the peripheral and enabled the Event and Error Inpterrupt with TX and RX DMA and, sometimes, i hav...

Miglio by Associate II
  • 1936 Views
  • 15 replies
  • 0 kudos

Resolved! STM32G041 boot mode selection

Hello All,We are using STM32G041F8P6 in our project. This IC will be programmed through I2C/USART and we will be using System Memory for booting(internal flash).As per the datasheet:At startup, the boot pin and boot selector option bit are used to se...

sagar_bn by Associate II
  • 1318 Views
  • 3 replies
  • 0 kudos

Resolved! Slave I2C interrupt issues

I am struggling to find working examples to work with FreeRTOS in an interrupt mode.I use the function HAL_I2C_Slave_Transmit_IT() This enables the interrupt as well as setting up the data.It works to a point, then the remote Master send a Nak and 8 ...

Mike xx by Associate III
  • 674 Views
  • 2 replies
  • 0 kudos
Labels