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

TwoWire Rework - added missing Slave mode using DMA/Interrupts and updated Master mode using DMA #284

Merged
merged 13 commits into from
Sep 4, 2014

Conversation

satishgn
Copy link
Contributor

Lots of goodies added:
1)Added mssing Slave mode capability
2)Updated Master mode
3)Use of DMA + Interrupts
4)Added optional Wire.setSpeed() method which should be called before Wire.begin()
5)Added optional Wire.stretchClock() method for clock stretching

Hardware Test Setup:
Core 1 <=> Core 2
SDA <=> SDA : connect a pull-up(1.5K to 10K) resistor to 3.3V
SCL <=> SCL : connect a pull-up(1.5K to 10K) resistor to 3.3V
GND <=> GND

Firmware Test Code:
Master Reader <=> Slave Sender : Test code over here: http://arduino.cc/en/Tutorial/MasterReader
Master Sender <=> Slave Reader : Test code over here: http://arduino.cc/en/Tutorial/MasterWriter

m-mcgowan added a commit that referenced this pull request Sep 4, 2014
TwoWire Rework - added missing Slave mode using DMA/Interrupts and updated Master mode using DMA
@m-mcgowan m-mcgowan merged commit ae05b4f into master Sep 4, 2014
@m-mcgowan m-mcgowan deleted the feature/i2c-dma-implementation branch September 4, 2014 18:45
@sarfata
Copy link

sarfata commented Sep 12, 2014

@zsup How can we know when a firmware with those changes has been released? I would love to try slow i2c speed. 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

Successfully merging this pull request may close these issues.

3 participants