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

Comments

Projects
None yet
1 participant
@chuck-h
Copy link
Owner

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

This comment has been minimized.

Copy link
Owner Author

commented Dec 12, 2012

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

@chuck-h

This comment has been minimized.

Copy link
Owner Author

commented Dec 16, 2012

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

@chuck-h

This comment has been minimized.

Copy link
Owner Author

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

This comment has been minimized.

Copy link
Owner Author

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 May 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.