AnsweredAssumed Answered

STM32F4 Discovery to LPS25H Example Code

Question asked by anderson.todd on Jul 22, 2015
Latest reply on Mar 16, 2016 by adams.charles
Is there I2C example code that can be used with the STM32F4 Discovery Board to connect to the LPS25H module?
I am running the processor at the full 168 MHz, and as far as I know, I have initialized the I2C1 port correctly.
 I have been trying to do the simplest thing - read the WhoAmI register, and I am not really sure what I should be inserting after even the I2C_GenerateSTART() function.
How much delay is needed after initialization until generating START?
Can I2C_CheckEvent() be used after START to check for condition before sending I2C Address? Lots of questions that could be solved by example code...

AN4450 App Note mentions in section 6.3 that there are examples, but is there a specific example to "get started with LPS25H?"

Todd Anderson