Hello,
I am trying to work with MPL3115A2 (https://www.sparkfun.com/products/11084) barometric sensor with STM32F4 and Chibios 2.6.5
As per the datasheet this sensor requires repeated start I2C. I would like to know if this is supported by chibios. If not is there any way I can work around this to solve the issue?
--
Nikhil
Repeated Start on I2C?
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Repeated Start on I2C?
Hi,
As far I know this dual address mode is not supported by the driver. You may try some I2C software implementation, it is not an application that requires high performance of the bus.
Giovanni
As far I know this dual address mode is not supported by the driver. You may try some I2C software implementation, it is not an application that requires high performance of the bus.
Giovanni
Re: Repeated Start on I2C?
I interfaced this sensor to a STM32L1 some time ago and don't recall any issues.
The code here might be of some help to you: https://github.com/alanbarr/ChibiOS_Sensors/tree/master/MPL3115A2
The code here might be of some help to you: https://github.com/alanbarr/ChibiOS_Sensors/tree/master/MPL3115A2