Defragster
2facd223a1
#ifdef version - same code - no runtime check - T_3.6 >120000000 specific code that works
https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=116690&viewfull=1#post116690
hace 8 años
Defragster
fc8222a8c3
Drop HSRUN across Ser# read with interrupts off
Results in valid serial # presented to USB host when T_3.6 is in HSRUN mode.
hace 8 años
Kurt Eckhardt
426a53c281
Fix Serial6 for Teensy 3.5
Needed to add new Define for clock gate
Plus defines to use the new clock gate, plus correct case name for the
serial6 isr to match what is in system isr table
hace 8 años
PaulStoffregen
0ed6ba9a96
Fix USB serial number on K64 & K66
hace 8 años
PaulStoffregen
ce27c4c50b
Add misc SDHC register bitfield defs
hace 8 años
Defragster
00438a66ed
When concat is same string to string, use memcpy, allows for re-alloc to move string on growth
https://forum.pjrc.com/threads/35688-Something-wrong-with-Adding-a-String-to-itself!?p=111109#post111109
hace 8 años
Kurt Eckhardt
899cbecc02
Enable Uart 2 stop bit capabilities
The T-LC and the new beta boards T3.6 and soon T3.5 hardware uarts have
ability to turn on 2 stop bits. So enabled on these boards.
hace 8 años
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
hace 8 años
Kurt Eckhardt
1067caf0ba
Beta Board names Change
hace 8 años
Kurt Eckhardt
78189d6f15
Serial4.setTX - used wrong SIm_SCGC4 test
Was using UART2, should be UART3
hace 8 años
Kurt Eckhardt
da4b27c0db
T3.2 Serial2.end - handle alternate pins
On T3.2 if you do something like:
Serial2.setTX(31);
Serial2.setRX(26);
Serial2.begin(.9600);
...
Serial2.end();
It will on the end call will always reconfigure pins 9 and 10 to be
digital pins MUX = 1
hace 8 años
PaulStoffregen
4d925d3a1c
Improve async sample rate feedback, add optional mac limit
hace 8 años
Kurt Eckhardt
44027e2115
Add serialEvent6 to yield
hace 8 años
PaulStoffregen
12421ba5a9
Add new Arduino pin defines
hace 8 años
PaulStoffregen
731d9123f6
Keycode for Non-US backslash (thanks parsnip42)
fixes #159
hace 8 años
PaulStoffregen
d46a56a811
Fix USB audio feedback endpoint attributes
hace 8 años
Kurt Eckhardt
89d92016c1
Pass at serial6_format
hace 8 años
Kurt Eckhardt
d2f9acc78c
Try using BITBAND to turn on/off TIE and TCIE
Make update of these flags be hopefully interrupt safe
hace 8 años
Kurt Eckhardt
7352ea7791
Add Serial6 - T3.4 Uart5, T3.5 LPUart0
This is a WIP, But I have now been able to create Serial6 on T3.4 beta,
and so far have tested Send/Receive basic stuff at 115200 and have tried
at several CPU speeds in MHZ (192, 216, 180, 120, 96)
hace 8 años
Kurt Eckhardt
c79a667e31
T T3.4 T3.5 SPI2 support
hace 8 años
PaulStoffregen
50c805926f
Improve flash security documentation
hace 8 años
sumotoy
892d07181d
missed pin 26
hace 8 años
duff2013
c5c14007bb
trigger mode enable cmp register def
hace 8 años
PaulStoffregen
88dce04d81
Add extra K66 pin defines
hace 8 años
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)
hace 8 años
PaulStoffregen
bb95e546fe
Increase startup delay slightly
hace 8 años
PaulStoffregen
aeff63583d
Document flash security locking technique
hace 8 años
PaulStoffregen
39d9fdc386
Fix compiler warnings with USB audio
hace 8 años
Frank
61dce339b0
fix SDHC_XFERTYP_RSPTYP
hace 8 años
PaulStoffregen
de0677a6e0
Enable VREF on K66
fixes #145
hace 8 años
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.
hace 8 años
PaulStoffregen
4b7151d0e0
Fix compiler warning with Keyboard.set_modifier
hace 8 años
Kurt Eckhardt
57be6914a5
Serial1 - New pins work with begin
hace 8 años
Kurt Eckhardt
94ce960eef
SPCR1 operations now defined
hace 8 años
PaulStoffregen
31c9626281
Fix some USBHS register bit names
hace 8 años
duff2013
87274341bd
Set FlexBus Clock Divider to correct value for 16, 8, 4 MHz
hace 8 años
duff2013
484098c794
update LLWU reg.
hace 8 años
PaulStoffregen
9f1f15a53e
Add SDHC register bit defs
hace 8 años
PaulStoffregen
0e35a31068
Add ethernet register bit defs
hace 8 años
PaulStoffregen
fdf57f66c6
Add USBHS register bit defs
hace 8 años
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...
hace 8 años
Kurt Eckhardt
305fb4da93
SPI1 on T3.4/3.5 - Add SPCR1
hace 8 años
Kurt Eckhardt
91f8f30c04
Add SPI1 to kinetis.h for T3.4 and T3.5
Added define for SPI1 registers
hace 8 años
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
hace 8 años
PaulStoffregen
d79723c252
Easier F_BUS overclocking
hace 8 años
PaulStoffregen
be42e0574e
Fix DMA on K66
hace 8 años
Frank Bösing
dfd60bee72
add missing F_BUS to SPIFIFO
hace 8 años
Frank Bösing
8752969dbb
Add missing F_BUS
hace 8 años
PaulStoffregen
e2e07e5394
Fix DMAMUX for K66
hace 8 años
PaulStoffregen
ddb7fb0267
Add I2C clock divider names
hace 8 años