AnsweredAssumed Answered

I2C Master - connection to sensor example project

Question asked by rc51 on Dec 10, 2014
Latest reply on Dec 10, 2014 by Clive One
What I would like is an example that illustrates how an STM32L1xx master
can send to and receive data from a slave--the accelerometer in this case,
across the I2C interface using the Standard Peripheral Library.  It does not
need to too hardware specific.  However, not that the slave does not have
DMA or extended I2C capabilities, or the capability to generate automatic
I2C interrupts.  Consequently, the master needs to initiate all transactions
and poll for responses.

Is it the case I download/install STM32Cube and then select I2C and study the code?  Thank you!