cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am working on STM32G030F6P6 microcontroller. I am trying to receive data from master (STM32G030F6P6 in slave mode). HAL_I2C_Slave_Seq_Transmit_IT function is working properly. But HAL_I2C_Slave_Seq_Receive_IT function not receiving data.

SMali.4
Associate II
 
1 REPLY 1
KnarfB
Principal III

The Seq HAL functions are for sequential transfer with a repeated start condition and need some special treatment. Are you doing that? If yes, show more code. If not, use the HAL_SPI_Transmit/Receive_IT API functions. Sample code comes with the STM32Cube_FW_G0_V1.6.0 firmware.

hth

KnarfB