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

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
  • 383 Views
  • 0 replies
  • 0 kudos

Resolved! My STM32F3 I2C won't send a start sequence.

I am using the STM32F30x_DSP_StdPeriph_Lib_V1.2.3 library following instructions given in stm32f30x_12c.c for the initilization:#define I2C_SHORT_TIMEOUT ((uint32_t)0x1000) #define I2C_LONG_TIMEOUT ((uint32_t) (10 * I2C_SHORT_TIMEOUT)) #define I2Cx_R...