PaulStoffregen
							
						 
						
							
								a98c4fc42b
								
							 
						 
						
							
								
								Single SPIClass for Teensy 3.x  
							 
							
							
							
						 
						8 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								b2dd72f634
								
							 
						 
						
							
								
								Delete Arduino Due implementation  
							 
							
							
							
						 
						8 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								22b7dbd0d0
								
							 
						 
						
							
								
								Fix transfer(buf, size) with LSBFIRST on Teensy 3.x  
							 
							
							
							
						 
						8 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								a8af486c7b
								
							 
						 
						
							
								
								Merge pull request  #23  from KurtE/Faster_transfer_buf  
							 
							
							 
							
							
							
							SPI Transfer(buf, cnt) use FIFO 16 bit 
							
						 
						8 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								20f7bdcfbf
								
							 
						 
						
							
								
								Document special nature of setCS in comments  
							 
							
							
							
						 
						8 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								157095efe9
								
							 
						 
						
							
								
								handle odd byte with option to PUSHR_CONT  
							 
							
							
							
						 
						8 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								9ea3dd95e6
								
							 
						 
						
							
								
								Turning on the PUSHR_CONT removes gap  
							 
							
							 
							
							
							
							Experiment with making the whole transfer of the buffer act like it is
to logically hold the CS pins for that whole transfer.  This removes
gaps between each 16 bit transfer. 
							
						 
						8 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								0257d0473e
								
							 
						 
						
							
								
								SPI Transfer(buf, cnt) use FIFO 16 bit  
							 
							
							 
							
							
							
							Update SPI.transfer(buf, cnt) to use the FIFO queue to speed things up.
It also speeds things up to pack the data into 16 bit transfers instead
of 8 bits.
As this code is more complicated,  no longer makes sense to inline it,
so functions moved from .h to .cpp files.
SPI1 and SPI2 transfer functions were updated as well for T3.5 and T3.6 
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								19819308ca
								
							 
						 
						
							
								
								Merge pull request  #20  from KurtE/T3.5/3.6-SPI---Pin-45-CS  
							 
							
							 
							
							
							
							Pin 45 is valid CS for SPI0 on new boards 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								c94fa644e8
								
							 
						 
						
							
								
								Pin 45 is valid CS for SPI0 on new boards  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								d1aff2a452
								
							 
						 
						
							
								
								Extra pins are now always defined  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								7116502d38
								
							 
						 
						
							
								
								Merge pull request  #19  from KurtE/T35_USE_SDCARD_PINS  
							 
							
							 
							
							
							
							USE SDCard pins for SPI1 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								5c68c3e5f0
								
							 
						 
						
							
								
								USE SDCard pins for SPI1  
							 
							
							 
							
							
							
							This adds support for optionally being able to use the SDCard pins for
