Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STM32F4] Add asynchronous I2C #2622

Merged
merged 8 commits into from
Sep 24, 2016
Merged

[STM32F4] Add asynchronous I2C #2622

merged 8 commits into from
Sep 24, 2016

Commits on Sep 22, 2016

  1. [dev_asynch_i2c] Update I2C Tests to support F411

    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    6304980 View commit details
    Browse the repository at this point in the history
  2. [dev_asynch_i2c] Enable asynch I2C on NUCLEO_F411RE

    Dev Asynch I2c
    One limitation linked to HAL bug:
    Master RX(Repeated Start) KO
    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    7632f7a View commit details
    Browse the repository at this point in the history
  3. [dev_asynch_i2c] Test Asynch I2C on F411RE

    Add single board I2C master/slave asynch test
    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    4b42fc5 View commit details
    Browse the repository at this point in the history
  4. [dev_asynch_i2c] HAL Fix to support Master Rx w/ repeated start

    As per reference manual, closing communication for master receiver
    with repeated start requires, after reading second last data byte
    (after second last RxNE event):
    -Clearing ACK bit (same as non repeated start case)
    -Set START bit (instead of STOP bit in non repeated start case)
    This is valid for I2C_FIRST_FRAME and I2C_NEXT_FRAME conditions
    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    d2c3dc3 View commit details
    Browse the repository at this point in the history
  5. [dev_i2c] Fix I2C byte transfer API to enable Master/Slave test on F4…

    …11RE
    
    i2c_byte_write could be used to send byte and address.
    In case used for address, ADDR Flag should be reset.
    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    8982ff1 View commit details
    Browse the repository at this point in the history
  6. [dev_asynch_i2c] Move i2c_s to common_objects.h

    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    1707b3c View commit details
    Browse the repository at this point in the history
  7. [dev_asynch_i2c] Extend asynch I2C to STM32F4 boards

    Move i2c_s to common_objects.h
    Introduce I2C Master/Slave asynch test
    Test I2C asynch master/slave on STM32F4 boards
    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    d7dda28 View commit details
    Browse the repository at this point in the history
  8. [dev_asynch_i2c] reduce footprint for i2c_s struct

    Erwan GOURIOU committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    22d6bc0 View commit details
    Browse the repository at this point in the history