I2C slave doesn't acknowledge to any address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-10 12:10 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-10 12:45 AM
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-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-10 2:50 AM
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>