SPI1.
This change requires the corresponding changes in the CORES project 
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								1ffbb8abe5
								
							 
						 
						
							
								
								Merge pull request  #18  from KurtE/Extern-SPI2  
							 
							
							 
							
							
							
							Add extern for SPI2 for T3.6 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								cf2169182a
								
							 
						 
						
							
								
								Add SPI2 as keyword  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								17fc3b8392
								
							 
						 
						
							
								
								Add extern for SPI2 for T3.6  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								ace6975aed
								
							 
						 
						
							
								
								Merge pull request  #17  from KurtE/Beta-Board-name-change  
							 
							
							 
							
							
							
							Beta boards changed names 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								ca644b291c
								
							 
						 
						
							
								
								Beta boards changed names  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								f6c294f804
								
							 
						 
						
							
								
								Merge pull request  #16  from KurtE/K66-SPI2  
							 
							
							 
							
							
							
							SPI2 Support 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								593c6782e9
								
							 
						 
						
							
								
								SPI2 Support  
							 
							
							 
							
							
							
							Added SPI2 support for T34/T35 boards 
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								705b4f3117
								
							 
						 
						
							
								
								Merge pull request  #14  from KurtE/Comment_debug_msg  
							 
							
							 
							
							
							
							Oops - missed debug message 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								db18d0b056
								
							 
						 
						
							
								
								Oops - missed debug message  
							 
							
							 
							
							
							
							Commented out other debug messages earlier, but missed this one 
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								6696bc1389
								
							 
						 
						
							
								
								Merge pull request  #13  from sumotoy/master  
							 
							
							 
							
							
							
							A serial debug line should be commented. 
							
						 
						9 years ago  
					 
				
					
						
							
								   max mc costa
							
						 
						
							
								20c0086c31
								
							 
						 
						
							
								
								Add files via upload  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								aef5445f90
								
							 
						 
						
							
								
								Merge pull request  #11  from KurtE/SPI1-for-3.4/3.5  
							 
							
							 
							
							
							
							Added SPI1 object for Teensy 3.5 test board 
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								17ffb0096c
								
							 
						 
						
							
								
								SPCR1 used in setDataMode  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								27116d575e
								
							 
						 
						
							
								
								SPI1 Missed updates to SIM_SCGC6  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								4f13273546
								
							 
						 
						
							
								
								Added SPI1 object for Teensy 3.5 test board  
							 
							
							 
							
							
							
							These changes plus some changes in core (added register defines, plus
added logical SPCR1 register), allowed me to do quick hack to
serialFlash library and test and initialize flash memory using 3.5 test
board connected to prop shield using pins 0, 1, 20 and 6 
							
						 
						9 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								c593e4bd11
								
							 
						 
						
							
								
								Add library.properties  
							 
							
							
							
						 
						9 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								ad88dec629
								
							 
						 
						
							
								
								Update examples to use transactions  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								f43cb14bd2
								
							 
						 
						
							
								
								Fix transfer16  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								a5977d6d1f
								
							 
						 
						
							
								
								Merge pull request  #6  from crteensy/patch-1  
							 
							
							 
							
							
							
							Update SPI.h 
							
						 
						10 years ago  
					 
				
					
						
							
								   crteensy
							
						 
						
							
								2401901b56
								
							 
						 
						
							
								
								Update SPI.h  
							 
							
							 
							
							
							
							In the comments: "Teensy 3.x" changed to "Teensy LC". Or is the LC also part of the "3" family? 
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								d4d1c18995
								
							 
						 
						
							
								
								Use 12 Mbit/sec for SPI_CLOCK_DIV2 on Teensy 3.x & LC  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								009ca8f984
								
							 
						 
						
							
								
								Enable SPI1 on Teensy-LC  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								e516ecc3ef
								
							 
						 
						
							
								
								Add SPI1 on Teensy-LC  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								c8e19a33d2
								
							 
						 
						
							
								
								Add support for Teensy-LC  
							 
							
							
							
						 
						10 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								e3f07329a5
								
							 
						 
						
							
								
								Add SPI_ATOMIC_VERSION symbol  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								d0eca0a3f3
								
							 
						 
						
							
								
								disable interrupts during usingInterrupt() on AVR  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								cec43ff698
								
							 
						 
						
							
								
								Speedup transfer16() on AVR  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								0d69254081
								
							 
						 
						
							
								
								Fix minor grammar error in comments  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								1708ef0d34
								
							 
						 
						
							
								
								Fix SPI beginTransaction race condition (thanks to Andrew Knoll)  
							 
							
							 
							
							
							
							http://forum.pjrc.com/threads/26776-Teensyduino-1-20-Released?p=56316&viewfull=1#post56316  
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								98a75fab09
								
							 
						 
						
							
								
								Add notUsingInterrupt()  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								af21fcd6a8
								
							 
						 
						
							
								
								Add SPI_TRANSACTION_MISMATCH_LED option  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								4416fbe4fb
								
							 
						 
						
							
								
								Fix bugs on Arduino Due version  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								c42a900006
								
							 
						 
						
							
								
								Add interrupt masking for Teensy 3.x  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								9bab977b5d
								
							 
						 
						
							
								
								Fix clocks in Arduino Due's SPISettings  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								5836e69009
								
							 
						 
						
							
								
								Add SPISettings for Arduino Due  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								68a0138a8a
								
							 
						 
						
							
								
								Add Arduino Due code  
							 
							
							
							
						 
						11 years ago  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								37c9bd9e7d
								
							 
						 
						
							
								
								Move AVR INT mapping to cpp file  
							 
							
							
							
						 
						11 years ago