STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Is there a guide on how to use I2C with DMA?

Bonjour,I've been able to use I2C to communicate with I/O extender and display drivers with HAL. I'm now trying to use the I2C with HAL using DMA.The problem is that UM1785 Description of STM32F0 HAL and low-layer drivers is a bit vague on explanatio...

Matth1 by Associate II
  • 4 replies
  • 0 kudos

MCUs: We want your knowledge base suggestions!

Dear community members,We invite you to provide your suggestions for knowledge base articles in this thread. We strive to create articles that can assist or inspire you in the best possible way. Anything goes, the only condition is that it is related...

STM32H7A3 I2C_CR1 bit NOSTRETCH settings

Currently try to configurate settings for register I2C_CRI. Not sure which value should I set for bit NOSTRETCH. I am using I2C as master. This bit only effected when using I2C as slave. But in manual mention must kept cleared in master mode.  Meanin...

NRAML.1 by Associate II
  • 2 replies
  • 0 kudos

Resolved! STM32F302 - I2C Error Code

Hello Community :), I'm using the I2C of the STM32F302:I2C configuration:7 bit data standard mode "100 KHz"mode pollingWhen initiating communication between the STM32 and the sensor, the "HAL_I2C_Master_Transmit" function returns "HAL_ERROR." Upon in...


STM32U5A5 -- I2C Timeout waiting for TXIS flag --

Hello all,I have been trying to get I2C communication working on my NUCLEO-U5A5ZJ-Q board based on STM32U5A5ZJJT6U. First I have used STM32-CUBE-IDE and CUBE-MX to generate code but I was getting error when I try to transmit so I write a custom code ...

ahsank by Associate II
  • 11 replies
  • 0 kudos