Paul Stoffregen
3b1808072f
Merge pull request #16 from KurtE/T4_BNO055_HANG
T4 - Clear out TX FIFO in RequestFrom and endTransmission
5 anos atrás
PaulStoffregen
e61b4d91dc
Add more known chips to Scanner example
5 anos atrás
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
5 anos atrás
Paul Stoffregen
68471bc63c
Merge pull request #14 from KurtE/T4_setSCL_setSDA
T4 Wire1 has alternate pins - setSCL setSDA implemented
5 anos atrás
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...
5 anos atrás
PaulStoffregen
760fcb7197
Add Wire.requestFrom() with 5 params
5 anos atrás
Paul Stoffregen
30d884ddea
Merge pull request #13 from arjhun/patch-1
Added APDS-9960 lux sensor at 0x39
5 anos atrás
arjhun
9673e38f55
Added APDS-9960 lux sensor at 0x39
Used in the sparkfun apds-9960 lux rgb proximity sensor boards and clones.
5 anos atrás
PaulStoffregen
1309ff3eb8
Rename AdafruitLED to HT16K33 in Scanner example
5 anos atrás
PaulStoffregen
780f56789f
Add MAX11612-MAX11617 to Scanner example
5 anos atrás
PaulStoffregen
4b47980e8d
Add SHT3X to list of known chip in Scanner example
fixes #12
6 anos atrás
PaulStoffregen
c525e05e39
Improve check for Teensy 3.x boards
6 anos atrás
PaulStoffregen
9740070fc7
Support 400 kHz & 1 MHz speeds
6 anos atrás
PaulStoffregen
2fd0fcf8e2
Fix pin definitions
6 anos atrás
PaulStoffregen
1c236b07a4
endTransmission to only report success when all commands processed from fifo
6 anos atrás
PaulStoffregen
21ab71102b
Support Wire1 and Wire2
6 anos atrás
PaulStoffregen
bdbdb91154
Wire first working on IMXRT
6 anos atrás
PaulStoffregen
b757eb66ff
IMXRT - work in progress...
6 anos atrás
PaulStoffregen
877a05eb59
Include Arduino.h (for pre-compiled header speedup)
6 anos atrás
Paul Stoffregen
6e248dbb0f
Merge pull request #11 from FrankBoesing/F_BUS-128MHz
F_BUS 128MHz
6 anos atrás
Frank
a3914c047d
Update WireKinetis.cpp
6 anos atrás
Frank
63fcd566c5
Update WireKinetis.h
6 anos atrás
PaulStoffregen
1e3551a03d
Force 9 clocks if waiting too long for bus idle
7 anos atrás
PaulStoffregen
49361a0c41
Fix typo in comments
7 anos atrás
PaulStoffregen
13fc9401d9
Fix for fastest optimization with CPU > 120 MHz
7 anos atrás
PaulStoffregen
53bad9ba2b
Add AVR twi_writeTo compatibility function
7 anos atrás
PaulStoffregen
06760becb5
Pins 58-59 (SD card pins) can be used for Wire1
7 anos atrás
Paul Stoffregen
bd5367b455
Merge pull request #7 from tni/master
Make TwoWire constructor constexpr to allow constant initialization.
7 anos atrás
Tilo Nitzsche
e61db6b3ac
Make TwoWire constructor constexpr to allow constant initialization.
7 anos atrás
PaulStoffregen
db6faf319b
Allow read of partial requestFrom data
7 anos atrás
PaulStoffregen
c084466c3a
Don't get stuck in requestFrom if bus busy or long clock stretch
7 anos atrás
PaulStoffregen
45fd91166b
Don't default build Wire1 on LC & Wire3 on 3.6 (saves memory)
7 anos atrás
PaulStoffregen
f78061da69
Allow implementing Wire objects in sketch
7 anos atrás
PaulStoffregen
14617c9a30
Don't get stuck in endTransmission if bus busy or long clock stretch
7 anos atrás
PaulStoffregen
4e3317945a
All master/slave read & write examples Blink LED
7 anos atrás
PaulStoffregen
88ec5e7b57
Minor updates to examples
7 anos atrás
PaulStoffregen
39c840b8e9
Use pin change hack (only if needed) for Wire & Wire1
7 anos atrás
PaulStoffregen
c634390cdf
Use hardware structure for interrupt numbers
7 anos atrás
PaulStoffregen
cef2e757c6
Define Wire objects for each board
7 anos atrás
PaulStoffregen
ce3b132e19
Update copyright & use MIT license on original code
7 anos atrás
PaulStoffregen
5df8a3133d
Use hardware description for pin numbers
7 anos atrás
PaulStoffregen
81cd07d106
Add hardware description for clock gate control
7 anos atrás
PaulStoffregen
31a33832a8
Add hardware access through port reference
7 anos atrás
PaulStoffregen
edcffbc7cd
Inline all trivial functions
7 anos atrás
PaulStoffregen
9ed2f188dc
Don't use static variables
7 anos atrás
PaulStoffregen
a17aff3924
Separate AVR & ARM code
7 anos atrás
Paul Stoffregen
511809f43d
Merge pull request #6 from whitebox-labs/master
added chips from Atlas Scientific and WeMakeThings
8 anos atrás
extrapixel
d80243fb1b
added chips from Atlas Scientific and WeMakeThings
Atlas EZO pH, EC, ORP, DO, RTD and WeMakeThings open source i2c soil
moisture sensor.
8 anos atrás
Paul Stoffregen
27ce5d99e0
Merge pull request #4 from FrankBoesing/patch-1
Add PCF8574
8 anos atrás
Paul Stoffregen
69fda6f338
Merge pull request #5 from FrankBoesing/patch-2
typo
8 anos atrás