Skip to content

I2C byte read fix for Freescale platforms #288

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

Merged
merged 2 commits into from
May 7, 2014
Merged

I2C byte read fix for Freescale platforms #288

merged 2 commits into from
May 7, 2014

Conversation

Sissors
Copy link
Contributor

@Sissors Sissors commented Apr 30, 2014

Single byte reads did not correctly ACK/NACK, that should be fixed with this.

K64F platform is untested, I don't expect issues, but needs a test :). Old code will by normal usage never reads with NACK, now it should correctly NACK the last byte (assuming of course you tell it to send a NACK). Or without logic analyzer, try this code: https://mbed.org/questions/3181/Inconsistent-results-when-attempting-wri/. If that works it should be fixed.

It also tells me the branches cannot be automatically merged. I don't know how I can see what the issue is, neither how I can fix it, so have fun ;).

Erik

Sissors added 2 commits April 30, 2014 10:46
See:
https://mbed.org/questions/3181/Inconsistent-results-when-attempting-wri/
for the issue. Now every byte read is treated equal and ACKs/NACKs are
correctly generated
Fixed also here single byte read (probably)
@0xc0170
Copy link
Contributor

0xc0170 commented May 3, 2014

Hello Erik,
I run just simple desk tests with one external sensor on KL25Z and K64F, and K64F with onboard sensor. Looked fine.
I had to run the reported error program from the user to verify the state before and after. K64F still fails with freq below 200kHz, so there will be a problem elsewhere.

Thanks!

@0xc0170 0xc0170 merged commit 127eba4 into ARMmbed:master May 7, 2014
bridadan pushed a commit that referenced this pull request Jun 21, 2016
introduce tests for storage_abstraction and flash_journal
TomoYamanaka pushed a commit to TomoYamanaka/mbed-os that referenced this pull request Dec 21, 2017
pan- added a commit to pan-/mbed that referenced this pull request May 29, 2020
enable CI build 2 targets in parallel
ccli8 pushed a commit to ccli8/mbed-os that referenced this pull request Aug 13, 2024
…d#288)

* Remove unavailable and EOLed target boards - Cypress/Infineon

* Oops also update json files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants