STM32 MCUs Embedded 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
  • 576 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
  • 335 Views
  • 0 replies
  • 0 kudos