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

Arbitration Flag Issue #2

Open
cscott111 opened this issue Jul 6, 2022 · 0 comments
Open

Arbitration Flag Issue #2

cscott111 opened this issue Jul 6, 2022 · 0 comments

Comments

@cscott111
Copy link

Similar to this issue, whenever I increased the prescale value above 0x00AA to slow down the clock the arbitration bit would get set and stop my transmission. At low prescale values the arbitration bit wasn't getting set.

After making the changes below it fixed the issue. I'm unsure why this fixed the issue

line 329 sta_condition <= 0; //~sSDA & dSDA & sSCL;
line 330 sto_condition <= 0; //sSDA & ~dSDA & sSCL;
line 361 al <= 0; //(sda_chk & ~sSDA & sda_oen) | (|c_state & sto_condition & ~cmd_stop);

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

1 participant