Re: STM32F4 I2C driver


Erwan Gouriou
 

Hi Yannis,


Thanks for this proposition. We are indeed missing I2C driver for STM32F4 family.
What would be really nice is to get a generic STM32 I2C driver, working on all series
(based on LL STM32Cube API as you've done is a good start for this purpose).
Jorge (cc) is working on the "generic side" of the driver, can you get in touch with him,
and see how to achieve and upstream i2c_ll_stm32.c/h ?

Erwan

On 11 June 2017 at 16:33, Yannis Damigos <giannis.damigos@...> wrote:
Hello,

I am developing an I2C driver based on the stm32cube LL API.
The driver can be found here: https://github.com/ydamigos/zephyr/tree/i2c_ll_stm32f4

The driver supports both polling and interrupt for master mode.

The status of the I2C driver today is the following:
The master write operation for 7bit addressing was tested on Carbon from 96Boards.
The master read operation was not tested (at the moment I only have a I2C OLED display which supports only write operations)
The 10bit address support was not tested.
Slave mode is not implemented.

Should I open a PR for the driver or wait until all the operations are tested?

Please feel free to test the driver and provide me with any input.

Yannis



_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...ct.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel


Join devel@lists.zephyrproject.org to automatically receive all group messages.