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

NCS36510: I2C idle delay of 1us is added between I2C commands as I2C_… #3722

Closed
wants to merge 2 commits into from

Conversation

pradeep-gr
Copy link
Contributor

Description

I2C idle delay of 1us is added between I2C commands as I2C_COMMAND_FIFO is too fast to push commands out.

Status

READY

Migrations

This PR resolves I2C issue mentioned in #3511

Related PRs

This PR is one of the feature from #3611. So PR #3611 will be invalid and can be closed.

Todos

  • Tests

Deploy notes

No changes required

Steps to test or reproduce

Run I2C ci-test-shield tests

…COMMAND_FIFO is too fast to push commands out.
@pradeep-gr
Copy link
Contributor Author

cc @danish-iftikhar @maclobdell

@@ -135,15 +136,15 @@ void fI2cFrequency(i2c_t *obj, uint32_t hz)
int32_t fI2cStart(i2c_t *obj)
{
/* Send start bit */
obj->membase->CMD_REG = I2C_CMD_START;
SEND_COMMAND(I2C_CMD_START)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops. Thank goodness for Travis CI 👍

@sg- sg- added the needs: work label Feb 9, 2017
@pradeep-gr
Copy link
Contributor Author

pradeep-gr commented Feb 10, 2017

@sg Actually semicolon present in macro definition. Any how committed with semicolon.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 20, 2017

This PR needs rebase to resolve a bug that is fixed on master already. I'll take this patch and send a new one

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2017

@pradeep-gr New Pr referenced, please review

I'll close this one

@0xc0170 0xc0170 closed this Feb 21, 2017
@pradeep-gr
Copy link
Contributor Author

@0xc0170 Ok

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.

3 participants