cancel
Showing results for 
Search instead for 
Did you mean: 

I2C slave doesn't acknowledge to any address

gordon2399
Associate II
Posted on July 10, 2017 at 09:10

I need to use I2C SLAVE peripheral on STM32L4.  The problem I am having is that after I set up the I2C peripheral in STM32CUBE and generate the project code, when I use an external I2C master to do an address scan, STM32 doesn't acknowledge to any address.  I have set the slave address to be 0x38 in STM32CUBE.  What have I missed?0690X00000607RnQAI.png

2 REPLIES 2
Nesrine M_O
Lead II
Posted on July 10, 2017 at 09:45

Hi

Lee.Gordon

,

I recommend you to start from I2C example under the STM32L4 cube firmware package :

STM32Cube_FW_L4_V1.8.0\Projects\STM32L476RG-Nucleo\Examples\I2C

-Nesrine-

Posted on July 10, 2017 at 09:50

I did look at these two board examples. But I didn't see much I2C configuration difference from what stm32cube generated.

Get Outlook for Android<https://aka.ms/ghei36>