Defragster
a5cd6fd4fb
Add delay_us for safety - since eeprom_init can drop int's move hsrun_off as init is hsrun safe
Has to add core_pins.h to get delayMicroseconds()
made empty while()'s on HSRUN state change have a measurable 2us wait
each iteration
added explicit 100us delay leaving HSRUN to allow internal V to
satbilize, seems CPU does this already as 10-50 us made no change, and
100 is not measurable on larger writes.
since eeprom_initialize() blindly restores interrupts amd can run under
HSRUN, moved hsrun_off()
преди 8 години
Defragster
f3c401a348
EEPROM write on T_3.6 under HSRUN - Drop and Raise
EEPROM write on T_3.6 under HSRUN - Drop and Raise
преди 8 години
Defragster
1e3da4ce9f
Merge remote-tracking branch 'refs/remotes/PaulStoffregen/master'
преди 8 години
Defragster
459ac4cfc7
Merge pull request #1 from Defragster/Defragster-patch-1
Drop HSRUN across Ser# read with interrupts off
преди 8 години
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
преди 8 години
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.
преди 8 години
Paul Stoffregen
268848cdb0
Merge pull request #172 from KurtE/Cnt_PWM_Analog_fix
Fix PWM and Analog Pin counts om T3.5 and T3.6
преди 8 години
Kurt Eckhardt
8cbf04ccd5
Fix PWM and Analog Pin counts om T3.5 and T3.6
Recent additions did not update these counts.
Seperated T3.5 from T3.6 as PWM and Analog counts are different
преди 8 години
PaulStoffregen
d1d357b67e
Add analog pin keywords
преди 8 години
PaulStoffregen
3b96d28851
Fix pin number comments
преди 8 години
PaulStoffregen
28d7ba477e
Use analog pin to channel tables (faster)
преди 8 години
PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
преди 8 години
Paul Stoffregen
d267bc104f
Merge pull request #161 from KurtE/T35_USE_SDCARD_PINS
T35 use sdcard pins
преди 8 години
Paul Stoffregen
77a27fecd8
Merge pull request #167 from KurtE/T3.6-Add-A23-A24
Add A23 and A24 for T3.5 and T3.6 board
преди 8 години
Paul Stoffregen
b180a2cf5c
Merge pull request #170 from KurtE/FIX-SPI0-DMA-for-T3.5
Fix spi0 dma for t3 5
преди 8 години
Kurt Eckhardt
310f359860
Wrong DMAMUX Source for SPI0_TX
преди 8 години
PaulStoffregen
b03b27ece5
Support PWM on pins 16 & 17 on Teensy 3.6
преди 8 години
Paul Stoffregen
cc1641263d
Merge pull request #169 from KurtE/T3.5-Serial6-Fix
Fix Serial6 for Teensy 3.5
преди 8 години
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
преди 8 години
Kurt Eckhardt
8fdabf68ed
One less compare
преди 8 години
Kurt Eckhardt
cf6bf5863a
Add A23 and A24 for T3.5 and T3.6 board
I added pins 49 and 50 as analog pins A23 and A24. I still left in the
special casing for pins 44 and 45 being used for Temp and analog
reference
преди 8 години
Kurt Eckhardt
eef956bb2d
Update Board Names
преди 8 години
Kurt Eckhardt
db1e687b18
T3.5/T3.6 Beta: Optional Allow SDCard pins
With the new beta boards, for those users who don't need an SDCard for
their project, it would be great to allow them to use the 6 IO pins
associated with the SDCARD for other purposes. This would probably
require a cheap adapter, but these are nice signals to be able to be
used. They include:
SPI1: SCK, MISO, MOSI, CS0-2
Serail2: TX/RX
Serial4: TX/RX
I2C1: SCL/SDA
This change adds support for GPIO, SPI, Serial2 and Serial4
преди 8 години
PaulStoffregen
0ed6ba9a96
Fix USB serial number on K64 & K66
преди 8 години
PaulStoffregen
ce27c4c50b
Add misc SDHC register bitfield defs
преди 8 години
Paul Stoffregen
9d48a9507d
Merge pull request #165 from Defragster/master
When concat is same string to string, use memcpy
преди 8 години
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
преди 8 години
Paul Stoffregen
823df112c5
Merge pull request #164 from KurtE/T35-T36-TLC-UART-2StopBits
Enable Uart 2 stop bit capabilities
преди 8 години
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.
преди 8 години
Paul Stoffregen
6fd523990e
Merge pull request #163 from KurtE/Board-names-changed
Beta Board names Change
преди 8 години
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
преди 8 години
Kurt Eckhardt
1067caf0ba
Beta Board names Change
преди 8 години
Paul Stoffregen
1b6770959b
Merge pull request #162 from KurtE/Ser2/Ser4-fixes
Ser2 ser4 fixes
преди 8 години
Kurt Eckhardt
78189d6f15
Serial4.setTX - used wrong SIm_SCGC4 test
Was using UART2, should be UART3
преди 8 години
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
преди 8 години
PaulStoffregen
4d925d3a1c
Improve async sample rate feedback, add optional mac limit
преди 8 години
Paul Stoffregen
bc6e2a87f3
Merge pull request #160 from KurtE/SerialEvent6
Add serialEvent6 to yield
преди 8 години
Kurt Eckhardt
44027e2115
Add serialEvent6 to yield
преди 8 години
PaulStoffregen
12421ba5a9
Add new Arduino pin defines
преди 8 години
PaulStoffregen
731d9123f6
Keycode for Non-US backslash (thanks parsnip42)
fixes #159
преди 8 години
PaulStoffregen
d46a56a811
Fix USB audio feedback endpoint attributes
преди 8 години
Paul Stoffregen
7735f1dd8b
Merge pull request #158 from KurtE/T3.5-Beta-Serial6
T3 5 beta serial6
преди 8 години
Kurt Eckhardt
89d92016c1
Pass at serial6_format
преди 8 години
Paul Stoffregen
f315eb80f5
Merge pull request #155 from sumotoy/master
missed pin 26 in SPIFIFO
преди 8 години
Kurt Eckhardt
d2f9acc78c
Try using BITBAND to turn on/off TIE and TCIE
Make update of these flags be hopefully interrupt safe
преди 8 години
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)
преди 8 години
Paul Stoffregen
d69a3aa053
Merge pull request #157 from KurtE/SPI2-Support
T T3.4 T3.5 SPI2 support
преди 8 години
Kurt Eckhardt
c79a667e31
T T3.4 T3.5 SPI2 support
преди 8 години
PaulStoffregen
50c805926f
Improve flash security documentation
преди 8 години
sumotoy
892d07181d
missed pin 26
преди 8 години