-
Notifications
You must be signed in to change notification settings - Fork 3k
MIMXRT1050: Fix I2C Byte transfer functions #7843
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
Conversation
1. Added a flag to issue START command 2. Do not send START command inside i2c_start function as the LPI2C hardware will issue a STOP on reception of a NACK 3. Remove the i2c_address global variable, this is not required Signed-off-by: Mahesh Mahadevan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a question.
kLPI2C_MasterDataMatchFlag); | ||
|
||
/* Turn off auto-stop option. */ | ||
base->MCFGR1 &= ~LPI2C_MCFGR1_AUTOSTOP_MASK; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ever turned on again, or is it simply not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not needed.
/morph build |
Build : SUCCESSBuild number : 2859 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2489 |
Test : SUCCESSBuild number : 2621 |
Description
Pull request type