STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_I2C_Mem_Write() is not setting the address Write bit

I am using the HAL library on a STM32L476RG and have been having trouble getting data out of a sensor. By looking at the signal with a scope I've noticed that the write bit of the device address is not being set when I try to write to the sensor's re...

CGrov.1 by Associate II
  • 716 Views
  • 1 replies
  • 0 kudos

I2C data always 0x00

I have an stm32L476RG and am trying to read data from a digital magnetometer (MMC5983MA). The I2C connection is working, and I am able to read the slave ID and the slave status. However, whenever I try to read data, it always returns 0x00 for all thr...

CGrov.1 by Associate II
  • 1569 Views
  • 4 replies
  • 0 kudos

Where to specify ADC clock frequency?

Hello,I'm using the H745ZI-Q and the CubeIDE. I want to configure the ADC clock but I can't find the clock settings mentioned in the documentation. Namely the adc_ker_ck. I found the AHB clock but with 240MHz it's a lot higher than specified in the d...