PaulStoffregen
88dce04d81
Add extra K66 pin defines
8 anni fa
Paul Stoffregen
42b873097e
Merge pull request #153 from KurtE/Serial2-SetTx/Rx-error
Serial2.setTx and Serial2.setRX should check Uart1
8 anni fa
Kurt Eckhardt
1bb20b3b61
Serial2.setTx and Serial2.setRX should check Uart1
These two functions were checking (SIM_SCGC4 & SIM_SCGC4_UART2)
and should be testing (SIM_SCGC4 & SIM_SCGC4_UART1)
8 anni fa
PaulStoffregen
bb95e546fe
Increase startup delay slightly
8 anni fa
PaulStoffregen
aeff63583d
Document flash security locking technique
8 anni fa
PaulStoffregen
39d9fdc386
Fix compiler warnings with USB audio
8 anni fa
Paul Stoffregen
77411348a4
Merge pull request #152 from FrankBoesing/patch-1
fix SDHC_XFERTYP_RSPTYP
8 anni fa
Frank
61dce339b0
fix SDHC_XFERTYP_RSPTYP
8 anni fa
PaulStoffregen
de0677a6e0
Enable VREF on K66
fixes #145
8 anni fa
Paul Stoffregen
6002a8710c
Merge pull request #146 from KurtE/SPI1-defined
Spi1 defined
8 anni fa
Paul Stoffregen
3ab443fd1a
Merge pull request #151 from KurtE/PulseIn-LC
PulseIn on LC issue
8 anni fa
Kurt Eckhardt
eb97df1ffe
PulseIn on LC issue
PulseIn may fail on LC as it is using *reg to test the value for on or
off, but on LC register is a bitmask associated with several IO pins.
So split off for LC to use the MASK value for the pin to test high and
low.
Warning did not update timings for this, which may be necessary as adds
an & in the loop. However when I tried TLC for 5000us timeout, it timed
out with 5138us, if I decremented the PULSEIN_LOOPS_PER_USEC by one,
then it timed out at 4398... This was at 49mhz.
8 anni fa
PaulStoffregen
4b7151d0e0
Fix compiler warning with Keyboard.set_modifier
8 anni fa
Kurt Eckhardt
57be6914a5
Serial1 - New pins work with begin
8 anni fa
Kurt Eckhardt
94ce960eef
SPCR1 operations now defined
8 anni fa
PaulStoffregen
31c9626281
Fix some USBHS register bit names
8 anni fa
Paul Stoffregen
2d37d6e087
Merge pull request #148 from duff2013/master
Set FlexBus Clock Divider to correct value for 16, 8, 4 MHz
8 anni fa
duff2013
87274341bd
Set FlexBus Clock Divider to correct value for 16, 8, 4 MHz
8 anni fa
Paul Stoffregen
d07a9215a4
Merge pull request #147 from duff2013/master
update LLWU reg.
8 anni fa
duff2013
484098c794
update LLWU reg.
8 anni fa
PaulStoffregen
9f1f15a53e
Add SDHC register bit defs
8 anni fa
PaulStoffregen
0e35a31068
Add ethernet register bit defs
8 anni fa
PaulStoffregen
8d7b44f384
Merge branch 'master' of github.com:PaulStoffregen/cores
8 anni fa
PaulStoffregen
fdf57f66c6
Add USBHS register bit defs
8 anni fa
Kurt Eckhardt
1c2f6dca35
Optional: Add SPI2...
Just in case the extra pads are added to bottom of 3.4/3.5 board,
define is in place...
8 anni fa
Kurt Eckhardt
305fb4da93
SPI1 on T3.4/3.5 - Add SPCR1
8 anni fa
Kurt Eckhardt
91f8f30c04
Add SPI1 to kinetis.h for T3.4 and T3.5
Added define for SPI1 registers
8 anni fa
Paul Stoffregen
3ab6f0380f
Merge pull request #144 from FrankBoesing/patch-1
add additonal F_TIMER (FTM_MOD)
8 anni fa
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
8 anni fa
PaulStoffregen
d79723c252
Easier F_BUS overclocking
8 anni fa
PaulStoffregen
be42e0574e
Fix DMA on K66
8 anni fa
Paul Stoffregen
ebc6460ff4
Merge pull request #142 from FrankBoesing/master
Add missing F_BUS
8 anni fa
Frank Bösing
dfd60bee72
add missing F_BUS to SPIFIFO
8 anni fa
Frank Bösing
8752969dbb
Add missing F_BUS
8 anni fa
PaulStoffregen
e2e07e5394
Fix DMAMUX for K66
8 anni fa
PaulStoffregen
ddb7fb0267
Add I2C clock divider names
8 anni fa
PaulStoffregen
575f309209
Fix EEPROM on K66
8 anni fa
PaulStoffregen
759ba1b417
Fix touchRead on K66
8 anni fa
PaulStoffregen
7a2c0037b8
Use IRC48M clock for USB when F_CPU is 180 or 216 MHz
8 anni fa
PaulStoffregen
6856d4eedc
Fix analogRead on K66
8 anni fa
PaulStoffregen
7c963d5269
Use SIM_SCGC6 for RNG to match register defs
8 anni fa
PaulStoffregen
5eab8dd0b8
Fix pin numbers for transmit opendrain on Serial4 & Serial5
8 anni fa
Paul Stoffregen
9f87a7b766
Merge pull request #139 from KurtE/T3-5-Serial1-new-TXRX-pins
Add support for pins 26 and 27
8 anni fa
Paul Stoffregen
cd8cd50f05
Merge pull request #140 from FrankBoesing/patch-1
Fix for crash @ 48 & 24MHz on K66
8 anni fa
Kurt Eckhardt
7458590a29
Allow SetTX on Serial3/4/5 ...
On Serial 3 this addition is for all 3.x. Before it was ifdefed to only
do work on Teensy_LC as there is only one valid TX pin. But we now pass
in open drain as an option so this code should allow you to not turn it
on/off on Serial3 on all of these boards
and on Serial4 and Serial5 on the new boards.
8 anni fa
Frank
27f9bd8f0f
Frix for crash @ 48 & 24MHz
8 anni fa
Kurt Eckhardt
c9bec4c380
Serial2 - !TX(31) !RX(26) on T3.5
Updated Serial2.
It had valid TX for T3.2 of 10 and 31, but 31 on T3.5 is RX4
Likewise RX for T3.2 of 9 and 26, but on T3.5 26 is RX1
8 anni fa
Kurt Eckhardt
491e1e21ca
Add support for pins 26 and 27
8 anni fa
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 anni fa
PaulStoffregen
6040145aac
More K66 overclocking options
8 anni fa