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