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

I2C GPIO #4

Closed
chuck-h opened this issue Dec 2, 2012 · 4 comments
Closed

I2C GPIO #4

chuck-h opened this issue Dec 2, 2012 · 4 comments
Assignees

Comments

@chuck-h
Copy link
Owner

chuck-h commented Dec 2, 2012

Implement & test I2C write for low-speed GPIO outputs so it's compatible with repetitive I2C reads called from inside stepper interrupt.

Plan: when completing a read operation, check for pending write and initiate it before making I2C status ready for next read op.

@ghost ghost assigned chuck-h Dec 2, 2012
@chuck-h
Copy link
Owner Author

chuck-h commented Dec 12, 2012

Plan: Make DevAddrWrite-RegisterAddr-RepeatedStart-DevAddrRead-Read cycle a single transaction in twi.c.

@chuck-h
Copy link
Owner Author

chuck-h commented Dec 16, 2012

Implemented unitary I2C read at 06f9226 , no tests with interleaved I2C output yet

@chuck-h
Copy link
Owner Author

chuck-h commented Dec 17, 2012

Fixed blocking-ness of twi_nonBlockingReadRegisterFrom at fdbf5cc . This had been responsible for some unexpectedly long execution times inside the stepper interrupt.

@chuck-h
Copy link
Owner Author

chuck-h commented May 6, 2013

Major I2C rewrite with transaction control blocks. Replaced twi.c with twi_tcb.c, implementing generic round-robin-queued read, write, read-modify-write; also a prioritized queued "quickread" function (good for responding to change-of-state interrupt from MCP23017 I2C GPIO). Commit 9891bf9

@chuck-h chuck-h closed this as completed May 6, 2013
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