3be6fe5205
								
							 
						 
						
							
								
								T4 compile fix - imxrt.h move )  
							
							
							
						 
						4 лет назад  
				
					
						
							
								 
						
							
								1cd7925894
								
							 
						 
						
							
								
								Group address defines together  
							
							
							
						 
						4 лет назад  
				
					
						
							
								 
						
							
								d916a5cb50
								
							 
						 
						
							
								
								Define peripheral address names  
							
							
							
						 
						4 лет назад  
				
					
						
							
								 
						
							
								bfcb71b7c1
								
							 
						 
						
							
								
								Add defines for SNVS_LPGPR0-3 and GPR_Z_DIS  
							
							There was questions up on forum threads:
https://forum.pjrc.com/threads/66076-Teensy-4-x-s-1062-MCU-has-16-bytes-of-NVRAM-on-RTC-unit?p=268385#post268385 
Originally in the thread: https://forum.pjrc.com/threads/64592-Teensyduino-1-54-Beta-5?p=268336&viewfull=1#post268336 
That said that the 16 byte memory that was battery backup was not defined nor worked.
So added the defines for the 4 registers.  Only one early on alias was defined before this for the first one...
Also added in the SNVS_LPCR_GPR_Z define which the register bit was talked about in a few other register definitions, this bit was not actually defined in the reference manual, it said it was reserved.  But reads or writes without this bit set in the register will zero out the 4 registers.
Tried example sketch to make sure it worked 
							
						 
						4 лет назад  
				
					
						
							
								 
						
							
								efd73c9545
								
							 
						 
						
							
								
								Update PXP definitions for T4  
							
							
							
						 
						4 лет назад  
				
					
						
							
								 
						
							
								9894c76f4f
								
							 
						 
						
							
								
								T4.x Create Struct for IMXRT_GPIO  
							
							Wondered  if this had already been done earlier.
Was not so am trying it now.
One side effect was had to change interrupt.c as there were
#defines for things like DR, GDIR which then caused compile issues with the structure.  So renamed the defines.
Built about 3 programs with it so far.  Which appear to still be working. 
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								1cf63652db
								
							 
						 
						
							
								
								Fixes to CSI registers  
							
							Missed a few, pllus one register fields name had wrong register name 
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								787be1b0e9
								
							 
						 
						
							
								
								imxrt.h - Add CSI Register field names  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								08b835afb8
								
							 
						 
						
							
								
								Update imxrt.h comments for latest reference manual  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								c9e3cc0dae
								
							 
						 
						
							
								
								Add TRNG defines  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								976406ee6b
								
									
										
											
								
							 
						 
						
							
								
								Fix macro typo in imxrt for HW_OCOTP_MEM1.  
							
							Looks like the macro was defined with a space instead of an underscore, breaking the intended macro name. 
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								9e727f9e4c
								
							 
						 
						
							
								
								Fix ADC_ETC defines  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								4cf948983a
								
									
										
											
								
							 
						 
						
							
								
								fix EWM address  
							
							https://github.com/PaulStoffregen/cores/issues/424#issue-555760117 
see RM V2 Page 3221 
						5 лет назад  
				
					
						
							
								 
						
							
								7d82bcde0c
								
							 
						 
						
							
								
								add compiler memory barriers in ARM cache functions  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								d6a656194f
								
							 
						 
						
							
								
								Add XBARA_CTRL defines  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								3cfb7df77a
								
							 
						 
						
							
								
								Fix DMA channel linking defines on Teensy 4.0  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								327ef92b07
								
							 
						 
						
							
								
								Fix FLEXPWM_SMTCTRL_OUT_TRIG_EN define  
							
							https://forum.pjrc.com/threads/59815-teensy-4-0-XBAR-questions?p=231803&viewfull=1#post231803  
						5 лет назад  
				
					
						
							
								 
						
							
								51e9100f3c
								
							 
						 
						
							
								
								Fix XBAR registers  
							
							https://forum.pjrc.com/threads/59815-teensy-4-0-XBAR-questions  
						5 лет назад  
				
					
						
							
								 
						
							
								41bbea414e
								
							 
						 
						
							
								
								Add Teensy 4.0 I2S RCE & TCE bit defs similar to Teensy 3.x  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								db606a48c9
								
									
										
											
								
							 
						 
						
							
								
								Fixed analog comparators IRQ names.  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								3e4ba9d05d
								
							 
						 
						
							
								
								Add defs for flexspi2  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								f831d10d7f
								
									
										
											
								
							 
						 
						
							
								
								SCB_ID_CSSELR is not const  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								673d309048
								
							 
						 
						
							
								
								Add defs for ethernet register bits  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								3d5fe9c8db
								
							 
						 
						
							
								
								Update imxrt.h  
							
							Add T4 ADC_ETC definitions for bits plus structure
