STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Hall i2c

hi I'm trying to write some code to read on i2c an as 4058b encoder with the HALL library with stm32, with arduino it works perfectly:Wire.beginTransmission (_slaveAdress);Wire.write (internal_register);Wire.endTransmission ();Wire.requestFrom (_slav...

SDall by Associate II
  • 685 Views
  • 2 replies
  • 0 kudos

Problem with I2C slave HAL transmit.

I'm tring to transmit as a slave to the master with I2C in a STM32F446RE but i can't get to it.When there is no code running on the MCU i can see the master requesting me to write on the osciloscope. But when I use this code: if(HAL_I2C_Slave_Rece...

Mvega by Associate II
  • 441 Views
  • 0 replies
  • 0 kudos