STM32L496ZG +MPL3115A2 interface
I am using STM32L496ZG nucleo board for interface MEMS MPL3115A2 Sensor using I2C interface . First i am scanning I2C device and find attached device too.But after scanning device whenever i tried to read Who am i register , i don't receive correct data and receive 0X00 instead of register value.
Datasheet for breakout board -https://cdn-shop.adafruit.com/datasheets/1893_datasheet.pdf
Code for Scanning device and read Who am i register using STM32Cubeide.
/*define--------------------------------------*/

/*Scan device----------------------------*/

/*Read who am i register--------------*/

And this is settings to configure I2C in STM32cubMX.

This Sensor breakout board is working with other controllers finely ,But not with this STM32 board .
Please help me out from this . Is there any changes need to do in Hardware or in configuration?
