Skip to content

ONSEMI: Fix I2C issues #5452

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 1 commit into from
Nov 16, 2017
Merged

ONSEMI: Fix I2C issues #5452

merged 1 commit into from
Nov 16, 2017

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Nov 7, 2017

Same as #5394, but this time the right destination branch

@adbridge

Three main issues:
1) The 0x13 special case section in write data in ncs36510_i2c.c didn't have a write++ command.
2) In the same write function, the WDAT8 command was put before the 0x13 section and this is not correct
3) Needed to add wait_us(0) before and after the register writes for apparent clock domain crossing delay times until registers are stable in HW

There were also a handful of other tweaks related to general code maintenance and moving some status register checks to the proper locations.
@theotherjimmy theotherjimmy changed the title Checking in the fixes related to I2C issues. ONSEMI: Fix I2C issues Nov 7, 2017
@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 7, 2017

Let me close this, we might need to do something else rather.

@0xc0170 0xc0170 closed this Nov 7, 2017
@0xc0170 0xc0170 removed the needs: CI label Nov 7, 2017
@adbridge adbridge reopened this Nov 9, 2017
@adbridge adbridge closed this Nov 9, 2017
@adbridge adbridge reopened this Nov 9, 2017
@adbridge
Copy link
Contributor

adbridge commented Nov 9, 2017

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 9, 2017

Build : SUCCESS

Build number : 479
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5452/

Triggering tests

/morph test
/morph uvisor-test

@mbed-ci
Copy link

mbed-ci commented Nov 9, 2017

@theotherjimmy
Copy link
Contributor

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

@0xc0170 0xc0170 merged commit d8d8c28 into ARMmbed:master Nov 16, 2017
@0xc0170 0xc0170 deleted the fix_i2c_onsemi branch November 16, 2017 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants