Paul Stoffregen
3b1808072f
Merge pull request #16 from KurtE/T4_BNO055_HANG
T4 - Clear out TX FIFO in RequestFrom and endTransmission
hace 5 años
PaulStoffregen
e61b4d91dc
Add more known chips to Scanner example
hace 5 años
Kurt Eckhardt
08d870fc13
T4 - Clear out TX FIFO in RequestFrom and endTransmission
This appears to resolve the hang in the BNO055 test cases.
Basically I detect if the FIFO queue is not empty when you start these two functions and clear it out if it does. Also NEED to then clear out the FEF status bit after you clear it.
You might want to see if there is a better way. But @mjs513 said it also resolved his issue with MPL3115
hace 5 años
Paul Stoffregen
68471bc63c
Merge pull request #14 from KurtE/T4_setSCL_setSDA
T4 Wire1 has alternate pins - setSCL setSDA implemented
hace 5 años
Kurt Eckhardt
0fe5f18d4b
T4 Wire1 has alternate pins - setSCL setSDA implemented
T4 has alternate wire pins on the SDCard pins, which may come in handy in some cases.
So converted the pin initialization stuff to be close to what I did in hardwareSerial, and created a pin definition structure with pin numbers, and then mapped those pins to underlying IMXRT data...
Implemented setSCL and setSDA.
Tested with modified version of Scanner.ino, and found prop shield devices on Wire, Wire1, Wire2 and then Wire1 on alternate pins...
hace 5 años
PaulStoffregen
760fcb7197
Add Wire.requestFrom() with 5 params
hace 5 años
Paul Stoffregen
30d884ddea
Merge pull request #13 from arjhun/patch-1
Added APDS-9960 lux sensor at 0x39
hace 5 años
arjhun
9673e38f55
Added APDS-9960 lux sensor at 0x39
Used in the sparkfun apds-9960 lux rgb proximity sensor boards and clones.
hace 5 años
PaulStoffregen
1309ff3eb8
Rename AdafruitLED to HT16K33 in Scanner example
hace 5 años
PaulStoffregen
780f56789f
Add MAX11612-MAX11617 to Scanner example
hace 5 años
PaulStoffregen
4b47980e8d
Add SHT3X to list of known chip in Scanner example
fixes #12
hace 6 años
PaulStoffregen
c525e05e39
Improve check for Teensy 3.x boards
hace 6 años
PaulStoffregen
9740070fc7
Support 400 kHz & 1 MHz speeds
hace 6 años
PaulStoffregen
2fd0fcf8e2
Fix pin definitions
hace 6 años
PaulStoffregen
1c236b07a4
endTransmission to only report success when all commands processed from fifo
hace 6 años
PaulStoffregen
21ab71102b
Support Wire1 and Wire2
hace 6 años
PaulStoffregen
bdbdb91154
Wire first working on IMXRT
hace 6 años
PaulStoffregen
b757eb66ff
IMXRT - work in progress...
hace 6 años
PaulStoffregen
877a05eb59
Include Arduino.h (for pre-compiled header speedup)
hace 6 años
Paul Stoffregen
6e248dbb0f
Merge pull request #11 from FrankBoesing/F_BUS-128MHz
F_BUS 128MHz
hace 6 años
Frank
a3914c047d
Update WireKinetis.cpp
hace 6 años
Frank
63fcd566c5
Update WireKinetis.h
hace 6 años
PaulStoffregen
1e3551a03d
Force 9 clocks if waiting too long for bus idle
hace 7 años
PaulStoffregen
49361a0c41
Fix typo in comments
hace 7 años
PaulStoffregen
13fc9401d9
Fix for fastest optimization with CPU > 120 MHz
hace 7 años
PaulStoffregen
53bad9ba2b
Add AVR twi_writeTo compatibility function
hace 7 años
PaulStoffregen
06760becb5
Pins 58-59 (SD card pins) can be used for Wire1
hace 7 años
Paul Stoffregen
bd5367b455
Merge pull request #7 from tni/master
Make TwoWire constructor constexpr to allow constant initialization.
hace 7 años
Tilo Nitzsche
e61db6b3ac
Make TwoWire constructor constexpr to allow constant initialization.
hace 7 años
PaulStoffregen
db6faf319b
Allow read of partial requestFrom data
hace 7 años
PaulStoffregen
c084466c3a
Don't get stuck in requestFrom if bus busy or long clock stretch
hace 7 años
PaulStoffregen
45fd91166b
Don't default build Wire1 on LC & Wire3 on 3.6 (saves memory)
hace 7 años
PaulStoffregen
f78061da69
Allow implementing Wire objects in sketch
hace 7 años
PaulStoffregen
14617c9a30
Don't get stuck in endTransmission if bus busy or long clock stretch
hace 7 años
PaulStoffregen
4e3317945a
All master/slave read & write examples Blink LED
hace 7 años
PaulStoffregen
88ec5e7b57
Minor updates to examples
hace 7 años
PaulStoffregen
39c840b8e9
Use pin change hack (only if needed) for Wire & Wire1
hace 7 años
PaulStoffregen
c634390cdf
Use hardware structure for interrupt numbers
hace 7 años
PaulStoffregen
cef2e757c6
Define Wire objects for each board
hace 7 años
PaulStoffregen
ce3b132e19
Update copyright & use MIT license on original code
hace 7 años
PaulStoffregen
5df8a3133d
Use hardware description for pin numbers
hace 7 años
PaulStoffregen
81cd07d106
Add hardware description for clock gate control
hace 7 años
PaulStoffregen
31a33832a8
Add hardware access through port reference
hace 7 años
PaulStoffregen
edcffbc7cd
Inline all trivial functions
hace 7 años
PaulStoffregen
9ed2f188dc
Don't use static variables
hace 7 años
PaulStoffregen
a17aff3924
Separate AVR & ARM code
hace 7 años
Paul Stoffregen
511809f43d
Merge pull request #6 from whitebox-labs/master
added chips from Atlas Scientific and WeMakeThings
hace 8 años
extrapixel
d80243fb1b
added chips from Atlas Scientific and WeMakeThings
Atlas EZO pH, EC, ORP, DO, RTD and WeMakeThings open source i2c soil
moisture sensor.
hace 8 años
Paul Stoffregen
27ce5d99e0
Merge pull request #4 from FrankBoesing/patch-1
Add PCF8574
hace 8 años
Paul Stoffregen
69fda6f338
Merge pull request #5 from FrankBoesing/patch-2
typo
hace 8 años