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

Call i2c_master_cmd_begin after each command? (IDFGH-2188) #4340

Closed
nagyation opened this issue Nov 14, 2019 · 2 comments
Closed

Call i2c_master_cmd_begin after each command? (IDFGH-2188) #4340

nagyation opened this issue Nov 14, 2019 · 2 comments

Comments

@nagyation
Copy link

It seems that I can't call i2c_master_cmd_begin after each step, I must put the full scenario or data in the queue then call it once, but what I'm trying to do is send each command separately..

@github-actions github-actions bot changed the title Call i2c_master_cmd_begin after each command? Call i2c_master_cmd_begin after each command? (IDFGH-2188) Nov 14, 2019
@nagyation
Copy link
Author

Okay from #680 I set timeout using i2c_set_timeout(i2c_master_port, 1048575); because it seems I had problem with timeout and by creating new i2c_cmd_handle_t for each command seems to solve it, I don't know if this is the best way, but it works..

@Alvin1Zhang
Copy link
Collaborator

@nagyation Thanks for reporting. Feel free to reopen with more details. Thanks.

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

No branches or pull requests

2 participants