-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow I²C 400-kHz Fast-mode (Fm) #36
Comments
From @Luis-R-A on October 21, 2013 15:11 Is this for the msp430 or for stellaris? |
From @rei-vilo on October 21, 2013 15:45 Thanks. For both, as mentioned in the labels. |
From @dspdon on January 22, 2016 20:12 I realize this Issue is 2+ yrs old ... I'm failing to compile legacy Arduino code that calls Wire.setClock(400000U) to achieve Fm I2C with Energia IDE. I'm using (trying to use) RBL CC3200 WiFi device. The branch #343 seems specific to Stellaris, not the CC3200 I'm using (e.g., the Wire lib I just installed doesn't have the setClock definition). |
From @rei-vilo on January 22, 2016 20:16 If you're using I²C in slave mode, it sets itself automatically to standard mode (100 kHz), fast mode (400 kHz) and fast mode plus (1 MHz). |
From @dspdon on January 23, 2016 2:41 Right: an I2C slave (e.g., a sensor such an accelerometer) reacts to the clock generated by an I2C master. But an I2C master (e.g., a CC3200 talking to the sensor) generates the clock and must have that rate explicitly specified if it's not the default. That's what Wire.setClock(rate) does, and is missing from Energia CC3200 Wire lib. If you've set 400kHz or higher I2C rates on this platform, let me know how you achieved that. That would be the code needed to implement setClock... |
From @rei-vilo on October 21, 2013 14:53
Allow I²C 400-kHz Fast-mode (Fm)
Copied from original issue: energia/Energia#282
The text was updated successfully, but these errors were encountered: