PaulStoffregen
a9457dac39
Add Si7210 to Scanner example
fixes #22
pirms 4 gadiem
PaulStoffregen
7c1ff62346
Add MS8607 to Scanner example
pirms 5 gadiem
Paul Stoffregen
33d7d7e48c
Merge pull request #20 from KurtE/QWIIC_KEYPAD
Qwiic keypad
pirms 5 gadiem
Kurt Eckhardt
8592d6d3ca
T4 Wire defines for IIMPLEMENT...
Added defines like we have for T3.x/LC
That it implements Wire, Wire1, Wire2,
So that programs that care can build using without having to special case T4
pirms 5 gadiem
Kurt Eckhardt
69614902c6
Add Qwiic Keypad to scanner
Note: I added it's primary address 0x4B
as well as it's one alternate 0x4a by Solder jumper...
Again not sure as for QWiic_Button we (you) added the 0x6f which is default one, but it actually has 4 solder jumpers which gives it an address range of 0x60-0x6f
pirms 5 gadiem
PaulStoffregen
6ec2a5a10a
Add Qwiic Button to Scanner example
pirms 5 gadiem
PaulStoffregen
69186a2759
Add FRAM to Scanner example
pirms 5 gadiem
PaulStoffregen
956a5c418a
Improve FIFO handling for Teensy 4.0
pirms 5 gadiem
PaulStoffregen
c93e869a96
Workaround for BNO080 errors on Teensy 4.0
pirms 5 gadiem
PaulStoffregen
f72e03f34a
Add BNO080 to list of known chips in Scanner example
pirms 5 gadiem
PaulStoffregen
5f58cb703b
Adjust pin config on Teensy 4.0
https://forum.pjrc.com/threads/58654-Teensyduino-1-49-Beta-2?p=223880&viewfull=1#post223880
pirms 5 gadiem
PaulStoffregen
f52060abe3
Use open drain pin config
pirms 5 gadiem
PaulStoffregen
6c9fec1699
Only clear FIFOs when bus is idle
pirms 5 gadiem
Paul Stoffregen
3b1808072f
Merge pull request #16 from KurtE/T4_BNO055_HANG
T4 - Clear out TX FIFO in RequestFrom and endTransmission
pirms 5 gadiem
PaulStoffregen
e61b4d91dc
Add more known chips to Scanner example
pirms 5 gadiem
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
pirms 5 gadiem
Paul Stoffregen
68471bc63c
Merge pull request #14 from KurtE/T4_setSCL_setSDA
T4 Wire1 has alternate pins - setSCL setSDA implemented
pirms 5 gadiem
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...
pirms 5 gadiem
PaulStoffregen
760fcb7197
Add Wire.requestFrom() with 5 params
pirms 5 gadiem
Paul Stoffregen
30d884ddea
Merge pull request #13 from arjhun/patch-1
Added APDS-9960 lux sensor at 0x39
pirms 5 gadiem
arjhun
9673e38f55
Added APDS-9960 lux sensor at 0x39
Used in the sparkfun apds-9960 lux rgb proximity sensor boards and clones.
pirms 5 gadiem
PaulStoffregen
1309ff3eb8
Rename AdafruitLED to HT16K33 in Scanner example
pirms 5 gadiem
PaulStoffregen
780f56789f
Add MAX11612-MAX11617 to Scanner example
pirms 5 gadiem
PaulStoffregen
4b47980e8d
Add SHT3X to list of known chip in Scanner example
fixes #12
pirms 6 gadiem
PaulStoffregen
c525e05e39
Improve check for Teensy 3.x boards
pirms 6 gadiem
PaulStoffregen
9740070fc7
Support 400 kHz & 1 MHz speeds
pirms 6 gadiem
PaulStoffregen
2fd0fcf8e2
Fix pin definitions
pirms 6 gadiem
PaulStoffregen
1c236b07a4
endTransmission to only report success when all commands processed from fifo
pirms 6 gadiem
PaulStoffregen
21ab71102b
Support Wire1 and Wire2
pirms 6 gadiem
PaulStoffregen
bdbdb91154
Wire first working on IMXRT
pirms 6 gadiem
PaulStoffregen
b757eb66ff
IMXRT - work in progress...
pirms 6 gadiem
PaulStoffregen
877a05eb59
Include Arduino.h (for pre-compiled header speedup)
pirms 6 gadiem
Paul Stoffregen
6e248dbb0f
Merge pull request #11 from FrankBoesing/F_BUS-128MHz
F_BUS 128MHz
pirms 6 gadiem
Frank
a3914c047d
Update WireKinetis.cpp
pirms 6 gadiem
Frank
63fcd566c5
Update WireKinetis.h
pirms 6 gadiem
PaulStoffregen
1e3551a03d
Force 9 clocks if waiting too long for bus idle
pirms 7 gadiem
PaulStoffregen
49361a0c41
Fix typo in comments
pirms 7 gadiem
PaulStoffregen
13fc9401d9
Fix for fastest optimization with CPU > 120 MHz
pirms 7 gadiem
PaulStoffregen
53bad9ba2b
Add AVR twi_writeTo compatibility function
pirms 7 gadiem
PaulStoffregen
06760becb5
Pins 58-59 (SD card pins) can be used for Wire1
pirms 7 gadiem
Paul Stoffregen
bd5367b455
Merge pull request #7 from tni/master
Make TwoWire constructor constexpr to allow constant initialization.
pirms 7 gadiem
Tilo Nitzsche
e61db6b3ac
Make TwoWire constructor constexpr to allow constant initialization.
pirms 7 gadiem
PaulStoffregen
db6faf319b
Allow read of partial requestFrom data
pirms 7 gadiem
PaulStoffregen
c084466c3a
Don't get stuck in requestFrom if bus busy or long clock stretch
pirms 7 gadiem
PaulStoffregen
45fd91166b
Don't default build Wire1 on LC & Wire3 on 3.6 (saves memory)
pirms 7 gadiem
PaulStoffregen
f78061da69
Allow implementing Wire objects in sketch
pirms 7 gadiem
PaulStoffregen
14617c9a30
Don't get stuck in endTransmission if bus busy or long clock stretch
pirms 7 gadiem
PaulStoffregen
4e3317945a
All master/slave read & write examples Blink LED
pirms 7 gadiem
PaulStoffregen
88ec5e7b57
Minor updates to examples
pirms 7 gadiem
PaulStoffregen
39c840b8e9
Use pin change hack (only if needed) for Wire & Wire1
pirms 7 gadiem