Decided to go to the format that is closer to the the manual to
and use names like: chain_1_0, chain_3_2... 
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								dd872a3bff
								
							 
						 
						
							
								
								Define CCM_CCGR1_GPT, for compatibility with TeensyThreads  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								158f1fb94b
								
							 
						 
						
							
								
								Updated imxrt.h to retain original Encoder reg names  
							
							
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								c75375d874
								
							 
						 
						
							
								
								Add ADC Structure and redefine using, plus XBAR defines.  
							
							Add structure to make it easer to use ADC objects,
Plus updated defines to use the structure.
Left in my own define for structure location as a trigger to not define it in my own code when running older version of core...
Also added defines for XBAR, such that we can hopefully not have to use magic numbers to say, map PID1 to ADC_ETC1_... 
							
						 
						5 лет назад  
				
					
						
							
								 
						
							
								0d0dda7823
								
							 
						 
						
							
								
								Fix DMAMUX_SOURCE_LPUARTX settings  
							
							The TX and RX values were reversed.
That is for example on Serial1 (LPUART6)
Before we had:
```
```
now we have
```
```
So for example trying to get WS2812Serial library to work was failing, to output anything. 
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								3faabc46cd
								
							 
						 
						
							
								
								Update imxrt.h for new Encoder reg structure  
							
							Needed to implement Quad encoder library. 
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								17d54c5c70
								
							 
						 
						
							
								
								Rename CCM_CCGR1_GPT defines  
							
							Current naming is confusing since it differs between GTP1 and GTP2. The GTP2 version is compatible to the naming in the data sheet. So I suggest to adjust the naming for  GPT1 
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								0ff1ba3b3b
								
							 
						 
						
							
								
								Explicitely delcare TMR channel registers in IMXRT_TMR_t to make encapsulation of the registers in a user class easier  
							
							I suggest to explicitely delcare a (say)  IMXRT_TMR_CH_t struct which collects the registers for a TMR  channel instead of implicitely defining this struct in the declaration of IMXRT_TMR_t.
This would allow for an easier definition of user classes modelling a TMR channel.
Not a big deal, could also do that mayself the class code but it would be more convenient if this would be done in imxrt.h 
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								590194e4ca
								
									
										
											
								
							 
						 
						
							
								
								CBT register for CANFD  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								3bd199f895
								
							 
						 
						
							
								
								Fix USB_ENDPTCTRL_RXS define  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								0ce5990edb
								
							 
						 
						
							
								
								Add RTC functions  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								7562ec0493
								
							 
						 
						
							
								
								Add IOMUXC registers for IMXRT1062  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								253c747256
								
							 
						 
						
							
								
								Fix USB_USBCMD_ATDTW define  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								abbb04a26d
								
							 
						 
						
							
								
								undocumented SNVS regs  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								5fda96ebc9
								
									
										
											
								
							 
						 
						
							
								
								add SNVS definitions for RTC  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								25e6876450
								
							 
						 
						
							
								
								Fix IRQ numbers for IMXRT1062  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								14bf9b817c
								
							 
						 
						
							
								
								Add IMXRT1062 registers  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								667e8e2c26
								
									
										
											
								
							 
						 
						
							
								
								Fix SPDF Base-Address  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								1030be3aee
								
							 
						 
						
							
								
								Fix attachInterruptVector, use compiler memory barrier  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								eab640e5af
								
							 
						 
						
							
								
								T4 Imxrt define Flexio structure.  
							
							Moved from my flexio_t4 library.
Libary was updated to see if already defined before it now defines it. 
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								9bd82c255b
								
							 
						 
						
							
								
								Fix IMXRT_USB2 address  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								c562f0ae91
								
							 
						 
						
							
								
								add imxrt usb2 pll defs  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								d66f83e3fe
								
							 
						 
						
							
								
								Add keylayouts & USB timer defs  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								18dda2deb5
								
									
										
											
								
							 
						 
						
							
								
								more defs  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								52161d7dad
								
									
										
											
								
							 
						 
						
							
								
								add some more audio defs  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								c15ff6369c
								
									
										
											
								
							 
						 
						
							
								
								add some definitions for audio  
							
							
							
						 
						6 лет назад  
				
					
						
							
								 
						
							
								f6d42f26dc
								
							 
						 
						
							
								
								t4 FLEXIO register masks are 32 bits  
							
							The FlexIO registers are 32 bits, the masks were all setup for 16 bits so the high word of registers were not updated 
							
						 
						6 лет назад