This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE7954: AFE7954: How do I get a diagram in SPI?

Part Number: AFE7954
Other Parts Discussed in Thread: LMK04828, AFE7950EVM

Tool/software:

Hi,

I use AFE7954 and LMK04828.

I made custom board.

I tried to connect between xilinx JESD IP and AFE, but it failed.

I used the following script and SPI commands.

setupParams.skipFpga 				= 1
sysParams							=	AFE.systemParams
setupParams.fpgaRefClk 				= 491.52#184.32#
AFE.systemStatus.loadTrims			= 1

sysParams.fbEnable 					= [False]*2
sysParams.txEnable 					= [True,False,False,False]
sysParams.rxEnable 					= [False,False,False,False]
sysParams.externalClockTx			= False
sysParams.externalClockRx			= False
sysParams.FRef                    	= 491.52
sysParams.FadcRx                  	= 2949.12
sysParams.FadcFb				  	= 2949.12
sysParams.Fdac                    	= 2949.12*4

sysParams.enableDacInterleavedMode	= False 					#DAC interleave mode to save power consumption. Fs/2 - Fin spur occurs

sysParams.modeTdd 					= 0		
										# 0- Single TDD Pin for all Channels
										# 1- Separate Control for 2T/2R/1F
										# 2- Separate Control for 1T/1R/1F			

sysParams.RRFMode 					= 0   #4T4R2F FDD mode
sysParams.jesdSystemMode			= [3,3]
										#SystemMode 0:	2R1F-FDD						; rx1-rx2-fb-fb
										#SystemMode 1:	1R1F-FDD						; rx1-rx1-fb-fb
										#SystemMode 2:	2R-FDD							; rx1-rx1-rx2-rx2
										#SystemMode 3:	1R								; rx1-rx1-rx1-rx1
										#SystemMode 4:	1F								; fb-fb-fb-fb
										#SystemMode 5:	1R1F-TDD						; rx1/fb-rx1/fb-rx1/fb-rx1/fb
										#SystemMode 8:	1R1F-TDD 1R-FDD	(FB-2Lanes)(RX1 RX2 interchanged)		; rx2/fb-rx2/fb-rx1-rx1


sysParams.jesdLoopbackEn			= 0 #Make it 1 to Enable the JESDTX to JESDRX internal loopback
sysParams.LMFSHdRx                	= ["44210","44210","44210","44210"]	
										# The 2nd and 4th are valid only for jesdSystemMode values in (2,6,7,8). For other modes, select 4 converter modes for 1st and 3rd.
sysParams.LMFSHdFb                	= ["22210","22210"]
sysParams.LMFSHdTx                	= ["12410","12410","12410","12410"]
sysParams.jesdTxProtocol            = [0,0]  # 0 = 8b/10b
sysParams.jesdRxProtocol            = [0,0]  # 0 = 8b/10b
sysParams.serdesFirmware			= False 		# If you want to lead any firmware, please speify the path here. Otherwise it will not write any firmware
sysParams.jesdTxLaneMux				= [0,1,2,3,4,5,6,7]	
												# Enter which lanes you want in each location. 
												# Note that across 2T Mux is not possible in 0.5.
												# For example, if you want to exchange the first two lines of each 2T, this should be [[1,0,2,3],[5,4,6,7]]
sysParams.serdesTxLanePolarity		= [False]*8
sysParams.jesdRxLaneMux				= [4,1,2,3,0,5,6,7]	#[0,1,2,3,4,5,7,6]
												# Enter which lanes you want in each location.
												# Note that across 2R Mux is not possible in 0.5.
												# For example, if you want to exchange the first two lines of each 2R, this should be [[1,0,2,3],[5,4,6,7]]
sysParams.serdesRxLanePolarity	= [0,0,0,0,0,0,0,0]
sysParams.jesdRxRbd					= [4, 4]

sysParams.rxJesdTxScr				= [True]*4
sysParams.fbJesdTxScr				= [True]*2
sysParams.jesdRxScr					= [True]*4

sysParams.rxJesdTxK					= [16]*4
sysParams.fbJesdTxK					= [16]*2
sysParams.jesdRxK					= [16]*4

sysParams.ncoFreqMode 				= "1KHz"
	
sysParams.txNco0					= 	[[8000,8000],		#Band0, Band1 for TxA for NCO0
										[8000,8000],        #Band0, Band1 for TxB for NCO0
										[8000,8000],        #Band0, Band1 for TxC for NCO0
										[8000,8000]]        #Band0, Band1 for TxD for NCO0

sysParams.rxNco0					= 	[[8000,8000],		#Band0, Band1 for RxA for NCO0
										[8000,8000],        #Band0, Band1 for RxB for NCO0
										[8000,8000],        #Band0, Band1 for RxC for NCO0
										[8000,8000]]        #Band0, Band1 for RxD for NCO0

sysParams.fbNco0					= 	[1800,1800]			#FBA, FBC for NCO0
sysParams.fbNco1					= 	[1800,1800]			#FBA, FBC for NCO1
sysParams.fbNco2					= 	[1800,1800]			#FBA, FBC for NCO2
sysParams.fbNco3					= 	[1800,1800]			#FBA, FBC for NCO3

sysParams.numBandsRx				= [0]*4					# 0 for single, 1 for dual
sysParams.numBandsFb				= [0,0]				
sysParams.numBandsTx				= [0,0,0,0]

sysParams.ddcFactorRx             	= [12]*4			# DDC decimation factor for RX A, B, C and D
sysParams.ddcFactorFb             	= [12]*4
sysParams.ducFactorTx             	= [48]*4


## The following parameters sets up the LMK04828 clocking schemes
lmkParams.pllEn						=	True#False
lmkParams.inputClk					=	10#737.28
lmkParams.sysrefFreq				=	15.36
lmkParams.lmkFrefClk				=	True


## The following parameters sets up the register and macro dumps
logDumpInst.setFileName(ASTERIX_DIR+DEVICES_DIR+r"\Afe79xxPg1.txt")
logDumpInst.logFormat				= 0x21
logDumpInst.rewriteFile				= 1
logDumpInst.rewriteFileFormat4		= 1
device.optimizeWrites				= 0
device.rawWriteLogEn				= 1
#lmk.rawWriteLogEn					= 1

## The following parameters sets up the SYNCIN and SYNCOUT to interface with the TSW14J57
sysParams.jesdABLvdsSync			= 1
sysParams.jesdCDLvdsSync			= 1
sysParams.rxJesdTxSyncMux			= [0,0,0,0]
sysParams.fbJesdTxSyncMux			= [0,0]
sysParams.jesdRxSyncMux				= [0,0,0,0]		#[0,0,1,1]
sysParams.syncLoopBack				= 1

# ## The following parameters sets up the AGC
# sysParams.agcParams[0].agcMode = 1 ##internal AGC
# sysParams.agcParams[0].gpioRstEnable = 0 ##disable GPIO based reset to AGC detector 
# sysParams.agcParams[0].atken = [0, 1, 0] ##enable big and small step attack
# sysParams.agcParams[0].decayen = [0,1,0] ##enable big and small step decay
# sysParams.agcParams[0].atksize = [2,1,0] ## bigs step = 2dB, small step = 1dB
# sysParams.agcParams[0].decaysize = [2,1,0] ##big step = 2dB, small step = 1dB
# sysParams.agcParams[0].atkthreshold = [-1, -2, -14] ##attack threshold
# sysParams.agcParams[0].decaythreshold = [-14, -6, -20] ##decay threshold
# sysParams.agcParams[0].atkwinlength = [170, 170] ## detector time constant expressed inn absolute time in ns. 
# sysParams.agcParams[0].decaywinlength = 87380 ##detector time constant expressed in absolute time in ns. All detectors use the same value for decay time constant
# sysParams.agcParams[0].atkNumHitsAbs = [8,8] ##absolute number of times signal crosses threshold. These crossing are with respect to the FADC/8 clock
# sysParams.agcParams[0].decayNumHitsAbs = [100,100] ##absolute number of times signal crosses threshold. These crossing are with respect to the FADC/8 clock
# sysParams.agcParams[0].minDsaAttn = 0 ##minimum DSA attenuation used by AGC
# sysParams.agcParams[0].maxDsaAttn = 22 ##maximum DSA attenuation used by AGC
# sysParams.agcParams[0].totalGainRange = 22 ##total gain range used by ALC for gain compensation
# sysParams.agcParams[0].minAttnAlc = 0 ##minimum attenuation used by ALC for compensation when useMinAttnAgc = 0
# sysParams.agcParams[0].useMinAttnAgc = 1 ##enable ALC to use minimum attenuation from AGC for which compensation is required.
# sysParams.agcParams[0].alcEn = 1
# sysParams.agcParams[0].alcMode = 0 ##floating point DGC
# sysParams.agcParams[0].fltPtMode = 0 ##if exponent > 0, dont send MSB
# sysParams.agcParams[0].fltPtFmt = 1 ##3 bit exponent

##Alarm1##
sysParams.intPinsParams[0]['JESD']   = True
sysParams.intPinsParams[0]['SPI']    = False
sysParams.intPinsParams[0]['PLL']    = False
sysParams.intPinsParams[0]['TXAPAP'] = False
sysParams.intPinsParams[0]['TXBPAP'] = False
sysParams.intPinsParams[0]['TXCPAP'] = False
sysParams.intPinsParams[0]['TXDPAP'] = False

##Alarm2##
sysParams.intPinsParams[1]['JESD']   = False
sysParams.intPinsParams[1]['SPI']    = False
sysParams.intPinsParams[1]['PLL']    = True
sysParams.intPinsParams[1]['TXAPAP'] = False
sysParams.intPinsParams[1]['TXBPAP'] = False
sysParams.intPinsParams[1]['TXCPAP'] = False
sysParams.intPinsParams[1]['TXDPAP'] = False


## The following parameters sets up the GPIOs
sysParams.gpioMapping={
		'H8': 'ADC_SYNC0',
		'H7': 'ADC_SYNC1',
		'N8': 'ADC_SYNC2',
		'N7': 'ADC_SYNC3',
		'H9': 'DAC_SYNC0',
		'G9': 'DAC_SYNC1',
		'N9': 'DAC_SYNC2',
		'P9': 'DAC_SYNC3',
		'P14': 'GLOBAL_PDN',
		'K14': 'FBABTDD',
		'R6': 'FBCDTDD',
		'H15': ['TXATDD','TXBTDD'],
		'V5':  ['TXCTDD','TXDTDD'],
		'E7':  ['RXATDD','RXBTDD'],
		'R15': ['RXCTDD','RXDTDD'],
		"N16": "ALARM1",
		"N15": "ALARM2" }
#AFE.systemParams.papParams[0]['enable'] = True
#AFE.systemParams.papParams[1]['enable'] = True
#AFE.systemParams.papParams[2]['enable'] = True
#AFE.systemParams.papParams[3]['enable'] = True
setupParams.skipLmk	=	False

AFE.initializeConfig()
#lmkParams.sysrefFreq = AFE.systemStatus.sysrefFreq
lmkParams.lmkPulseSysrefMode = False
AFE.LMK.lmkConfig()

	dev_spi_write(0x0,0x30);
	dev_spi_write(0x0,0xb0);
	dev_spi_write(0x0,0x30);
	dev_spi_write(0x0,0x30);
	dev_spi_write(0x0,0x30);
	rdVal = dev_spi_read(0x3);
	if ((rdVal&0xff) != 0xa)
		xil_printf("Readcheck Error in Line 6 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x4);
	if ((rdVal&0xff) != 0x78)
		xil_printf("Readcheck Error in Line 7 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x5);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 8 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x6);
	if ((rdVal&0xff) != 0x11)
		xil_printf("Readcheck Error in Line 9 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x191,0x0);
	dev_spi_write(0x231,0x0);
	dev_spi_write(0x2d1,0x0);
	dev_spi_write(0x371,0x0);
	dev_spi_write(0x42a,0x0);
	dev_spi_write(0x4e2,0x0);
	dev_spi_write(0x59a,0x0);
	dev_spi_write(0x652,0x0);
	dev_spi_write(0x70a,0x0);
	dev_spi_write(0x7c2,0x0);
	dev_spi_write(0xec,0x1);
	dev_spi_write(0xf4,0x1);
	dev_spi_write(0xe4,0x1);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x190,0x3);
	dev_spi_write(0x190,0x1);
	dev_spi_write(0x15,0x0);
	delaySec(0.001000);
	dev_spi_write(0x13,0x2);
	dev_spi_write(0x20,0x1);
	dev_spi_write(0x158,0x2);
	dev_spi_write(0x159,0x2);
	dev_spi_write(0x158,0x2);
	dev_spi_write(0x159,0x2);
	dev_spi_write(0x15a,0x2);
	dev_spi_write(0x15a,0x2);
	dev_spi_write(0x158,0x6);
	dev_spi_write(0x159,0x6);
	dev_spi_write(0x158,0xe);
	dev_spi_write(0x159,0xe);
	dev_spi_write(0x15a,0x42);
	dev_spi_write(0x15a,0x4a);
	dev_spi_write(0x15a,0xca);
	dev_spi_write(0x1a1,0x8);
	dev_spi_write(0x1a0,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x19,0x20);
	dev_spi_write(0x461,0x1);
	dev_spi_write(0x460,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x13,0x4);
	dev_spi_write(0x20,0x1);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x930,0x4);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x40);
	dev_spi_write(0x461,0x1);
	dev_spi_write(0x460,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x13,0x8);
	dev_spi_write(0x20,0x1);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x930,0xc);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x80);
	dev_spi_write(0x461,0x1);
	dev_spi_write(0x460,0x1);
	dev_spi_write(0x19,0x40);
	dev_spi_write(0xb81,0x20);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x931,0x1);
	dev_spi_write(0x932,0x1);
	dev_spi_write(0x932,0x3);
	dev_spi_write(0x931,0x3);
	dev_spi_write(0x932,0x7);
	dev_spi_write(0x932,0xf);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x11,0x3f);
	dev_spi_write(0xce,0x20);
	dev_spi_write(0xcb,0x4);
	dev_spi_write(0xca,0x20);
	dev_spi_write(0xce,0x30);
	dev_spi_write(0xc3,0x40);
	dev_spi_write(0xc0,0x1);
	dev_spi_write(0xb9,0x40);
	dev_spi_write(0xb9,0x50);
	dev_spi_write(0xb9,0x70);
	dev_spi_write(0xb9,0x78);
	dev_spi_write(0x11,0x0);
	dev_spi_write(0x10,0x3f);
	dev_spi_write(0xb0,0x30);
	dev_spi_write(0xb4,0x30);
	dev_spi_write(0x10,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xc0,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x1);
	dev_spi_write(0x540,0x0);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0x171);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 112 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 112 0x171 : %d\n",pollIter);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x54,0x81);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x0);
	dev_spi_write(0x540,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x8a8,0x2);
	dev_spi_write(0x810,0x1);
	dev_spi_write(0x830,0x1);
	dev_spi_write(0x200,0x0);
	dev_spi_write(0x210,0x0);
	dev_spi_write(0x814,0x0);
	dev_spi_write(0x834,0x0);
	dev_spi_write(0x814,0x1);
	dev_spi_write(0x834,0x1);
	dev_spi_write(0x810,0x0);
	dev_spi_write(0x830,0x0);
	dev_spi_write(0x810,0x1);
	dev_spi_write(0x830,0x1);
	dev_spi_write(0x200,0x5);
	dev_spi_write(0x210,0x0);
	dev_spi_write(0x814,0x3);
	dev_spi_write(0x834,0x3);
	dev_spi_write(0x814,0x0);
	dev_spi_write(0x834,0x0);
	dev_spi_write(0x810,0x0);
	dev_spi_write(0x830,0x0);
	dev_spi_write(0x814,0x0);
	dev_spi_write(0x834,0x0);
	dev_spi_write(0x814,0x1c);
	dev_spi_write(0x834,0x1c);
	dev_spi_write(0x814,0x0);
	dev_spi_write(0x834,0x0);
	delaySec(0.005000);
	rdVal = dev_spi_read(0x150);
	if ((rdVal&0xf) != 0xf)
		xil_printf("Readcheck Error in Line 151 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x150);
	if ((rdVal&0xf0) != 0x0)
		xil_printf("Readcheck Error in Line 152 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x160);
	if ((rdVal&0xf) != 0xf)
		xil_printf("Readcheck Error in Line 153 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x160);
	if ((rdVal&0xf0) != 0x0)
		xil_printf("Readcheck Error in Line 154 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x830,0x1);
	dev_spi_write(0x810,0x1);
	dev_spi_write(0x910,0xf);
	dev_spi_write(0x911,0x3);
	dev_spi_write(0x912,0xf);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0xc1,0x2);
	dev_spi_write(0xc0,0x42);
	dev_spi_write(0xc0,0x42);
	dev_spi_write(0xc0,0xc2);
	dev_spi_write(0xc0,0x42);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x140,0x1);
	dev_spi_write(0x140,0x0);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 173 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 173 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x2);
	dev_spi_write(0x193,0x1);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 181 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 181 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 182 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xff);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 198 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xfe);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 199 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xfd);
	if ((rdVal&0xff) != 0x2a)
		xil_printf("Readcheck Error in Line 200 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xfc);
	if ((rdVal&0xff) != 0xf8)
		xil_printf("Readcheck Error in Line 201 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 203 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 203 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 211 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 211 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 212 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1a28,0x10);
	dev_spi_write(0x1a29,0x27);
	dev_spi_write(0x1a2a,0x0);
	dev_spi_write(0x1a2b,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1a2c,0x10);
	dev_spi_write(0x1a2d,0x27);
	dev_spi_write(0x1a2e,0x0);
	dev_spi_write(0x1a2f,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1a30,0x10);
	dev_spi_write(0x1a31,0x27);
	dev_spi_write(0x1a32,0x0);
	dev_spi_write(0x1a33,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1a34,0x10);
	dev_spi_write(0x1a35,0x27);
	dev_spi_write(0x1a36,0x0);
	dev_spi_write(0x1a37,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x3bf,0x0);
	dev_spi_write(0x3be,0x7);
	dev_spi_write(0x3bd,0x80);
	dev_spi_write(0x3bc,0x0);
	dev_spi_write(0x3c3,0x0);
	dev_spi_write(0x3c2,0x4);
	dev_spi_write(0x3c1,0x17);
	dev_spi_write(0x3c0,0x46);
	dev_spi_write(0x3d0,0x5);
	dev_spi_write(0x3ac,0x1d);
	dev_spi_write(0x3ad,0x1d);
	dev_spi_write(0x1abd,0x3);
	dev_spi_write(0x1402,0x0);
	dev_spi_write(0x1403,0x0);
	dev_spi_write(0x1401,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1ee8,0x60);
	dev_spi_write(0x1ee9,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1b5f,0x2c);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1b6f,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1e7d,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1a6e,0x80);
	dev_spi_write(0x1a6f,0x1);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1b24,0x80);
	dev_spi_write(0x1b25,0x1);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 320 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 320 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 328 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 328 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 329 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x0);
	dev_spi_write(0x21,0x0);
	dev_spi_write(0x22,0x0);
	dev_spi_write(0x23,0x0);
	dev_spi_write(0x24,0x69);
	dev_spi_write(0x25,0x1a);
	dev_spi_write(0x26,0x3);
	dev_spi_write(0x27,0x0);
	dev_spi_write(0x28,0xb5);
	dev_spi_write(0x29,0xa4);
	dev_spi_write(0x2a,0x6d);
	dev_spi_write(0x2b,0xea);
	dev_spi_write(0x2c,0x7d);
	dev_spi_write(0x2d,0x19);
	dev_spi_write(0x2e,0xce);
	dev_spi_write(0x2f,0xca);
	dev_spi_write(0x30,0x1);
	dev_spi_write(0x31,0x7);
	dev_spi_write(0x32,0x8);
	dev_spi_write(0x33,0x12);
	dev_spi_write(0x34,0x14);
	dev_spi_write(0x35,0x0);
	dev_spi_write(0x36,0x1);
	dev_spi_write(0x37,0xa);
	dev_spi_write(0x38,0x7);
	dev_spi_write(0x39,0x13);
	dev_spi_write(0x3a,0xf8);
	dev_spi_write(0x3b,0x2a);
	dev_spi_write(0x3c,0x1);
	dev_spi_write(0x3d,0xa);
	dev_spi_write(0x3e,0x7);
	dev_spi_write(0x3f,0x13);
	dev_spi_write(0x40,0xf8);
	dev_spi_write(0x41,0x2a);
	dev_spi_write(0x42,0x0);
	dev_spi_write(0x43,0x0);
	dev_spi_write(0x44,0x0);
	dev_spi_write(0x45,0x0);
	dev_spi_write(0x46,0x0);
	dev_spi_write(0x47,0x0);
	dev_spi_write(0x48,0x0);
	dev_spi_write(0x49,0x0);
	dev_spi_write(0x4a,0x0);
	dev_spi_write(0x4b,0x0);
	dev_spi_write(0x4c,0x0);
	dev_spi_write(0x4d,0x0);
	dev_spi_write(0x4e,0x0);
	dev_spi_write(0x4f,0x0);
	dev_spi_write(0x50,0xc5);
	dev_spi_write(0x51,0x4a);
	dev_spi_write(0x52,0xc);
	dev_spi_write(0x53,0x23);
	dev_spi_write(0x54,0x10);
	dev_spi_write(0x55,0xfb);
	dev_spi_write(0x56,0x3);
	dev_spi_write(0x57,0xf0);
	dev_spi_write(0x58,0x0);
	dev_spi_write(0x59,0xeb);
	dev_spi_write(0x5a,0x81);
	dev_spi_write(0x5b,0x0);
	dev_spi_write(0x5c,0x10);
	dev_spi_write(0x5d,0x58);
	dev_spi_write(0x5e,0x90);
	dev_spi_write(0x5f,0xf8);
	dev_spi_write(0x60,0xb8);
	dev_spi_write(0x61,0x14);
	dev_spi_write(0x62,0x0);
	dev_spi_write(0x63,0xeb);
	dev_spi_write(0x64,0x41);
	dev_spi_write(0x65,0x0);
	dev_spi_write(0x66,0xb0);
	dev_spi_write(0x67,0xf8);
	dev_spi_write(0x68,0xbc);
	dev_spi_write(0x69,0x4);
	dev_spi_write(0x6a,0x70);
	dev_spi_write(0x6b,0x47);
	dev_spi_write(0x6c,0xab);
	dev_spi_write(0x6d,0x4a);
	dev_spi_write(0x6e,0x3);
	dev_spi_write(0x6f,0x78);
	dev_spi_write(0x70,0x11);
	dev_spi_write(0x71,0x68);
	dev_spi_write(0x72,0x4b);
	dev_spi_write(0x73,0x40);
	dev_spi_write(0x74,0x3);
	dev_spi_write(0x75,0xf0);
	dev_spi_write(0x76,0x7);
	dev_spi_write(0x77,0x3);
	dev_spi_write(0x78,0x59);
	dev_spi_write(0x79,0x40);
	dev_spi_write(0x7a,0x11);
	dev_spi_write(0x7b,0x60);
	dev_spi_write(0x7c,0x40);
	dev_spi_write(0x7d,0x78);
	dev_spi_write(0x7e,0xa2);
	dev_spi_write(0x7f,0xf1);
	dev_spi_write(0x80,0x0);
	dev_spi_write(0x81,0x42);
	dev_spi_write(0x82,0x11);
	dev_spi_write(0x83,0x68);
	dev_spi_write(0x84,0x48);
	dev_spi_write(0x85,0x40);
	dev_spi_write(0x86,0x0);
	dev_spi_write(0x87,0xf0);
	dev_spi_write(0x88,0x7);
	dev_spi_write(0x89,0x0);
	dev_spi_write(0x8a,0x48);
	dev_spi_write(0x8b,0x40);
	dev_spi_write(0x8c,0x10);
	dev_spi_write(0x8d,0x60);
	dev_spi_write(0x8e,0x70);
	dev_spi_write(0x8f,0x47);
	dev_spi_write(0x90,0x38);
	dev_spi_write(0x91,0xb5);
	dev_spi_write(0x92,0xb5);
	dev_spi_write(0x93,0x4c);
	dev_spi_write(0x94,0x13);
	dev_spi_write(0x95,0x78);
	dev_spi_write(0x96,0xc);
	dev_spi_write(0x97,0x25);
	dev_spi_write(0x98,0x10);
	dev_spi_write(0x99,0xfb);
	dev_spi_write(0x9a,0x5);
	dev_spi_write(0x9b,0xf0);
	dev_spi_write(0x9c,0x0);
	dev_spi_write(0x9d,0xeb);
	dev_spi_write(0x9e,0x81);
	dev_spi_write(0x9f,0x0);
	dev_spi_write(0xa0,0x20);
	dev_spi_write(0xa1,0x58);
	dev_spi_write(0xa2,0x80);
	dev_spi_write(0xa3,0xf8);
	dev_spi_write(0xa4,0xaa);
	dev_spi_write(0xa5,0x34);
	dev_spi_write(0xa6,0x51);
	dev_spi_write(0xa7,0x78);
	dev_spi_write(0xa8,0xd0);
	dev_spi_write(0xa9,0xf8);
	dev_spi_write(0xaa,0x14);
	dev_spi_write(0xab,0x2b);
	dev_spi_write(0xac,0x61);
	dev_spi_write(0xad,0xf3);
	dev_spi_write(0xae,0x8b);
	dev_spi_write(0xaf,0x22);
	dev_spi_write(0xb0,0xc0);
	dev_spi_write(0xb1,0xf8);
	dev_spi_write(0xb2,0x14);
	dev_spi_write(0xb3,0x2b);
	dev_spi_write(0xb4,0x38);
	dev_spi_write(0xb5,0xbd);
	dev_spi_write(0xb6,0xf8);
	dev_spi_write(0xb7,0xb5);
	dev_spi_write(0xb8,0xab);
	dev_spi_write(0xb9,0x4c);
	dev_spi_write(0xba,0xac);
	dev_spi_write(0xbb,0x4b);
	dev_spi_write(0xbc,0xc);
	dev_spi_write(0xbd,0x25);
	dev_spi_write(0xbe,0x4f);
	dev_spi_write(0xbf,0xf4);
	dev_spi_write(0xc0,0x25);
	dev_spi_write(0xc1,0x77);
	dev_spi_write(0xc2,0xdc);
	dev_spi_write(0xc3,0x26);
	dev_spi_write(0xc4,0x10);
	dev_spi_write(0xc5,0xfb);
	dev_spi_write(0xc6,0x5);
	dev_spi_write(0xc7,0xf5);
	dev_spi_write(0xc8,0x10);
	dev_spi_write(0xc9,0xfb);
	dev_spi_write(0xca,0x7);
	dev_spi_write(0xcb,0xf7);
	dev_spi_write(0xcc,0x5);
	dev_spi_write(0xcd,0xeb);
	dev_spi_write(0xce,0x81);
	dev_spi_write(0xcf,0x0);
	dev_spi_write(0xd0,0x11);
	dev_spi_write(0xd1,0xfb);
	dev_spi_write(0xd2,0x6);
	dev_spi_write(0xd3,0x71);
	dev_spi_write(0xd4,0x20);
	dev_spi_write(0xd5,0x58);
	dev_spi_write(0xd6,0x59);
	dev_spi_write(0xd7,0x5c);
	dev_spi_write(0xd8,0xb);
	dev_spi_write(0xd9,0x9);
	dev_spi_write(0xda,0x24);
	dev_spi_write(0xdb,0xbf);
	dev_spi_write(0xdc,0x13);
	dev_spi_write(0xdd,0x88);
	dev_spi_write(0xde,0xa0);
	dev_spi_write(0xdf,0xf8);
	dev_spi_write(0xe0,0x38);
	dev_spi_write(0xe1,0x34);
	dev_spi_write(0xe2,0xcb);
	dev_spi_write(0xe3,0x8);
	dev_spi_write(0xe4,0x24);
	dev_spi_write(0xe5,0xbf);
	dev_spi_write(0xe6,0x53);
	dev_spi_write(0xe7,0x88);
	dev_spi_write(0xe8,0xa0);
	dev_spi_write(0xe9,0xf8);
	dev_spi_write(0xea,0x34);
	dev_spi_write(0xeb,0x34);
	dev_spi_write(0xec,0x89);
	dev_spi_write(0xed,0x9);
	dev_spi_write(0xee,0x24);
	dev_spi_write(0xef,0xbf);
	dev_spi_write(0xf0,0x91);
	dev_spi_write(0xf1,0x88);
	dev_spi_write(0xf2,0xa0);
	dev_spi_write(0xf3,0xf8);
	dev_spi_write(0xf4,0x3e);
	dev_spi_write(0xf5,0x14);
	dev_spi_write(0xf6,0x91);
	dev_spi_write(0xf7,0x79);
	dev_spi_write(0xf8,0x80);
	dev_spi_write(0xf9,0xf8);
	dev_spi_write(0xfa,0xa0);
	dev_spi_write(0xfb,0x14);
	dev_spi_write(0xfc,0xf8);
	dev_spi_write(0xfd,0xbd);
	dev_spi_write(0xfe,0x2d);
	dev_spi_write(0xff,0xe9);
	dev_spi_write(0x100,0xf0);
	dev_spi_write(0x101,0x47);
	dev_spi_write(0x102,0x8);
	dev_spi_write(0x103,0xaf);
	dev_spi_write(0x104,0x3c);
	dev_spi_write(0x105,0x79);
	dev_spi_write(0x106,0x99);
	dev_spi_write(0x107,0x46);
	dev_spi_write(0x108,0x15);
	dev_spi_write(0x109,0x46);
	dev_spi_write(0x10a,0x8a);
	dev_spi_write(0x10b,0x46);
	dev_spi_write(0x10c,0x6);
	dev_spi_write(0x10d,0x46);
	dev_spi_write(0x10e,0x8c);
	dev_spi_write(0x10f,0xb9);
	dev_spi_write(0x110,0x36);
	dev_spi_write(0x111,0x1);
	dev_spi_write(0x112,0x30);
	dev_spi_write(0x113,0x46);
	dev_spi_write(0x114,0xeb);
	dev_spi_write(0x115,0xf7);
	dev_spi_write(0x116,0x99);
	dev_spi_write(0x117,0xfc);
	dev_spi_write(0x118,0x80);
	dev_spi_write(0x119,0x46);
	dev_spi_write(0x11a,0x30);
	dev_spi_write(0x11b,0x46);
	dev_spi_write(0x11c,0xeb);
	dev_spi_write(0x11d,0xf7);
	dev_spi_write(0x11e,0x95);
	dev_spi_write(0x11f,0xfc);
	dev_spi_write(0x120,0x8);
	dev_spi_write(0x121,0xeb);
	dev_spi_write(0x122,0x88);
	dev_spi_write(0x123,0x8);
	dev_spi_write(0x124,0x5);
	dev_spi_write(0x125,0x21);
	dev_spi_write(0x126,0x10);
	dev_spi_write(0x127,0xfb);
	dev_spi_write(0x128,0x1);
	dev_spi_write(0x129,0xf0);
	dev_spi_write(0x12a,0xc0);
	dev_spi_write(0x12b,0xf3);
	dev_spi_write(0x12c,0x0);
	dev_spi_write(0x12d,0x20);
	dev_spi_write(0x12e,0x0);
	dev_spi_write(0x12f,0xeb);
	dev_spi_write(0x130,0x68);
	dev_spi_write(0x131,0x20);
	dev_spi_write(0x132,0xe);
	dev_spi_write(0x133,0xe0);
	dev_spi_write(0x134,0xeb);
	dev_spi_write(0x135,0xf7);
	dev_spi_write(0x136,0x89);
	dev_spi_write(0x137,0xfc);
	dev_spi_write(0x138,0x80);
	dev_spi_write(0x139,0x46);
	dev_spi_write(0x13a,0x30);
	dev_spi_write(0x13b,0x46);
	dev_spi_write(0x13c,0xeb);
	dev_spi_write(0x13d,0xf7);
	dev_spi_write(0x13e,0x85);
	dev_spi_write(0x13f,0xfc);
	dev_spi_write(0x140,0x8);
	dev_spi_write(0x141,0xeb);
	dev_spi_write(0x142,0x88);
	dev_spi_write(0x143,0x8);
	dev_spi_write(0x144,0x5);
	dev_spi_write(0x145,0x21);
	dev_spi_write(0x146,0x10);
	dev_spi_write(0x147,0xfb);
	dev_spi_write(0x148,0x1);
	dev_spi_write(0x149,0xf0);
	dev_spi_write(0x14a,0xc0);
	dev_spi_write(0x14b,0xf3);
	dev_spi_write(0x14c,0x40);
	dev_spi_write(0x14d,0x20);
	dev_spi_write(0x14e,0x0);
	dev_spi_write(0x14f,0xeb);
	dev_spi_write(0x150,0xa8);
	dev_spi_write(0x151,0x20);
	dev_spi_write(0x152,0x39);
	dev_spi_write(0x153,0x78);
	dev_spi_write(0x154,0xa5);
	dev_spi_write(0x155,0xeb);
	dev_spi_write(0x156,0x9);
	dev_spi_write(0x157,0x5);
	dev_spi_write(0x158,0x0);
	dev_spi_write(0x159,0xb2);
	dev_spi_write(0x15a,0x6d);
	dev_spi_write(0x15b,0x18);
	dev_spi_write(0x15c,0xa0);
	dev_spi_write(0x15d,0xeb);
	dev_spi_write(0x15e,0x5);
	dev_spi_write(0x15f,0x10);
	dev_spi_write(0x160,0xa0);
	dev_spi_write(0x161,0xeb);
	dev_spi_write(0x162,0xa);
	dev_spi_write(0x163,0x0);
	dev_spi_write(0x164,0x0);
	dev_spi_write(0x165,0xb2);
	dev_spi_write(0x166,0x41);
	dev_spi_write(0x167,0x42);
	dev_spi_write(0x168,0xc1);
	dev_spi_write(0x169,0xf3);
	dev_spi_write(0x16a,0x80);
	dev_spi_write(0x16b,0x0);
	dev_spi_write(0x16c,0x0);
	dev_spi_write(0x16d,0xeb);
	dev_spi_write(0x16e,0xe1);
	dev_spi_write(0x16f,0x0);
	dev_spi_write(0x170,0x80);
	dev_spi_write(0x171,0xb2);
	dev_spi_write(0x172,0xb0);
	dev_spi_write(0x173,0xf5);
	dev_spi_write(0x174,0x80);
	dev_spi_write(0x175,0x7f);
	dev_spi_write(0x176,0xa8);
	dev_spi_write(0x177,0xbf);
	dev_spi_write(0x178,0xff);
	dev_spi_write(0x179,0x20);
	dev_spi_write(0x17a,0x0);
	dev_spi_write(0x17b,0x2c);
	dev_spi_write(0x17c,0x19);
	dev_spi_write(0x17d,0xbf);
	dev_spi_write(0x17e,0xc8);
	dev_spi_write(0x17f,0x49);
	dev_spi_write(0x180,0x31);
	dev_spi_write(0x181,0xf8);
	dev_spi_write(0x182,0x10);
	dev_spi_write(0x183,0x0);
	dev_spi_write(0x184,0xc7);
	dev_spi_write(0x185,0x49);
	dev_spi_write(0x186,0x31);
	dev_spi_write(0x187,0xf8);
	dev_spi_write(0x188,0x10);
	dev_spi_write(0x189,0x0);
	dev_spi_write(0x18a,0xbd);
	dev_spi_write(0x18b,0xe8);
	dev_spi_write(0x18c,0xf0);
	dev_spi_write(0x18d,0x87);
	dev_spi_write(0x18e,0x2d);
	dev_spi_write(0x18f,0xe9);
	dev_spi_write(0x190,0xf0);
	dev_spi_write(0x191,0x4f);
	dev_spi_write(0x192,0x76);
	dev_spi_write(0x193,0x4e);
	dev_spi_write(0x194,0x4f);
	dev_spi_write(0x195,0xf4);
	dev_spi_write(0x196,0x25);
	dev_spi_write(0x197,0x7c);
	dev_spi_write(0x198,0x82);
	dev_spi_write(0x199,0x46);
	dev_spi_write(0x19a,0xdc);
	dev_spi_write(0x19b,0x24);
	dev_spi_write(0x19c,0x89);
	dev_spi_write(0x19d,0x46);
	dev_spi_write(0x19e,0x1a);
	dev_spi_write(0x19f,0xfb);
	dev_spi_write(0x1a0,0xc);
	dev_spi_write(0x1a1,0xf0);
	dev_spi_write(0x1a2,0x19);
	dev_spi_write(0x1a3,0xfb);
	dev_spi_write(0x1a4,0x4);
	dev_spi_write(0x1a5,0x5);
	dev_spi_write(0x1a6,0xad);
	dev_spi_write(0x1a7,0x19);
	dev_spi_write(0x1a8,0x28);
	dev_spi_write(0x1a9,0x89);
	dev_spi_write(0x1aa,0xad);
	dev_spi_write(0x1ab,0xf1);
	dev_spi_write(0x1ac,0x24);
	dev_spi_write(0x1ad,0xd);
	dev_spi_write(0x1ae,0x2);
	dev_spi_write(0x1af,0x90);
	dev_spi_write(0x1b0,0xe8);
	dev_spi_write(0x1b1,0x88);
	dev_spi_write(0x1b2,0x3);
	dev_spi_write(0x1b3,0x90);
	dev_spi_write(0x1b4,0xa8);
	dev_spi_write(0x1b5,0x89);
	dev_spi_write(0x1b6,0x4);
	dev_spi_write(0x1b7,0x90);
	dev_spi_write(0x1b8,0x95);
	dev_spi_write(0x1b9,0xf8);
	dev_spi_write(0x1ba,0x38);
	dev_spi_write(0x1bb,0x0);
	dev_spi_write(0x1bc,0x95);
	dev_spi_write(0x1bd,0xf8);
	dev_spi_write(0x1be,0x3d);
	dev_spi_write(0x1bf,0x70);
	dev_spi_write(0x1c0,0x5);
	dev_spi_write(0x1c1,0x90);
	dev_spi_write(0x1c2,0x50);
	dev_spi_write(0x1c3,0x46);
	dev_spi_write(0x1c4,0xff);
	dev_spi_write(0x1c5,0xf7);
	dev_spi_write(0x1c6,0x44);
	dev_spi_write(0x1c7,0xff);
	dev_spi_write(0x1c8,0x4f);
	dev_spi_write(0x1c9,0xf0);
	dev_spi_write(0x1ca,0x0);
	dev_spi_write(0x1cb,0x8);
	dev_spi_write(0x1cc,0x6);
	dev_spi_write(0x1cd,0x21);
	dev_spi_write(0x1ce,0x43);
	dev_spi_write(0x1cf,0x46);
	dev_spi_write(0x1d0,0xb5);
	dev_spi_write(0x1d1,0x4a);
	dev_spi_write(0x1d2,0x6);
	dev_spi_write(0x1d3,0x90);
	dev_spi_write(0x1d4,0x1a);
	dev_spi_write(0x1d5,0xfb);
	dev_spi_write(0x1d6,0x1);
	dev_spi_write(0x1d7,0xf1);
	dev_spi_write(0x1d8,0xcd);
	dev_spi_write(0x1d9,0xf8);
	dev_spi_write(0x1da,0x1c);
	dev_spi_write(0x1db,0x80);
	dev_spi_write(0x1dc,0xf);
	dev_spi_write(0x1dd,0x30);
	dev_spi_write(0x1de,0x8);
	dev_spi_write(0x1df,0x93);
	dev_spi_write(0x1e0,0x1);
	dev_spi_write(0x1e1,0xeb);
	dev_spi_write(0x1e2,0x49);
	dev_spi_write(0x1e3,0x1);
	dev_spi_write(0x1e4,0x4f);
	dev_spi_write(0x1e5,0xea);
	dev_spi_write(0x1e6,0x20);
	dev_spi_write(0x1e7,0x1b);
	dev_spi_write(0x1e8,0x2);
	dev_spi_write(0x1e9,0xeb);
	dev_spi_write(0x1ea,0xc1);
	dev_spi_write(0x1eb,0x4);
	dev_spi_write(0x1ec,0xb8);
	dev_spi_write(0x1ed,0xf1);
	dev_spi_write(0x1ee,0x1);
	dev_spi_write(0x1ef,0xf);
	dev_spi_write(0x1f0,0x3f);
	dev_spi_write(0x1f1,0xd1);
	dev_spi_write(0x1f2,0x28);
	dev_spi_write(0x1f3,0x78);
	dev_spi_write(0x1f4,0x95);
	dev_spi_write(0x1f5,0xf8);
	dev_spi_write(0x1f6,0x3c);
	dev_spi_write(0x1f7,0x60);
	dev_spi_write(0x1f8,0xc1);
	dev_spi_write(0x1f9,0x8);
	dev_spi_write(0x1fa,0x13);
	dev_spi_write(0x1fb,0xd3);
	dev_spi_write(0x1fc,0x0);
	dev_spi_write(0x1fd,0x96);
	dev_spi_write(0x1fe,0x7);
	dev_spi_write(0x1ff,0x98);
	dev_spi_write(0x200,0x1);
	dev_spi_write(0x201,0x90);
	dev_spi_write(0x202,0x6);
	dev_spi_write(0x203,0x99);
	dev_spi_write(0x204,0x5);
	dev_spi_write(0x205,0x9a);
	dev_spi_write(0x206,0x3);
	dev_spi_write(0x207,0x98);
	dev_spi_write(0x208,0x3b);
	dev_spi_write(0x209,0x46);
	dev_spi_write(0x20a,0xff);
	dev_spi_write(0x20b,0xf7);
	dev_spi_write(0x20c,0x78);
	dev_spi_write(0x20d,0xff);
	dev_spi_write(0x20e,0x57);
	dev_spi_write(0x20f,0x4b);
	dev_spi_write(0x210,0x3);
	dev_spi_write(0x211,0x90);
	dev_spi_write(0x212,0xdc);
	dev_spi_write(0x213,0x21);
	dev_spi_write(0x214,0x4f);
	dev_spi_write(0x215,0xf4);
	dev_spi_write(0x216,0x25);
	dev_spi_write(0x217,0x70);
	dev_spi_write(0x218,0x1a);
	dev_spi_write(0x219,0xfb);
	dev_spi_write(0x21a,0x0);
	dev_spi_write(0x21b,0xf0);
	dev_spi_write(0x21c,0x19);
	dev_spi_write(0x21d,0xfb);
	dev_spi_write(0x21e,0x1);
	dev_spi_write(0x21f,0x5);
	dev_spi_write(0x220,0xed);
	dev_spi_write(0x221,0x18);
	dev_spi_write(0x222,0x28);
	dev_spi_write(0x223,0x78);
	dev_spi_write(0x224,0x1);
	dev_spi_write(0x225,0x9);
	dev_spi_write(0x226,0x12);
	dev_spi_write(0x227,0xd3);
	dev_spi_write(0x228,0x0);
	dev_spi_write(0x229,0x96);
	dev_spi_write(0x22a,0x8);
	dev_spi_write(0x22b,0x98);
	dev_spi_write(0x22c,0x1);
	dev_spi_write(0x22d,0x90);
	dev_spi_write(0x22e,0x6);
	dev_spi_write(0x22f,0x99);
	dev_spi_write(0x230,0x5);
	dev_spi_write(0x231,0x9a);
	dev_spi_write(0x232,0x2);
	dev_spi_write(0x233,0x98);
	dev_spi_write(0x234,0x3b);
	dev_spi_write(0x235,0x46);
	dev_spi_write(0x236,0xff);
	dev_spi_write(0x237,0xf7);
	dev_spi_write(0x238,0x62);
	dev_spi_write(0x239,0xff);
	dev_spi_write(0x23a,0x4c);
	dev_spi_write(0x23b,0x4b);
	dev_spi_write(0x23c,0x2);
	dev_spi_write(0x23d,0x90);
	dev_spi_write(0x23e,0xdc);
	dev_spi_write(0x23f,0x21);
	dev_spi_write(0x240,0x4f);
	dev_spi_write(0x241,0xf4);
	dev_spi_write(0x242,0x25);
	dev_spi_write(0x243,0x70);
	dev_spi_write(0x244,0x1a);
	dev_spi_write(0x245,0xfb);
	dev_spi_write(0x246,0x0);
	dev_spi_write(0x247,0xf0);
	dev_spi_write(0x248,0x19);
	dev_spi_write(0x249,0xfb);
	dev_spi_write(0x24a,0x1);
	dev_spi_write(0x24b,0x0);
	dev_spi_write(0x24c,0x18);
	dev_spi_write(0x24d,0x5c);
	dev_spi_write(0x24e,0x80);
	dev_spi_write(0x24f,0x9);
	dev_spi_write(0x250,0x9);
	dev_spi_write(0x251,0xd3);
	dev_spi_write(0x252,0x0);
	dev_spi_write(0x253,0x96);
	dev_spi_write(0x254,0x1);
	dev_spi_write(0x255,0x20);
	dev_spi_write(0x256,0x1);
	dev_spi_write(0x257,0x90);
	dev_spi_write(0x258,0x6);
	dev_spi_write(0x259,0x99);
	dev_spi_write(0x25a,0x5);
	dev_spi_write(0x25b,0x9a);
	dev_spi_write(0x25c,0x4);
	dev_spi_write(0x25d,0x98);
	dev_spi_write(0x25e,0x3b);
	dev_spi_write(0x25f,0x46);
	dev_spi_write(0x260,0xff);
	dev_spi_write(0x261,0xf7);
	dev_spi_write(0x262,0x4d);
	dev_spi_write(0x263,0xff);
	dev_spi_write(0x264,0x4);
	dev_spi_write(0x265,0x90);
	dev_spi_write(0x266,0x5e);
	dev_spi_write(0x267,0x44);
	dev_spi_write(0x268,0x76);
	dev_spi_write(0x269,0x1c);
	dev_spi_write(0x26a,0xf7);
	dev_spi_write(0x26b,0xb2);
	dev_spi_write(0x26c,0x40);
	dev_spi_write(0x26d,0x2f);
	dev_spi_write(0x26e,0xa8);
	dev_spi_write(0x26f,0xbf);
	dev_spi_write(0x270,0x3f);
	dev_spi_write(0x271,0x27);
	dev_spi_write(0x272,0x2);
	dev_spi_write(0x273,0x98);
	dev_spi_write(0x274,0x3);
	dev_spi_write(0x275,0x9e);
	dev_spi_write(0x276,0xa7);
	dev_spi_write(0x277,0x71);
	dev_spi_write(0x278,0x8);
	dev_spi_write(0x279,0xf1);
	dev_spi_write(0x27a,0x1);
	dev_spi_write(0x27b,0x8);
	dev_spi_write(0x27c,0x20);
	dev_spi_write(0x27d,0x80);
	dev_spi_write(0x27e,0x4);
	dev_spi_write(0x27f,0x9b);
	dev_spi_write(0x280,0x66);
	dev_spi_write(0x281,0x80);
	dev_spi_write(0x282,0xb8);
	dev_spi_write(0x283,0xf1);
	dev_spi_write(0x284,0x2);
	dev_spi_write(0x285,0xf);
	dev_spi_write(0x286,0xa3);
	dev_spi_write(0x287,0x80);
	dev_spi_write(0x288,0x4);
	dev_spi_write(0x289,0xf1);
	dev_spi_write(0x28a,0x8);
	dev_spi_write(0x28b,0x4);
	dev_spi_write(0x28c,0xae);
	dev_spi_write(0x28d,0xdb);
	dev_spi_write(0x28e,0x9);
	dev_spi_write(0x28f,0xb0);
	dev_spi_write(0x290,0xbd);
	dev_spi_write(0x291,0xe8);
	dev_spi_write(0x292,0xf0);
	dev_spi_write(0x293,0x8f);
	dev_spi_write(0x294,0xf8);
	dev_spi_write(0x295,0xb5);
	dev_spi_write(0x296,0xc9);
	dev_spi_write(0x297,0x4c);
	dev_spi_write(0x298,0x33);
	dev_spi_write(0x299,0x4b);
	dev_spi_write(0x29a,0x8a);
	dev_spi_write(0x29b,0x0);
	dev_spi_write(0x29c,0xc);
	dev_spi_write(0x29d,0x25);
	dev_spi_write(0x29e,0x10);
	dev_spi_write(0x29f,0xfb);
	dev_spi_write(0x2a0,0x5);
	dev_spi_write(0x2a1,0x25);
	dev_spi_write(0x2a2,0x27);
	dev_spi_write(0x2a3,0x78);
	dev_spi_write(0x2a4,0x5b);
	dev_spi_write(0x2a5,0x59);
	dev_spi_write(0x2a6,0x0);
	dev_spi_write(0x2a7,0x26);
	dev_spi_write(0x2a8,0x0);
	dev_spi_write(0x2a9,0x2f);
	dev_spi_write(0x2aa,0x8);
	dev_spi_write(0x2ab,0xbf);
	dev_spi_write(0x2ac,0x35);
	dev_spi_write(0x2ad,0x1c);
	dev_spi_write(0x2ae,0xc);
	dev_spi_write(0x2af,0xd0);
	dev_spi_write(0x2b0,0xd3);
	dev_spi_write(0x2b1,0xf8);
	dev_spi_write(0x2b2,0xe8);
	dev_spi_write(0x2b3,0x45);
	dev_spi_write(0x2b4,0xd3);
	dev_spi_write(0x2b5,0xf8);
	dev_spi_write(0x2b6,0xe8);
	dev_spi_write(0x2b7,0x55);
	dev_spi_write(0x2b8,0xc4);
	dev_spi_write(0x2b9,0xf3);
	dev_spi_write(0x2ba,0x80);
	dev_spi_write(0x2bb,0x14);
	dev_spi_write(0x2bc,0xc5);
	dev_spi_write(0x2bd,0xf3);
	dev_spi_write(0x2be,0x80);
	dev_spi_write(0x2bf,0x15);
	dev_spi_write(0x2c0,0xac);
	dev_spi_write(0x2c1,0x42);
	dev_spi_write(0x2c2,0x18);
	dev_spi_write(0x2c3,0xbf);
	dev_spi_write(0x2c4,0xb7);
	dev_spi_write(0x2c5,0xf1);
	dev_spi_write(0x2c6,0x1);
	dev_spi_write(0x2c7,0x7);
	dev_spi_write(0x2c8,0xf2);
	dev_spi_write(0x2c9,0xd1);
	dev_spi_write(0x2ca,0xbd);
	dev_spi_write(0x2cb,0x4f);
	dev_spi_write(0x2cc,0x3);
	dev_spi_write(0x2cd,0x23);
	dev_spi_write(0x2ce,0x10);
	dev_spi_write(0x2cf,0xfb);
	dev_spi_write(0x2d0,0x3);
	dev_spi_write(0x2d1,0xf3);
	dev_spi_write(0x2d2,0x5c);
	dev_spi_write(0x2d3,0x18);
	dev_spi_write(0x2d4,0xe4);
	dev_spi_write(0x2d5,0x19);
	dev_spi_write(0x2d6,0x27);
	dev_spi_write(0x2d7,0x78);
	dev_spi_write(0x2d8,0xbd);
	dev_spi_write(0x2d9,0x42);
	dev_spi_write(0x2da,0x1c);
	dev_spi_write(0x2db,0xd0);
	dev_spi_write(0x2dc,0xc5);
	dev_spi_write(0x2dd,0x4e);
	dev_spi_write(0x2de,0x37);
	dev_spi_write(0x2df,0x78);
	dev_spi_write(0x2e0,0x1);
	dev_spi_write(0x2e1,0x2f);
	dev_spi_write(0x2e2,0x4f);
	dev_spi_write(0x2e3,0xf0);
	dev_spi_write(0x2e4,0x1);
	dev_spi_write(0x2e5,0x6);
	dev_spi_write(0x2e6,0xd);
	dev_spi_write(0x2e7,0xd0);
	dev_spi_write(0x2e8,0xc3);
	dev_spi_write(0x2e9,0x4f);
	dev_spi_write(0x2ea,0x3f);
	dev_spi_write(0x2eb,0x78);
	dev_spi_write(0x2ec,0x1);
	dev_spi_write(0x2ed,0x2f);
	dev_spi_write(0x2ee,0x11);
	dev_spi_write(0x2ef,0xd1);
	dev_spi_write(0x2f0,0xc2);
	dev_spi_write(0x2f1,0x4f);
	dev_spi_write(0x2f2,0x5);
	dev_spi_write(0x2f3,0xeb);
	dev_spi_write(0x2f4,0x43);
	dev_spi_write(0x2f5,0x3);
	dev_spi_write(0x2f6,0x2);
	dev_spi_write(0x2f7,0xeb);
	dev_spi_write(0x2f8,0x43);
	dev_spi_write(0x2f9,0x2);
	dev_spi_write(0x2fa,0x2b);
	dev_spi_write(0x2fb,0x46);
	dev_spi_write(0x2fc,0xd2);
	dev_spi_write(0x2fd,0x19);
	dev_spi_write(0x2fe,0x0);
	dev_spi_write(0x2ff,0xf0);
	dev_spi_write(0x300,0xdb);
	dev_spi_write(0x301,0xfe);
	dev_spi_write(0x302,0x7);
	dev_spi_write(0x303,0xe0);
	dev_spi_write(0x304,0x68);
	dev_spi_write(0x305,0x4a);
	dev_spi_write(0x306,0x5b);
	dev_spi_write(0x307,0x18);
	dev_spi_write(0x308,0x5);
	dev_spi_write(0x309,0xeb);
	dev_spi_write(0x30a,0x43);
	dev_spi_write(0x30b,0x3);
	dev_spi_write(0x30c,0x2);
	dev_spi_write(0x30d,0xeb);
	dev_spi_write(0x30e,0xc3);
	dev_spi_write(0x30f,0x2);
	dev_spi_write(0x310,0xff);
	dev_spi_write(0x311,0xf7);
	dev_spi_write(0x312,0xd1);
	dev_spi_write(0x313,0xfe);
	dev_spi_write(0x314,0x25);
	dev_spi_write(0x315,0x70);
	dev_spi_write(0x316,0x30);
	dev_spi_write(0x317,0x46);
	dev_spi_write(0x318,0xf8);
	dev_spi_write(0x319,0xbd);
	dev_spi_write(0x31a,0xc0);
	dev_spi_write(0x31b,0x46);
	dev_spi_write(0x31c,0x44);
	dev_spi_write(0x31d,0x27);
	dev_spi_write(0x31e,0x10);
	dev_spi_write(0x31f,0x68);
	dev_spi_write(0x320,0xb4);
	dev_spi_write(0x321,0x48);
	dev_spi_write(0x322,0x2d);
	dev_spi_write(0x323,0xe9);
	dev_spi_write(0x324,0xf0);
	dev_spi_write(0x325,0x4f);
	dev_spi_write(0x326,0x0);
	dev_spi_write(0x327,0x78);
	dev_spi_write(0x328,0xad);
	dev_spi_write(0x329,0xf1);
	dev_spi_write(0x32a,0x34);
	dev_spi_write(0x32b,0xd);
	dev_spi_write(0x32c,0x6);
	dev_spi_write(0x32d,0x90);
	dev_spi_write(0x32e,0x0);
	dev_spi_write(0x32f,0x20);
	dev_spi_write(0x330,0x7);
	dev_spi_write(0x331,0x90);
	dev_spi_write(0x332,0xd);
	dev_spi_write(0x333,0xf1);
	dev_spi_write(0x334,0xf);
	dev_spi_write(0x335,0x7);
	dev_spi_write(0x336,0x8);
	dev_spi_write(0x337,0x90);
	dev_spi_write(0x338,0x84);
	dev_spi_write(0x339,0x46);
	dev_spi_write(0x33a,0x9);
	dev_spi_write(0x33b,0x90);
	dev_spi_write(0x33c,0xa0);
	dev_spi_write(0x33d,0x48);
	dev_spi_write(0x33e,0xa);
	dev_spi_write(0x33f,0x4a);
	dev_spi_write(0x340,0x8);
	dev_spi_write(0x341,0x9b);
	dev_spi_write(0x342,0xc5);
	dev_spi_write(0x343,0x4e);
	dev_spi_write(0x344,0x7);
	dev_spi_write(0x345,0x9c);
	dev_spi_write(0x346,0xc);
	dev_spi_write(0x347,0xeb);
	dev_spi_write(0x348,0x0);
	dev_spi_write(0x349,0x1);
	dev_spi_write(0x34a,0x0);
	dev_spi_write(0x34b,0x25);
	dev_spi_write(0x34c,0x49);
	dev_spi_write(0x34d,0x1e);
	dev_spi_write(0x34e,0x98);
	dev_spi_write(0x34f,0x18);
	dev_spi_write(0x350,0x6);
	dev_spi_write(0x351,0x4b);
	dev_spi_write(0x352,0x5);
	dev_spi_write(0x353,0x91);
	dev_spi_write(0x354,0x66);
	dev_spi_write(0x355,0x44);
	dev_spi_write(0x356,0x29);
	dev_spi_write(0x357,0x46);
	dev_spi_write(0x358,0xa0);
	dev_spi_write(0x359,0xf1);
	dev_spi_write(0x35a,0x4);
	dev_spi_write(0x35b,0xb);
	dev_spi_write(0x35c,0x7);
	dev_spi_write(0x35d,0xf8);
	dev_spi_write(0x35e,0x1);
	dev_spi_write(0x35f,0x1f);
	dev_spi_write(0x360,0xe4);
	dev_spi_write(0x361,0x18);
	dev_spi_write(0x362,0xdc);
	dev_spi_write(0x363,0x3c);
	dev_spi_write(0x364,0x4);
	dev_spi_write(0x365,0xe0);
	dev_spi_write(0x366,0xc0);
	dev_spi_write(0x367,0x46);
	dev_spi_write(0x368,0xa8);
	dev_spi_write(0x369,0x75);
	dev_spi_write(0x36a,0x2);
	dev_spi_write(0x36b,0x0);
	dev_spi_write(0x36c,0xe0);
	dev_spi_write(0x36d,0xab);
	dev_spi_write(0x36e,0x0);
	dev_spi_write(0x36f,0x20);
	dev_spi_write(0x370,0xdc);
	dev_spi_write(0x371,0x34);
	dev_spi_write(0x372,0x5b);
	dev_spi_write(0x373,0xf8);
	dev_spi_write(0x374,0x4);
	dev_spi_write(0x375,0xf);
	dev_spi_write(0x376,0x94);
	dev_spi_write(0x377,0xf8);
	dev_spi_write(0x378,0x3d);
	dev_spi_write(0x379,0x10);
	dev_spi_write(0x37a,0xd0);
	dev_spi_write(0x37b,0xf8);
	dev_spi_write(0x37c,0x98);
	dev_spi_write(0x37d,0xa4);
	dev_spi_write(0x37e,0x5);
	dev_spi_write(0x37f,0x9a);
	dev_spi_write(0x380,0x94);
	dev_spi_write(0x381,0xf8);
	dev_spi_write(0x382,0x38);
	dev_spi_write(0x383,0x30);
	dev_spi_write(0x384,0x94);
	dev_spi_write(0x385,0xf8);
	dev_spi_write(0x386,0x3c);
	dev_spi_write(0x387,0x90);
	dev_spi_write(0x388,0x94);
	dev_spi_write(0x389,0xf8);
	dev_spi_write(0x38a,0x7a);
	dev_spi_write(0x38b,0x80);
	dev_spi_write(0x38c,0xa);
	dev_spi_write(0x38d,0x91);
	dev_spi_write(0x38e,0xff);
	dev_spi_write(0x38f,0x20);
	dev_spi_write(0x390,0xb);
	dev_spi_write(0x391,0x93);
	dev_spi_write(0x392,0x29);
	dev_spi_write(0x393,0x46);
	dev_spi_write(0x394,0x2);
	dev_spi_write(0x395,0xf8);
	dev_spi_write(0x396,0x1);
	dev_spi_write(0x397,0xf);
	dev_spi_write(0x398,0x9);
	dev_spi_write(0x399,0x98);
	dev_spi_write(0x39a,0x5);
	dev_spi_write(0x39b,0x92);
	dev_spi_write(0x39c,0xff);
	dev_spi_write(0x39d,0xf7);
	dev_spi_write(0x39e,0x58);
	dev_spi_write(0x39f,0xfe);
	dev_spi_write(0x3a0,0x6);
	dev_spi_write(0x3a1,0x99);
	dev_spi_write(0x3a2,0xa);
	dev_spi_write(0x3a3,0xf0);
	dev_spi_write(0x3a4,0x1);
	dev_spi_write(0x3a5,0x2);
	dev_spi_write(0x3a6,0x11);
	dev_spi_write(0x3a7,0x40);
	dev_spi_write(0x3a8,0x1);
	dev_spi_write(0x3a9,0x29);
	dev_spi_write(0x3aa,0xd);
	dev_spi_write(0x3ab,0xd1);
	dev_spi_write(0x3ac,0xb8);
	dev_spi_write(0x3ad,0xf1);
	dev_spi_write(0x3ae,0x0);
	dev_spi_write(0x3af,0xf);
	dev_spi_write(0x3b0,0xa);
	dev_spi_write(0x3b1,0xd1);
	dev_spi_write(0x3b2,0xa);
	dev_spi_write(0x3b3,0x9a);
	dev_spi_write(0x3b4,0xb);
	dev_spi_write(0x3b5,0x9b);
	dev_spi_write(0x3b6,0xf);
	dev_spi_write(0x3b7,0x30);
	dev_spi_write(0x3b8,0xa2);
	dev_spi_write(0x3b9,0xeb);
	dev_spi_write(0x3ba,0x9);
	dev_spi_write(0x3bb,0x2);
	dev_spi_write(0x3bc,0x3);
	dev_spi_write(0x3bd,0xeb);
	dev_spi_write(0x3be,0x20);
	dev_spi_write(0x3bf,0x10);
	dev_spi_write(0x3c0,0x90);
	dev_spi_write(0x3c1,0x42);
	dev_spi_write(0x3c2,0xa8);
	dev_spi_write(0x3c3,0xbf);
	dev_spi_write(0x3c4,0x1);
	dev_spi_write(0x3c5,0x20);
	dev_spi_write(0x3c6,0x0);
	dev_spi_write(0x3c7,0xda);
	dev_spi_write(0x3c8,0x0);
	dev_spi_write(0x3c9,0x20);
	dev_spi_write(0x3ca,0x1);
	dev_spi_write(0x3cb,0x29);
	dev_spi_write(0x3cc,0x30);
	dev_spi_write(0x3cd,0x70);
	dev_spi_write(0x3ce,0x4);
	dev_spi_write(0x3cf,0xd1);
	dev_spi_write(0x3d0,0x39);
	dev_spi_write(0x3d1,0x78);
	dev_spi_write(0x3d2,0x1);
	dev_spi_write(0x3d3,0x20);
	dev_spi_write(0x3d4,0xa8);
	dev_spi_write(0x3d5,0x40);
	dev_spi_write(0x3d6,0x8);
	dev_spi_write(0x3d7,0x43);
	dev_spi_write(0x3d8,0x38);
	dev_spi_write(0x3d9,0x70);
	dev_spi_write(0x3da,0x6d);
	dev_spi_write(0x3db,0x1c);
	dev_spi_write(0x3dc,0x76);
	dev_spi_write(0x3dd,0x1c);
	dev_spi_write(0x3de,0x3);
	dev_spi_write(0x3df,0x2d);
	dev_spi_write(0x3e0,0xc6);
	dev_spi_write(0x3e1,0xdb);
	dev_spi_write(0x3e2,0x8);
	dev_spi_write(0x3e3,0x99);
	dev_spi_write(0x3e4,0x9);
	dev_spi_write(0x3e5,0x98);
	dev_spi_write(0x3e6,0x7);
	dev_spi_write(0x3e7,0x9e);
	dev_spi_write(0x3e8,0xc);
	dev_spi_write(0x3e9,0x31);
	dev_spi_write(0x3ea,0xc);
	dev_spi_write(0x3eb,0xf1);
	dev_spi_write(0x3ec,0x3);
	dev_spi_write(0x3ed,0xc);
	dev_spi_write(0x3ee,0x40);
	dev_spi_write(0x3ef,0x1c);
	dev_spi_write(0x3f0,0x8);
	dev_spi_write(0x3f1,0x91);
	dev_spi_write(0x3f2,0x2);
	dev_spi_write(0x3f3,0x28);
	dev_spi_write(0x3f4,0x9);
	dev_spi_write(0x3f5,0x90);
	dev_spi_write(0x3f6,0x6);
	dev_spi_write(0x3f7,0xf5);
	dev_spi_write(0x3f8,0x25);
	dev_spi_write(0x3f9,0x71);
	dev_spi_write(0x3fa,0x7);
	dev_spi_write(0x3fb,0x91);
	dev_spi_write(0x3fc,0x9e);
	dev_spi_write(0x3fd,0xdb);
	dev_spi_write(0x3fe,0x4);
	dev_spi_write(0x3ff,0xa8);
	dev_spi_write(0x400,0xff);
	dev_spi_write(0x401,0xf7);
	dev_spi_write(0x402,0x34);
	dev_spi_write(0x403,0xfe);
	dev_spi_write(0x404,0x0);
	dev_spi_write(0x405,0x26);
	dev_spi_write(0x406,0x4f);
	dev_spi_write(0x407,0xf0);
	dev_spi_write(0x408,0xdc);
	dev_spi_write(0x409,0x9);
	dev_spi_write(0x40a,0x37);
	dev_spi_write(0x40b,0x46);
	dev_spi_write(0x40c,0xdf);
	dev_spi_write(0x40d,0xf8);
	dev_spi_write(0x40e,0x4c);
	dev_spi_write(0x40f,0x82);
	dev_spi_write(0x410,0x91);
	dev_spi_write(0x411,0x4d);
	dev_spi_write(0x412,0x0);
	dev_spi_write(0x413,0x24);
	dev_spi_write(0x414,0xad);
	dev_spi_write(0x415,0x19);
	dev_spi_write(0x416,0x15);
	dev_spi_write(0x417,0xf8);
	dev_spi_write(0x418,0x1);
	dev_spi_write(0x419,0xb);
	dev_spi_write(0x41a,0x18);
	dev_spi_write(0x41b,0xbb);
	dev_spi_write(0x41c,0x1);
	dev_spi_write(0x41d,0x21);
	dev_spi_write(0x41e,0x7);
	dev_spi_write(0x41f,0xeb);
	dev_spi_write(0x420,0x47);
	dev_spi_write(0x421,0x0);
	dev_spi_write(0x422,0x8d);
	dev_spi_write(0x423,0xf8);
	dev_spi_write(0x424,0x1);
	dev_spi_write(0x425,0x10);
	dev_spi_write(0x426,0x0);
	dev_spi_write(0x427,0x19);
	dev_spi_write(0x428,0x9);
	dev_spi_write(0x429,0xfb);
	dev_spi_write(0x42a,0x0);
	dev_spi_write(0x42b,0x80);
	dev_spi_write(0x42c,0xc3);
	dev_spi_write(0x42d,0x88);
	dev_spi_write(0x42e,0x1);
	dev_spi_write(0x42f,0x89);
	dev_spi_write(0x430,0xad);
	dev_spi_write(0x431,0xf8);
	dev_spi_write(0x432,0xa);
	dev_spi_write(0x433,0x30);
	dev_spi_write(0x434,0x83);
	dev_spi_write(0x435,0x89);
	dev_spi_write(0x436,0xad);
	dev_spi_write(0x437,0xf8);
	dev_spi_write(0x438,0x8);
	dev_spi_write(0x439,0x10);
	dev_spi_write(0x43a,0x6a);
	dev_spi_write(0x43b,0x46);
	dev_spi_write(0x43c,0xad);
	dev_spi_write(0x43d,0xf8);
	dev_spi_write(0x43e,0xc);
	dev_spi_write(0x43f,0x30);
	dev_spi_write(0x440,0x90);
	dev_spi_write(0x441,0xf8);
	dev_spi_write(0x442,0x3d);
	dev_spi_write(0x443,0x30);
	dev_spi_write(0x444,0x90);
	dev_spi_write(0x445,0xf8);
	dev_spi_write(0x446,0x38);
	dev_spi_write(0x447,0x0);
	dev_spi_write(0x448,0x8d);
	dev_spi_write(0x449,0xf8);
	dev_spi_write(0x44a,0xe);
	dev_spi_write(0x44b,0x30);
	dev_spi_write(0x44c,0x21);
	dev_spi_write(0x44d,0x46);
	dev_spi_write(0x44e,0x8d);
	dev_spi_write(0x44f,0xf8);
	dev_spi_write(0x450,0x0);
	dev_spi_write(0x451,0x0);
	dev_spi_write(0x452,0x38);
	dev_spi_write(0x453,0x46);
	dev_spi_write(0x454,0xff);
	dev_spi_write(0x455,0xf7);
	dev_spi_write(0x456,0x1c);
	dev_spi_write(0x457,0xfe);
	dev_spi_write(0x458,0x2);
	dev_spi_write(0x459,0xaa);
	dev_spi_write(0x45a,0x38);
	dev_spi_write(0x45b,0x46);
	dev_spi_write(0x45c,0x21);
	dev_spi_write(0x45d,0x46);
	dev_spi_write(0x45e,0xff);
	dev_spi_write(0x45f,0xf7);
	dev_spi_write(0x460,0x2a);
	dev_spi_write(0x461,0xfe);
	dev_spi_write(0x462,0x12);
	dev_spi_write(0x463,0xe0);
	dev_spi_write(0x464,0x38);
	dev_spi_write(0x465,0x46);
	dev_spi_write(0x466,0x21);
	dev_spi_write(0x467,0x46);
	dev_spi_write(0x468,0xff);
	dev_spi_write(0x469,0xf7);
	dev_spi_write(0x46a,0x91);
	dev_spi_write(0x46b,0xfe);
	dev_spi_write(0x46c,0x0);
	dev_spi_write(0x46d,0x20);
	dev_spi_write(0x46e,0x21);
	dev_spi_write(0x46f,0x46);
	dev_spi_write(0x470,0x6a);
	dev_spi_write(0x471,0x46);
	dev_spi_write(0x472,0x8d);
	dev_spi_write(0x473,0xf8);
	dev_spi_write(0x474,0x0);
	dev_spi_write(0x475,0x0);
	dev_spi_write(0x476,0x3);
	dev_spi_write(0x477,0x46);
	dev_spi_write(0x478,0x8d);
	dev_spi_write(0x479,0xf8);
	dev_spi_write(0x47a,0x1);
	dev_spi_write(0x47b,0x30);
	dev_spi_write(0x47c,0x38);
	dev_spi_write(0x47d,0x46);
	dev_spi_write(0x47e,0xff);
	dev_spi_write(0x47f,0xf7);
	dev_spi_write(0x480,0x7);
	dev_spi_write(0x481,0xfe);
	dev_spi_write(0x482,0x38);
	dev_spi_write(0x483,0x46);
	dev_spi_write(0x484,0x21);
	dev_spi_write(0x485,0x46);
	dev_spi_write(0x486,0xff);
	dev_spi_write(0x487,0xf7);
	dev_spi_write(0x488,0x5);
	dev_spi_write(0x489,0xff);
	dev_spi_write(0x48a,0x64);
	dev_spi_write(0x48b,0x1c);
	dev_spi_write(0x48c,0x3);
	dev_spi_write(0x48d,0x2c);
	dev_spi_write(0x48e,0xc2);
	dev_spi_write(0x48f,0xdb);
	dev_spi_write(0x490,0x7f);
	dev_spi_write(0x491,0x1c);
	dev_spi_write(0x492,0xf6);
	dev_spi_write(0x493,0x1c);
	dev_spi_write(0x494,0x2);
	dev_spi_write(0x495,0x2f);
	dev_spi_write(0x496,0xbb);
	dev_spi_write(0x497,0xdb);
	dev_spi_write(0x498,0xd);
	dev_spi_write(0x499,0xb0);
	dev_spi_write(0x49a,0xbd);
	dev_spi_write(0x49b,0xe8);
	dev_spi_write(0x49c,0xf0);
	dev_spi_write(0x49d,0x8f);
	dev_spi_write(0x49e,0xc0);
	dev_spi_write(0x49f,0x46);
	dev_spi_write(0x4a0,0x18);
	dev_spi_write(0x4a1,0x70);
	dev_spi_write(0x4a2,0x2);
	dev_spi_write(0x4a3,0x0);
	dev_spi_write(0x4a4,0x18);
	dev_spi_write(0x4a5,0x6e);
	dev_spi_write(0x4a6,0x2);
	dev_spi_write(0x4a7,0x0);
	dev_spi_write(0x4a8,0x9c);
	dev_spi_write(0x4a9,0x22);
	dev_spi_write(0x4aa,0x1);
	dev_spi_write(0x4ab,0x20);
	dev_spi_write(0x4ac,0x2d);
	dev_spi_write(0x4ad,0xe9);
	dev_spi_write(0x4ae,0xb8);
	dev_spi_write(0x4af,0x41);
	dev_spi_write(0x4b0,0x51);
	dev_spi_write(0x4b1,0x48);
	dev_spi_write(0x4b2,0x6b);
	dev_spi_write(0x4b3,0x4a);
	dev_spi_write(0x4b4,0x77);
	dev_spi_write(0x4b5,0x4c);
	dev_spi_write(0x4b6,0x6b);
	dev_spi_write(0x4b7,0x4d);
	dev_spi_write(0x4b8,0xdf);
	dev_spi_write(0x4b9,0xf8);
	dev_spi_write(0x4ba,0xb0);
	dev_spi_write(0x4bb,0x81);
	dev_spi_write(0x4bc,0x7);
	dev_spi_write(0x4bd,0x78);
	dev_spi_write(0x4be,0x12);
	dev_spi_write(0x4bf,0x78);
	dev_spi_write(0x4c0,0x4c);
	dev_spi_write(0x4c1,0x48);
	dev_spi_write(0x4c2,0x52);
	dev_spi_write(0x4c3,0x8);
	dev_spi_write(0x4c4,0x18);
	dev_spi_write(0x4c5,0xd2);
	dev_spi_write(0x4c6,0x0);
	dev_spi_write(0x4c7,0x21);
	dev_spi_write(0x4c8,0x1);
	dev_spi_write(0x4c9,0x70);
	dev_spi_write(0x4ca,0x5f);
	dev_spi_write(0x4cb,0xb9);
	dev_spi_write(0x4cc,0x4f);
	dev_spi_write(0x4cd,0xf0);
	dev_spi_write(0x4ce,0x0);
	dev_spi_write(0x4cf,0x70);
	dev_spi_write(0x4d0,0x80);
	dev_spi_write(0x4d1,0x34);
	dev_spi_write(0x4d2,0x20);
	dev_spi_write(0x4d3,0x60);
	dev_spi_write(0x4d4,0x66);
	dev_spi_write(0x4d5,0x49);
	dev_spi_write(0x4d6,0xc8);
	dev_spi_write(0x4d7,0xf8);
	dev_spi_write(0x4d8,0x7c);
	dev_spi_write(0x4d9,0x11);
	dev_spi_write(0x4da,0x66);
	dev_spi_write(0x4db,0x4a);
	dev_spi_write(0x4dc,0xc8);
	dev_spi_write(0x4dd,0xf8);
	dev_spi_write(0x4de,0xa0);
	dev_spi_write(0x4df,0x21);
	dev_spi_write(0x4e0,0x61);
	dev_spi_write(0x4e1,0x4f);
	dev_spi_write(0x4e2,0x2f);
	dev_spi_write(0x4e3,0x60);
	dev_spi_write(0x4e4,0x64);
	dev_spi_write(0x4e5,0x48);
	dev_spi_write(0x4e6,0xc8);
	dev_spi_write(0x4e7,0xf8);
	dev_spi_write(0x4e8,0x98);
	dev_spi_write(0x4e9,0x1);
	dev_spi_write(0x4ea,0x64);
	dev_spi_write(0x4eb,0x48);
	dev_spi_write(0x4ec,0xc8);
	dev_spi_write(0x4ed,0xf8);
	dev_spi_write(0x4ee,0xb8);
	dev_spi_write(0x4ef,0x1);
	dev_spi_write(0x4f0,0xff);
	dev_spi_write(0x4f1,0xf7);
	dev_spi_write(0x4f2,0x16);
	dev_spi_write(0x4f3,0xff);
	dev_spi_write(0x4f4,0xbd);
	dev_spi_write(0x4f5,0xe8);
	dev_spi_write(0x4f6,0xb8);
	dev_spi_write(0x4f7,0x81);
	dev_spi_write(0x4f8,0x1);
	dev_spi_write(0x4f9,0x2f);
	dev_spi_write(0x4fa,0x16);
	dev_spi_write(0x4fb,0xd0);
	dev_spi_write(0x4fc,0x1);
	dev_spi_write(0x4fd,0x21);
	dev_spi_write(0x4fe,0x1);
	dev_spi_write(0x4ff,0x70);
	dev_spi_write(0x500,0xff);
	dev_spi_write(0x501,0xf7);
	dev_spi_write(0x502,0xe);
	dev_spi_write(0x503,0xff);
	dev_spi_write(0x504,0x5e);
	dev_spi_write(0x505,0x48);
	dev_spi_write(0x506,0x28);
	dev_spi_write(0x507,0x60);
	dev_spi_write(0x508,0x5f);
	dev_spi_write(0x509,0x4f);
	dev_spi_write(0x50a,0xc8);
	dev_spi_write(0x50b,0xf8);
	dev_spi_write(0x50c,0xa0);
	dev_spi_write(0x50d,0x71);
	dev_spi_write(0x50e,0x5d);
	dev_spi_write(0x50f,0x49);
	dev_spi_write(0x510,0xc8);
	dev_spi_write(0x511,0xf8);
	dev_spi_write(0x512,0x7c);
	dev_spi_write(0x513,0x11);
	dev_spi_write(0x514,0x5d);
	dev_spi_write(0x515,0x4b);
	dev_spi_write(0x516,0xc8);
	dev_spi_write(0x517,0xf8);
	dev_spi_write(0x518,0x98);
	dev_spi_write(0x519,0x31);
	dev_spi_write(0x51a,0x5d);
	dev_spi_write(0x51b,0x4a);
	dev_spi_write(0x51c,0xc8);
	dev_spi_write(0x51d,0xf8);
	dev_spi_write(0x51e,0xb8);
	dev_spi_write(0x51f,0x21);
	dev_spi_write(0x520,0x4f);
	dev_spi_write(0x521,0xf0);
	dev_spi_write(0x522,0x0);
	dev_spi_write(0x523,0x75);
	dev_spi_write(0x524,0x25);
	dev_spi_write(0x525,0x60);
	dev_spi_write(0x526,0xbd);
	dev_spi_write(0x527,0xe8);
	dev_spi_write(0x528,0xb8);
	dev_spi_write(0x529,0x81);
	dev_spi_write(0x52a,0x8);
	dev_spi_write(0x52b,0x20);
	dev_spi_write(0x52c,0x8);
	dev_spi_write(0x52d,0x70);
	dev_spi_write(0x52e,0xbd);
	dev_spi_write(0x52f,0xe8);
	dev_spi_write(0x530,0xb8);
	dev_spi_write(0x531,0x81);
	dev_spi_write(0x532,0x38);
	dev_spi_write(0x533,0xb5);
	dev_spi_write(0x534,0xd);
	dev_spi_write(0x535,0x46);
	dev_spi_write(0x536,0xd2);
	dev_spi_write(0x537,0xf7);
	dev_spi_write(0x538,0xe1);
	dev_spi_write(0x539,0xff);
	dev_spi_write(0x53a,0x2e);
	dev_spi_write(0x53b,0x48);
	dev_spi_write(0x53c,0x48);
	dev_spi_write(0x53d,0x49);
	dev_spi_write(0x53e,0x0);
	dev_spi_write(0x53f,0x78);
	dev_spi_write(0x540,0xc);
	dev_spi_write(0x541,0x78);
	dev_spi_write(0x542,0x1);
	dev_spi_write(0x543,0x28);
	dev_spi_write(0x544,0xa);
	dev_spi_write(0x545,0xd0);
	dev_spi_write(0x546,0x2c);
	dev_spi_write(0x547,0x48);
	dev_spi_write(0x548,0x0);
	dev_spi_write(0x549,0x78);
	dev_spi_write(0x54a,0x1);
	dev_spi_write(0x54b,0x28);
	dev_spi_write(0x54c,0x8);
	dev_spi_write(0x54d,0xd1);
	dev_spi_write(0x54e,0x0);
	dev_spi_write(0x54f,0xf0);
	dev_spi_write(0x550,0xfe);
	dev_spi_write(0x551,0xfd);
	dev_spi_write(0x552,0x20);
	dev_spi_write(0x553,0x46);
	dev_spi_write(0x554,0x29);
	dev_spi_write(0x555,0x46);
	dev_spi_write(0x556,0x0);
	dev_spi_write(0x557,0xf0);
	dev_spi_write(0x558,0xa9);
	dev_spi_write(0x559,0xfe);
	dev_spi_write(0x55a,0x38);
	dev_spi_write(0x55b,0xbd);
	dev_spi_write(0x55c,0xff);
	dev_spi_write(0x55d,0xf7);
	dev_spi_write(0x55e,0xe0);
	dev_spi_write(0x55f,0xfe);
	dev_spi_write(0x560,0x38);
	dev_spi_write(0x561,0xbd);
	dev_spi_write(0x562,0x8);
	dev_spi_write(0x563,0xb5);
	dev_spi_write(0x564,0xd3);
	dev_spi_write(0x565,0xf7);
	dev_spi_write(0x566,0xc0);
	dev_spi_write(0x567,0xfa);
	dev_spi_write(0x568,0xff);
	dev_spi_write(0x569,0xf7);
	dev_spi_write(0x56a,0xda);
	dev_spi_write(0x56b,0xfe);
	dev_spi_write(0x56c,0x8);
	dev_spi_write(0x56d,0xbd);
	dev_spi_write(0x56e,0x8);
	dev_spi_write(0x56f,0xb5);
	dev_spi_write(0x570,0xd3);
	dev_spi_write(0x571,0xf7);
	dev_spi_write(0x572,0x34);
	dev_spi_write(0x573,0xfb);
	dev_spi_write(0x574,0xff);
	dev_spi_write(0x575,0xf7);
	dev_spi_write(0x576,0xd4);
	dev_spi_write(0x577,0xfe);
	dev_spi_write(0x578,0x8);
	dev_spi_write(0x579,0xbd);
	dev_spi_write(0x57a,0xf8);
	dev_spi_write(0x57b,0xb5);
	dev_spi_write(0x57c,0xc);
	dev_spi_write(0x57d,0x46);
	dev_spi_write(0x57e,0xd3);
	dev_spi_write(0x57f,0xf7);
	dev_spi_write(0x580,0xd7);
	dev_spi_write(0x581,0xfc);
	dev_spi_write(0x582,0x4f);
	dev_spi_write(0x583,0xf0);
	dev_spi_write(0x584,0x22);
	dev_spi_write(0x585,0x40);
	dev_spi_write(0x586,0x90);
	dev_spi_write(0x587,0xf8);
	dev_spi_write(0x588,0xb4);
	dev_spi_write(0x589,0xe3);
	dev_spi_write(0x58a,0x43);
	dev_spi_write(0x58b,0x4b);
	dev_spi_write(0x58c,0x90);
	dev_spi_write(0x58d,0xf8);
	dev_spi_write(0x58e,0xb5);
	dev_spi_write(0x58f,0xc3);
	dev_spi_write(0x590,0x1);
	dev_spi_write(0x591,0x25);
	dev_spi_write(0x592,0x8);
	dev_spi_write(0x593,0x22);
	dev_spi_write(0x594,0x0);
	dev_spi_write(0x595,0x20);
	dev_spi_write(0x596,0x1);
	dev_spi_write(0x597,0x46);
	dev_spi_write(0x598,0x5);
	dev_spi_write(0x599,0xfa);
	dev_spi_write(0x59a,0x0);
	dev_spi_write(0x59b,0xf6);
	dev_spi_write(0x59c,0x1e);
	dev_spi_write(0x59d,0xea);
	dev_spi_write(0x59e,0x6);
	dev_spi_write(0x59f,0xf);
	dev_spi_write(0x5a0,0x7);
	dev_spi_write(0x5a1,0xd0);
	dev_spi_write(0x5a2,0xbc);
	dev_spi_write(0x5a3,0xf1);
	dev_spi_write(0x5a4,0x1);
	dev_spi_write(0x5a5,0xf);
	dev_spi_write(0x5a6,0x3);
	dev_spi_write(0x5a7,0xd1);
	dev_spi_write(0x5a8,0x1f);
	dev_spi_write(0x5a9,0x5c);
	dev_spi_write(0x5aa,0x7);
	dev_spi_write(0x5ab,0xb9);
	dev_spi_write(0x5ac,0x22);
	dev_spi_write(0x5ad,0x70);
	dev_spi_write(0x5ae,0x0);
	dev_spi_write(0x5af,0xe0);
	dev_spi_write(0x5b0,0x21);
	dev_spi_write(0x5b1,0x70);
	dev_spi_write(0x5b2,0x40);
	dev_spi_write(0x5b3,0x1c);
	dev_spi_write(0x5b4,0x4);
	dev_spi_write(0x5b5,0x28);
	dev_spi_write(0x5b6,0xef);
	dev_spi_write(0x5b7,0xdb);
	dev_spi_write(0x5b8,0xf8);
	dev_spi_write(0x5b9,0xbd);
	dev_spi_write(0x5ba,0xc0);
	dev_spi_write(0x5bb,0x46);
	dev_spi_write(0x5bc,0x2b);
	dev_spi_write(0x5bd,0x22);
	dev_spi_write(0x5be,0x1);
	dev_spi_write(0x5bf,0x20);
	dev_spi_write(0x5c0,0xa4);
	dev_spi_write(0x5c1,0x23);
	dev_spi_write(0x5c2,0x1);
	dev_spi_write(0x5c3,0x20);
	dev_spi_write(0x5c4,0x38);
	dev_spi_write(0x5c5,0xb5);
	dev_spi_write(0x5c6,0xd);
	dev_spi_write(0x5c7,0x46);
	dev_spi_write(0x5c8,0xd4);
	dev_spi_write(0x5c9,0xf7);
	dev_spi_write(0x5ca,0xbe);
	dev_spi_write(0x5cb,0xf8);
	dev_spi_write(0x5cc,0x9);
	dev_spi_write(0x5cd,0x48);
	dev_spi_write(0x5ce,0x24);
	dev_spi_write(0x5cf,0x49);
	dev_spi_write(0x5d0,0x0);
	dev_spi_write(0x5d1,0x78);
	dev_spi_write(0x5d2,0xc);
	dev_spi_write(0x5d3,0x78);
	dev_spi_write(0x5d4,0x1);
	dev_spi_write(0x5d5,0x28);
	dev_spi_write(0x5d6,0xa);
	dev_spi_write(0x5d7,0xd0);
	dev_spi_write(0x5d8,0x7);
	dev_spi_write(0x5d9,0x48);
	dev_spi_write(0x5da,0x0);
	dev_spi_write(0x5db,0x78);
	dev_spi_write(0x5dc,0x1);
	dev_spi_write(0x5dd,0x28);
	dev_spi_write(0x5de,0x8);
	dev_spi_write(0x5df,0xd1);
	dev_spi_write(0x5e0,0x0);
	dev_spi_write(0x5e1,0xf0);
	dev_spi_write(0x5e2,0xb5);
	dev_spi_write(0x5e3,0xfd);
	dev_spi_write(0x5e4,0x20);
	dev_spi_write(0x5e5,0x46);
	dev_spi_write(0x5e6,0x29);
	dev_spi_write(0x5e7,0x46);
	dev_spi_write(0x5e8,0x0);
	dev_spi_write(0x5e9,0xf0);
	dev_spi_write(0x5ea,0x60);
	dev_spi_write(0x5eb,0xfe);
	dev_spi_write(0x5ec,0x38);
	dev_spi_write(0x5ed,0xbd);
	dev_spi_write(0x5ee,0xff);
	dev_spi_write(0x5ef,0xf7);
	dev_spi_write(0x5f0,0x97);
	dev_spi_write(0x5f1,0xfe);
	dev_spi_write(0x5f2,0x38);
	dev_spi_write(0x5f3,0xbd);
	dev_spi_write(0x5f4,0xce);
	dev_spi_write(0x5f5,0x23);
	dev_spi_write(0x5f6,0x1);
	dev_spi_write(0x5f7,0x20);
	dev_spi_write(0x5f8,0xcc);
	dev_spi_write(0x5f9,0x23);
	dev_spi_write(0x5fa,0x1);
	dev_spi_write(0x5fb,0x20);
	dev_spi_write(0x5fc,0x3c);
	dev_spi_write(0x5fd,0x23);
	dev_spi_write(0x5fe,0x1);
	dev_spi_write(0x5ff,0x20);
	dev_spi_write(0x600,0x2d);
	dev_spi_write(0x601,0xe9);
	dev_spi_write(0x602,0xf0);
	dev_spi_write(0x603,0x47);
	dev_spi_write(0x604,0xdf);
	dev_spi_write(0x605,0xf8);
	dev_spi_write(0x606,0x50);
	dev_spi_write(0x607,0xa0);
	dev_spi_write(0x608,0x4f);
	dev_spi_write(0x609,0xf0);
	dev_spi_write(0x60a,0x0);
	dev_spi_write(0x60b,0x9);
	dev_spi_write(0x60c,0xc8);
	dev_spi_write(0x60d,0x46);
	dev_spi_write(0x60e,0x1e);
	dev_spi_write(0x60f,0xe0);
	dev_spi_write(0x610,0x0);
	dev_spi_write(0x611,0x26);
	dev_spi_write(0x612,0x4f);
	dev_spi_write(0x613,0xf0);
	dev_spi_write(0x614,0x1);
	dev_spi_write(0x615,0x9);
	dev_spi_write(0x616,0x37);
	dev_spi_write(0x617,0x46);
	dev_spi_write(0x618,0x6);
	dev_spi_write(0x619,0xeb);
	dev_spi_write(0x61a,0xa);
	dev_spi_write(0x61b,0x4);
	dev_spi_write(0x61c,0x0);
	dev_spi_write(0x61d,0x25);
	dev_spi_write(0x61e,0x64);
	dev_spi_write(0x61f,0x1e);
	dev_spi_write(0x620,0x14);
	dev_spi_write(0x621,0xf8);
	dev_spi_write(0x622,0x1);
	dev_spi_write(0x623,0xf);
	dev_spi_write(0x624,0x1);
	dev_spi_write(0x625,0x28);
	dev_spi_write(0x626,0x7);
	dev_spi_write(0x627,0xd1);
	dev_spi_write(0x628,0x38);
	dev_spi_write(0x629,0x46);
	dev_spi_write(0x62a,0x29);
	dev_spi_write(0x62b,0x46);
	dev_spi_write(0x62c,0xff);
	dev_spi_write(0x62d,0xf7);
	dev_spi_write(0x62e,0x32);
	dev_spi_write(0x62f,0xfe);
	dev_spi_write(0x630,0x1);
	dev_spi_write(0x631,0x28);
	dev_spi_write(0x632,0x8);
	dev_spi_write(0x633,0xbf);
	dev_spi_write(0x634,0x4f);
	dev_spi_write(0x635,0xf0);
	dev_spi_write(0x636,0x0);
	dev_spi_write(0x637,0x9);
	dev_spi_write(0x638,0x6d);
	dev_spi_write(0x639,0x1c);
	dev_spi_write(0x63a,0x3);
	dev_spi_write(0x63b,0x2d);
	dev_spi_write(0x63c,0xf0);
	dev_spi_write(0x63d,0xdb);
	dev_spi_write(0x63e,0x7f);
	dev_spi_write(0x63f,0x1c);
	dev_spi_write(0x640,0xf6);
	dev_spi_write(0x641,0x1c);
	dev_spi_write(0x642,0x2);
	dev_spi_write(0x643,0x2f);
	dev_spi_write(0x644,0xe8);
	dev_spi_write(0x645,0xdb);
	dev_spi_write(0x646,0x8);
	dev_spi_write(0x647,0xf1);
	dev_spi_write(0x648,0x1);
	dev_spi_write(0x649,0x0);
	dev_spi_write(0x64a,0x5f);
	dev_spi_write(0x64b,0xfa);
	dev_spi_write(0x64c,0x80);
	dev_spi_write(0x64d,0xf8);
	dev_spi_write(0x64e,0x58);
	dev_spi_write(0x64f,0xea);
	dev_spi_write(0x650,0x9);
	dev_spi_write(0x651,0x0);
	dev_spi_write(0x652,0xdd);
	dev_spi_write(0x653,0xd0);
	dev_spi_write(0x654,0xbd);
	dev_spi_write(0x655,0xe8);
	dev_spi_write(0x656,0xf0);
	dev_spi_write(0x657,0x87);
	dev_spi_write(0x658,0x9c);
	dev_spi_write(0x659,0x23);
	dev_spi_write(0x65a,0x1);
	dev_spi_write(0x65b,0x20);
	dev_spi_write(0x65c,0xe0);
	dev_spi_write(0x65d,0xab);
	dev_spi_write(0x65e,0x0);
	dev_spi_write(0x65f,0x20);
	dev_spi_write(0x660,0xb4);
	dev_spi_write(0x661,0x3);
	dev_spi_write(0x662,0x0);
	dev_spi_write(0x663,0xa2);
	dev_spi_write(0x664,0x68);
	dev_spi_write(0x665,0xda);
	dev_spi_write(0x666,0x0);
	dev_spi_write(0x667,0x20);
	dev_spi_write(0x668,0x2b);
	dev_spi_write(0x669,0xfd);
	dev_spi_write(0x66a,0x1);
	dev_spi_write(0x66b,0x0);
	dev_spi_write(0x66c,0xd4);
	dev_spi_write(0x66d,0xf7);
	dev_spi_write(0x66e,0x0);
	dev_spi_write(0x66f,0x20);
	dev_spi_write(0x670,0xdd);
	dev_spi_write(0x671,0x34);
	dev_spi_write(0x672,0x0);
	dev_spi_write(0x673,0x0);
	dev_spi_write(0x674,0x29);
	dev_spi_write(0x675,0x47);
	dev_spi_write(0x676,0x0);
	dev_spi_write(0x677,0x0);
	dev_spi_write(0x678,0xbd);
	dev_spi_write(0x679,0x3b);
	dev_spi_write(0x67a,0x0);
	dev_spi_write(0x67b,0x0);
	dev_spi_write(0x67c,0xc9);
	dev_spi_write(0x67d,0x3a);
	dev_spi_write(0x67e,0x0);
	dev_spi_write(0x67f,0x0);
	dev_spi_write(0x680,0xe1);
	dev_spi_write(0x681,0x5);
	dev_spi_write(0x682,0x3);
	dev_spi_write(0x683,0x0);
	dev_spi_write(0x684,0x13);
	dev_spi_write(0x685,0x5);
	dev_spi_write(0x686,0x3);
	dev_spi_write(0x687,0x0);
	dev_spi_write(0x688,0xa5);
	dev_spi_write(0x689,0x5);
	dev_spi_write(0x68a,0x3);
	dev_spi_write(0x68b,0x0);
	dev_spi_write(0x68c,0x4f);
	dev_spi_write(0x68d,0x5);
	dev_spi_write(0x68e,0x3);
	dev_spi_write(0x68f,0x0);
	dev_spi_write(0x690,0x43);
	dev_spi_write(0x691,0x5);
	dev_spi_write(0x692,0x3);
	dev_spi_write(0x693,0x0);
	dev_spi_write(0x694,0x0);
	dev_spi_write(0x695,0xe1);
	dev_spi_write(0x696,0x0);
	dev_spi_write(0x697,0xe0);
	dev_spi_write(0x698,0x22);
	dev_spi_write(0x699,0x2);
	dev_spi_write(0x69a,0x1);
	dev_spi_write(0x69b,0x20);
	dev_spi_write(0x69c,0x2d);
	dev_spi_write(0x69d,0xe9);
	dev_spi_write(0x69e,0xf8);
	dev_spi_write(0x69f,0x4f);
	dev_spi_write(0x6a0,0xd2);
	dev_spi_write(0x6a1,0xf7);
	dev_spi_write(0x6a2,0xb0);
	dev_spi_write(0x6a3,0xff);
	dev_spi_write(0x6a4,0x4f);
	dev_spi_write(0x6a5,0xf0);
	dev_spi_write(0x6a6,0xdc);
	dev_spi_write(0x6a7,0xa);
	dev_spi_write(0x6a8,0x0);
	dev_spi_write(0x6a9,0x25);
	dev_spi_write(0x6aa,0x4f);
	dev_spi_write(0x6ab,0xf0);
	dev_spi_write(0x6ac,0x22);
	dev_spi_write(0x6ad,0x41);
	dev_spi_write(0x6ae,0x91);
	dev_spi_write(0x6af,0xf8);
	dev_spi_write(0x6b0,0xb4);
	dev_spi_write(0x6b1,0x3);
	dev_spi_write(0x6b2,0x91);
	dev_spi_write(0x6b3,0xf8);
	dev_spi_write(0x6b4,0xb6);
	dev_spi_write(0x6b5,0x93);
	dev_spi_write(0x6b6,0x0);
	dev_spi_write(0x6b7,0x90);
	dev_spi_write(0x6b8,0x91);
	dev_spi_write(0x6b9,0xf8);
	dev_spi_write(0x6ba,0xb7);
	dev_spi_write(0x6bb,0x83);
	dev_spi_write(0x6bc,0x91);
	dev_spi_write(0x6bd,0xf8);
	dev_spi_write(0x6be,0xb8);
	dev_spi_write(0x6bf,0xc3);
	dev_spi_write(0x6c0,0x91);
	dev_spi_write(0x6c1,0xf8);
	dev_spi_write(0x6c2,0xb9);
	dev_spi_write(0x6c3,0x43);
	dev_spi_write(0x6c4,0x91);
	dev_spi_write(0x6c5,0xf8);
	dev_spi_write(0x6c6,0xba);
	dev_spi_write(0x6c7,0x33);
	dev_spi_write(0x6c8,0x91);
	dev_spi_write(0x6c9,0xf8);
	dev_spi_write(0x6ca,0xbb);
	dev_spi_write(0x6cb,0xe3);
	dev_spi_write(0x6cc,0x0);
	dev_spi_write(0x6cd,0x99);
	dev_spi_write(0x6ce,0x1);
	dev_spi_write(0x6cf,0x20);
	dev_spi_write(0x6d0,0xa8);
	dev_spi_write(0x6d1,0x40);
	dev_spi_write(0x6d2,0x1);
	dev_spi_write(0x6d3,0x42);
	dev_spi_write(0x6d4,0x0);
	dev_spi_write(0x6d5,0xf0);
	dev_spi_write(0x6d6,0xbe);
	dev_spi_write(0x6d7,0x80);
	dev_spi_write(0x6d8,0xbe);
	dev_spi_write(0x6d9,0x4f);
	dev_spi_write(0x6da,0x6a);
	dev_spi_write(0x6db,0x10);
	dev_spi_write(0x6dc,0x5);
	dev_spi_write(0x6dd,0xf0);
	dev_spi_write(0x6de,0x1);
	dev_spi_write(0x6df,0x1);
	dev_spi_write(0x6e0,0x2);
	dev_spi_write(0x6e1,0xeb);
	dev_spi_write(0x6e2,0x42);
	dev_spi_write(0x6e3,0x0);
	dev_spi_write(0x6e4,0x40);
	dev_spi_write(0x6e5,0x18);
	dev_spi_write(0x6e6,0xc0);
	dev_spi_write(0x6e7,0x19);
	dev_spi_write(0x6e8,0x90);
	dev_spi_write(0x6e9,0xf9);
	dev_spi_write(0x6ea,0x1);
	dev_spi_write(0x6eb,0x0);
	dev_spi_write(0x6ec,0x7f);
	dev_spi_write(0x6ed,0x28);
	dev_spi_write(0x6ee,0x0);
	dev_spi_write(0x6ef,0xf0);
	dev_spi_write(0x6f0,0xb1);
	dev_spi_write(0x6f1,0x80);
	dev_spi_write(0x6f2,0xb9);
	dev_spi_write(0x6f3,0x49);
	dev_spi_write(0x6f4,0xd0);
	dev_spi_write(0x6f5,0x4f);
	dev_spi_write(0x6f6,0xe);
	dev_spi_write(0x6f7,0x78);
	dev_spi_write(0x6f8,0x9);
	dev_spi_write(0x6f9,0xeb);
	dev_spi_write(0x6fa,0x40);
	dev_spi_write(0x6fb,0x9);
	dev_spi_write(0x6fc,0xb9);
	dev_spi_write(0x6fd,0xf5);
	dev_spi_write(0x6fe,0x80);
	dev_spi_write(0x6ff,0x7f);
	dev_spi_write(0x700,0x7);
	dev_spi_write(0x701,0xeb);
	dev_spi_write(0x702,0x45);
	dev_spi_write(0x703,0x1);
	dev_spi_write(0x704,0x7);
	dev_spi_write(0x705,0xda);
	dev_spi_write(0x706,0xb9);
	dev_spi_write(0x707,0xf1);
	dev_spi_write(0x708,0x0);
	dev_spi_write(0x709,0xf);
	dev_spi_write(0x70a,0x54);
	dev_spi_write(0x70b,0xbf);
	dev_spi_write(0x70c,0x5f);
	dev_spi_write(0x70d,0xfa);
	dev_spi_write(0x70e,0x89);
	dev_spi_write(0x70f,0xf9);
	dev_spi_write(0x710,0x4f);
	dev_spi_write(0x711,0xf0);
	dev_spi_write(0x712,0x0);
	dev_spi_write(0x713,0x9);
	dev_spi_write(0x714,0x1);
	dev_spi_write(0x715,0xe0);
	dev_spi_write(0x716,0x4f);
	dev_spi_write(0x717,0xf0);
	dev_spi_write(0x718,0xff);
	dev_spi_write(0x719,0x9);
	dev_spi_write(0x71a,0x40);
	dev_spi_write(0x71b,0x0);
	dev_spi_write(0x71c,0x0);
	dev_spi_write(0x71d,0xeb);
	dev_spi_write(0x71e,0x8);
	dev_spi_write(0x71f,0x7);
	dev_spi_write(0x720,0xb7);
	dev_spi_write(0x721,0xf5);
	dev_spi_write(0x722,0x80);
	dev_spi_write(0x723,0x7f);
	dev_spi_write(0x724,0x6);
	dev_spi_write(0x725,0xda);
	dev_spi_write(0x726,0x0);
	dev_spi_write(0x727,0x2f);
	dev_spi_write(0x728,0x54);
	dev_spi_write(0x729,0xbf);
	dev_spi_write(0x72a,0x5f);
	dev_spi_write(0x72b,0xfa);
	dev_spi_write(0x72c,0x87);
	dev_spi_write(0x72d,0xf8);
	dev_spi_write(0x72e,0x4f);
	dev_spi_write(0x72f,0xf0);
	dev_spi_write(0x730,0x0);
	dev_spi_write(0x731,0x8);
	dev_spi_write(0x732,0x1);
	dev_spi_write(0x733,0xe0);
	dev_spi_write(0x734,0x4f);
	dev_spi_write(0x735,0xf0);
	dev_spi_write(0x736,0xff);
	dev_spi_write(0x737,0x8);
	dev_spi_write(0x738,0x0);
	dev_spi_write(0x739,0xeb);
	dev_spi_write(0x73a,0xc);
	dev_spi_write(0x73b,0x7);
	dev_spi_write(0x73c,0xb7);
	dev_spi_write(0x73d,0xf5);
	dev_spi_write(0x73e,0x80);
	dev_spi_write(0x73f,0x7f);
	dev_spi_write(0x740,0x6);
	dev_spi_write(0x741,0xda);
	dev_spi_write(0x742,0x0);
	dev_spi_write(0x743,0x2f);
	dev_spi_write(0x744,0x54);
	dev_spi_write(0x745,0xbf);
	dev_spi_write(0x746,0x5f);
	dev_spi_write(0x747,0xfa);
	dev_spi_write(0x748,0x87);
	dev_spi_write(0x749,0xfc);
	dev_spi_write(0x74a,0x4f);
	dev_spi_write(0x74b,0xf0);
	dev_spi_write(0x74c,0x0);
	dev_spi_write(0x74d,0xc);
	dev_spi_write(0x74e,0x1);
	dev_spi_write(0x74f,0xe0);
	dev_spi_write(0x750,0x4f);
	dev_spi_write(0x751,0xf0);
	dev_spi_write(0x752,0xff);
	dev_spi_write(0x753,0xc);
	dev_spi_write(0x754,0x4);
	dev_spi_write(0x755,0x19);
	dev_spi_write(0x756,0xb4);
	dev_spi_write(0x757,0xf5);
	dev_spi_write(0x758,0x80);
	dev_spi_write(0x759,0x7f);
	dev_spi_write(0x75a,0x4);
	dev_spi_write(0x75b,0xda);
	dev_spi_write(0x75c,0x0);
	dev_spi_write(0x75d,0x2c);
	dev_spi_write(0x75e,0x54);
	dev_spi_write(0x75f,0xbf);
	dev_spi_write(0x760,0xe4);
	dev_spi_write(0x761,0xb2);
	dev_spi_write(0x762,0x0);
	dev_spi_write(0x763,0x24);
	dev_spi_write(0x764,0x0);
	dev_spi_write(0x765,0xe0);
	dev_spi_write(0x766,0xff);
	dev_spi_write(0x767,0x24);
	dev_spi_write(0x768,0xc3);
	dev_spi_write(0x769,0x18);
	dev_spi_write(0x76a,0xb3);
	dev_spi_write(0x76b,0xf5);
	dev_spi_write(0x76c,0x80);
	dev_spi_write(0x76d,0x7f);
	dev_spi_write(0x76e,0x4);
	dev_spi_write(0x76f,0xda);
	dev_spi_write(0x770,0x0);
	dev_spi_write(0x771,0x2b);
	dev_spi_write(0x772,0x54);
	dev_spi_write(0x773,0xbf);
	dev_spi_write(0x774,0xdb);
	dev_spi_write(0x775,0xb2);
	dev_spi_write(0x776,0x0);
	dev_spi_write(0x777,0x23);
	dev_spi_write(0x778,0x0);
	dev_spi_write(0x779,0xe0);
	dev_spi_write(0x77a,0xff);
	dev_spi_write(0x77b,0x23);
	dev_spi_write(0x77c,0x70);
	dev_spi_write(0x77d,0x44);
	dev_spi_write(0x77e,0xb0);
	dev_spi_write(0x77f,0xf5);
	dev_spi_write(0x780,0x80);
	dev_spi_write(0x781,0x7f);
	dev_spi_write(0x782,0x6);
	dev_spi_write(0x783,0xda);
	dev_spi_write(0x784,0x0);
	dev_spi_write(0x785,0x28);
	dev_spi_write(0x786,0x54);
	dev_spi_write(0x787,0xbf);
	dev_spi_write(0x788,0x5f);
	dev_spi_write(0x789,0xfa);
	dev_spi_write(0x78a,0x80);
	dev_spi_write(0x78b,0xfe);
	dev_spi_write(0x78c,0x4f);
	dev_spi_write(0x78d,0xf0);
	dev_spi_write(0x78e,0x0);
	dev_spi_write(0x78f,0xe);
	dev_spi_write(0x790,0x1);
	dev_spi_write(0x791,0xe0);
	dev_spi_write(0x792,0x4f);
	dev_spi_write(0x793,0xf0);
	dev_spi_write(0x794,0xff);
	dev_spi_write(0x795,0xe);
	dev_spi_write(0x796,0x8);
	dev_spi_write(0x797,0x78);
	dev_spi_write(0x798,0x4);
	dev_spi_write(0x799,0x28);
	dev_spi_write(0x79a,0x5b);
	dev_spi_write(0x79b,0xd0);
	dev_spi_write(0x79c,0xb1);
	dev_spi_write(0x79d,0x8);
	dev_spi_write(0x79e,0xd);
	dev_spi_write(0x79f,0xd3);
	dev_spi_write(0x7a0,0xba);
	dev_spi_write(0x7a1,0x49);
	dev_spi_write(0x7a2,0x31);
	dev_spi_write(0x7a3,0xf8);
	dev_spi_write(0x7a4,0x19);
	dev_spi_write(0x7a5,0x10);
	dev_spi_write(0x7a6,0x57);
	dev_spi_write(0x7a7,0x46);
	dev_spi_write(0x7a8,0x4f);
	dev_spi_write(0x7a9,0xf4);
	dev_spi_write(0x7aa,0x25);
	dev_spi_write(0x7ab,0x7b);
	dev_spi_write(0x7ac,0x10);
	dev_spi_write(0x7ad,0xfb);
	dev_spi_write(0x7ae,0x7);
	dev_spi_write(0x7af,0xf7);
	dev_spi_write(0x7b0,0xb);
	dev_spi_write(0x7b1,0xfb);
	dev_spi_write(0x7b2,0x2);
	dev_spi_write(0x7b3,0x77);
	dev_spi_write(0x7b4,0xdf);
	dev_spi_write(0x7b5,0xf8);
	dev_spi_write(0x7b6,0xd0);
	dev_spi_write(0x7b7,0xb2);
	dev_spi_write(0x7b8,0x2b);
	dev_spi_write(0x7b9,0xf8);
	dev_spi_write(0x7ba,0x7);
	dev_spi_write(0x7bb,0x10);
	dev_spi_write(0x7bc,0xf1);
	dev_spi_write(0x7bd,0x8);
	dev_spi_write(0x7be,0xd);
	dev_spi_write(0x7bf,0xd3);
	dev_spi_write(0x7c0,0xb2);
	dev_spi_write(0x7c1,0x49);
	dev_spi_write(0x7c2,0x31);
	dev_spi_write(0x7c3,0xf8);
	dev_spi_write(0x7c4,0x18);
	dev_spi_write(0x7c5,0x10);
	dev_spi_write(0x7c6,0x57);
	dev_spi_write(0x7c7,0x46);
	dev_spi_write(0x7c8,0x4f);
	dev_spi_write(0x7c9,0xf4);
	dev_spi_write(0x7ca,0x25);
	dev_spi_write(0x7cb,0x7b);
	dev_spi_write(0x7cc,0x10);
	dev_spi_write(0x7cd,0xfb);
	dev_spi_write(0x7ce,0x7);
	dev_spi_write(0x7cf,0xf7);
	dev_spi_write(0x7d0,0xb);
	dev_spi_write(0x7d1,0xfb);
	dev_spi_write(0x7d2,0x2);
	dev_spi_write(0x7d3,0x77);
	dev_spi_write(0x7d4,0xdf);
	dev_spi_write(0x7d5,0xf8);
	dev_spi_write(0x7d6,0xb8);
	dev_spi_write(0x7d7,0xb2);
	dev_spi_write(0x7d8,0x2b);
	dev_spi_write(0x7d9,0xf8);
	dev_spi_write(0x7da,0x7);
	dev_spi_write(0x7db,0x10);
	dev_spi_write(0x7dc,0x31);
	dev_spi_write(0x7dd,0x9);
	dev_spi_write(0x7de,0xd);
	dev_spi_write(0x7df,0xd3);
	dev_spi_write(0x7e0,0xaa);
	dev_spi_write(0x7e1,0x49);
	dev_spi_write(0x7e2,0x31);
	dev_spi_write(0x7e3,0xf8);
	dev_spi_write(0x7e4,0x1c);
	dev_spi_write(0x7e5,0x10);
	dev_spi_write(0x7e6,0x57);
	dev_spi_write(0x7e7,0x46);
	dev_spi_write(0x7e8,0x4f);
	dev_spi_write(0x7e9,0xf4);
	dev_spi_write(0x7ea,0x25);
	dev_spi_write(0x7eb,0x7b);
	dev_spi_write(0x7ec,0x10);
	dev_spi_write(0x7ed,0xfb);
	dev_spi_write(0x7ee,0x7);
	dev_spi_write(0x7ef,0xf7);
	dev_spi_write(0x7f0,0xb);
	dev_spi_write(0x7f1,0xfb);
	dev_spi_write(0x7f2,0x2);
	dev_spi_write(0x7f3,0x77);
	dev_spi_write(0x7f4,0xdf);
	dev_spi_write(0x7f5,0xf8);
	dev_spi_write(0x7f6,0x9c);
	dev_spi_write(0x7f7,0xb2);
	dev_spi_write(0x7f8,0x2b);
	dev_spi_write(0x7f9,0xf8);
	dev_spi_write(0x7fa,0x7);
	dev_spi_write(0x7fb,0x10);
	dev_spi_write(0x7fc,0x71);
	dev_spi_write(0x7fd,0x9);
	dev_spi_write(0x7fe,0xd);
	dev_spi_write(0x7ff,0xd3);
	dev_spi_write(0x800,0xa2);
	dev_spi_write(0x801,0x49);
	dev_spi_write(0x802,0x31);
	dev_spi_write(0x803,0xf8);
	dev_spi_write(0x804,0x14);
	dev_spi_write(0x805,0x10);
	dev_spi_write(0x806,0x57);
	dev_spi_write(0x807,0x46);
	dev_spi_write(0x808,0x4f);
	dev_spi_write(0x809,0xf4);
	dev_spi_write(0x80a,0x25);
	dev_spi_write(0x80b,0x7b);
	dev_spi_write(0x80c,0x10);
	dev_spi_write(0x80d,0xfb);
	dev_spi_write(0x80e,0x7);
	dev_spi_write(0x80f,0xf7);
	dev_spi_write(0x810,0xb);
	dev_spi_write(0x811,0xfb);
	dev_spi_write(0x812,0x2);
	dev_spi_write(0x813,0x77);
	dev_spi_write(0x814,0xdf);
	dev_spi_write(0x815,0xf8);
	dev_spi_write(0x816,0x80);
	dev_spi_write(0x817,0xb2);
	dev_spi_write(0x818,0x2b);
	dev_spi_write(0x819,0xf8);
	dev_spi_write(0x81a,0x7);
	dev_spi_write(0x81b,0x10);
	dev_spi_write(0x81c,0xb1);
	dev_spi_write(0x81d,0x9);
	dev_spi_write(0x81e,0xc);
	dev_spi_write(0x81f,0xd3);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 2397 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 2397 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x0);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 2409 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 2409 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 2410 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x9f);
	dev_spi_write(0x21,0x49);
	dev_spi_write(0x22,0x31);
	dev_spi_write(0x23,0xf8);
	dev_spi_write(0x24,0x13);
	dev_spi_write(0x25,0x10);
	dev_spi_write(0x26,0x10);
	dev_spi_write(0x27,0xfb);
	dev_spi_write(0x28,0xa);
	dev_spi_write(0x29,0xf7);
	dev_spi_write(0x2a,0x4f);
	dev_spi_write(0x2b,0xf4);
	dev_spi_write(0x2c,0x25);
	dev_spi_write(0x2d,0x7b);
	dev_spi_write(0x2e,0xb);
	dev_spi_write(0x2f,0xfb);
	dev_spi_write(0x30,0x2);
	dev_spi_write(0x31,0x77);
	dev_spi_write(0x32,0xdf);
	dev_spi_write(0x33,0xf8);
	dev_spi_write(0x34,0x68);
	dev_spi_write(0x35,0xb2);
	dev_spi_write(0x36,0x2b);
	dev_spi_write(0x37,0xf8);
	dev_spi_write(0x38,0x7);
	dev_spi_write(0x39,0x10);
	dev_spi_write(0x3a,0xf1);
	dev_spi_write(0x3b,0x9);
	dev_spi_write(0x3c,0xa);
	dev_spi_write(0x3d,0xd3);
	dev_spi_write(0x3e,0x98);
	dev_spi_write(0x3f,0x49);
	dev_spi_write(0x40,0x98);
	dev_spi_write(0x41,0x4f);
	dev_spi_write(0x42,0x31);
	dev_spi_write(0x43,0xf8);
	dev_spi_write(0x44,0x1e);
	dev_spi_write(0x45,0x10);
	dev_spi_write(0x46,0x10);
	dev_spi_write(0x47,0xfb);
	dev_spi_write(0x48,0xa);
	dev_spi_write(0x49,0xf0);
	dev_spi_write(0x4a,0x4f);
	dev_spi_write(0x4b,0xf4);
	dev_spi_write(0x4c,0x25);
	dev_spi_write(0x4d,0x76);
	dev_spi_write(0x4e,0x6);
	dev_spi_write(0x4f,0xfb);
	dev_spi_write(0x50,0x2);
	dev_spi_write(0x51,0x0);
	dev_spi_write(0x52,0x39);
	dev_spi_write(0x53,0x52);
	dev_spi_write(0x54,0x6d);
	dev_spi_write(0x55,0x1c);
	dev_spi_write(0x56,0x4);
	dev_spi_write(0x57,0x2d);
	dev_spi_write(0x58,0xff);
	dev_spi_write(0x59,0xf6);
	dev_spi_write(0x5a,0x38);
	dev_spi_write(0x5b,0xaf);
	dev_spi_write(0x5c,0x4f);
	dev_spi_write(0x5d,0xf4);
	dev_spi_write(0x5e,0x25);
	dev_spi_write(0x5f,0x7b);
	dev_spi_write(0x60,0x0);
	dev_spi_write(0x61,0x20);
	dev_spi_write(0x62,0x0);
	dev_spi_write(0x63,0x9f);
	dev_spi_write(0x64,0x2);
	dev_spi_write(0x65,0x1d);
	dev_spi_write(0x66,0x1);
	dev_spi_write(0x67,0x21);
	dev_spi_write(0x68,0x91);
	dev_spi_write(0x69,0x40);
	dev_spi_write(0x6a,0xf);
	dev_spi_write(0x6b,0x42);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x6d,0xf0);
	dev_spi_write(0x6e,0xab);
	dev_spi_write(0x6f,0x80);
	dev_spi_write(0x70,0xcd);
	dev_spi_write(0x71,0x49);
	dev_spi_write(0x72,0xf);
	dev_spi_write(0x73,0x5c);
	dev_spi_write(0x74,0x0);
	dev_spi_write(0x75,0x2f);
	dev_spi_write(0x76,0x40);
	dev_spi_write(0x77,0xf0);
	dev_spi_write(0x78,0xa6);
	dev_spi_write(0x79,0x80);
	dev_spi_write(0x7a,0x56);
	dev_spi_write(0x7b,0x4a);
	dev_spi_write(0x7c,0x0);
	dev_spi_write(0x7d,0xeb);
	dev_spi_write(0x7e,0x40);
	dev_spi_write(0x7f,0x1);
	dev_spi_write(0x80,0x51);
	dev_spi_write(0x81,0x56);
	dev_spi_write(0x82,0x7f);
	dev_spi_write(0x83,0x29);
	dev_spi_write(0x84,0x0);
	dev_spi_write(0x85,0xf0);
	dev_spi_write(0x86,0x9f);
	dev_spi_write(0x87,0x80);
	dev_spi_write(0x88,0x53);
	dev_spi_write(0x89,0x4a);
	dev_spi_write(0x8a,0xcf);
	dev_spi_write(0x8b,0x4f);
	dev_spi_write(0x8c,0x15);
	dev_spi_write(0x8d,0x78);
	dev_spi_write(0x8e,0x9);
	dev_spi_write(0x8f,0xeb);
	dev_spi_write(0x90,0x41);
	dev_spi_write(0x91,0x9);
	dev_spi_write(0x92,0xb9);
	dev_spi_write(0x93,0xf5);
	dev_spi_write(0x94,0x80);
	dev_spi_write(0x95,0x7f);
	dev_spi_write(0x96,0x7);
	dev_spi_write(0x97,0xeb);
	dev_spi_write(0x98,0x40);
	dev_spi_write(0x99,0x2);
	dev_spi_write(0x9a,0x7);
	dev_spi_write(0x9b,0xda);
	dev_spi_write(0x9c,0xb9);
	dev_spi_write(0x9d,0xf1);
	dev_spi_write(0x9e,0x0);
	dev_spi_write(0x9f,0xf);
	dev_spi_write(0xa0,0x54);
	dev_spi_write(0xa1,0xbf);
	dev_spi_write(0xa2,0x5f);
	dev_spi_write(0xa3,0xfa);
	dev_spi_write(0xa4,0x89);
	dev_spi_write(0xa5,0xf9);
	dev_spi_write(0xa6,0x4f);
	dev_spi_write(0xa7,0xf0);
	dev_spi_write(0xa8,0x0);
	dev_spi_write(0xa9,0x9);
	dev_spi_write(0xaa,0x1);
	dev_spi_write(0xab,0xe0);
	dev_spi_write(0xac,0x4f);
	dev_spi_write(0xad,0xf0);
	dev_spi_write(0xae,0xff);
	dev_spi_write(0xaf,0x9);
	dev_spi_write(0xb0,0x49);
	dev_spi_write(0xb1,0x0);
	dev_spi_write(0xb2,0x1);
	dev_spi_write(0xb3,0xeb);
	dev_spi_write(0xb4,0x8);
	dev_spi_write(0xb5,0x6);
	dev_spi_write(0xb6,0xb6);
	dev_spi_write(0xb7,0xf5);
	dev_spi_write(0xb8,0x80);
	dev_spi_write(0xb9,0x7f);
	dev_spi_write(0xba,0x6);
	dev_spi_write(0xbb,0xda);
	dev_spi_write(0xbc,0x0);
	dev_spi_write(0xbd,0x2e);
	dev_spi_write(0xbe,0x54);
	dev_spi_write(0xbf,0xbf);
	dev_spi_write(0xc0,0x5f);
	dev_spi_write(0xc1,0xfa);
	dev_spi_write(0xc2,0x86);
	dev_spi_write(0xc3,0xf8);
	dev_spi_write(0xc4,0x4f);
	dev_spi_write(0xc5,0xf0);
	dev_spi_write(0xc6,0x0);
	dev_spi_write(0xc7,0x8);
	dev_spi_write(0xc8,0x1);
	dev_spi_write(0xc9,0xe0);
	dev_spi_write(0xca,0x4f);
	dev_spi_write(0xcb,0xf0);
	dev_spi_write(0xcc,0xff);
	dev_spi_write(0xcd,0x8);
	dev_spi_write(0xce,0x1);
	dev_spi_write(0xcf,0xeb);
	dev_spi_write(0xd0,0xc);
	dev_spi_write(0xd1,0x6);
	dev_spi_write(0xd2,0xb6);
	dev_spi_write(0xd3,0xf5);
	dev_spi_write(0xd4,0x80);
	dev_spi_write(0xd5,0x7f);
	dev_spi_write(0xd6,0x6);
	dev_spi_write(0xd7,0xda);
	dev_spi_write(0xd8,0x0);
	dev_spi_write(0xd9,0x2e);
	dev_spi_write(0xda,0x54);
	dev_spi_write(0xdb,0xbf);
	dev_spi_write(0xdc,0x5f);
	dev_spi_write(0xdd,0xfa);
	dev_spi_write(0xde,0x86);
	dev_spi_write(0xdf,0xfc);
	dev_spi_write(0xe0,0x4f);
	dev_spi_write(0xe1,0xf0);
	dev_spi_write(0xe2,0x0);
	dev_spi_write(0xe3,0xc);
	dev_spi_write(0xe4,0x1);
	dev_spi_write(0xe5,0xe0);
	dev_spi_write(0xe6,0x4f);
	dev_spi_write(0xe7,0xf0);
	dev_spi_write(0xe8,0xff);
	dev_spi_write(0xe9,0xc);
	dev_spi_write(0xea,0xc);
	dev_spi_write(0xeb,0x19);
	dev_spi_write(0xec,0xb4);
	dev_spi_write(0xed,0xf5);
	dev_spi_write(0xee,0x80);
	dev_spi_write(0xef,0x7f);
	dev_spi_write(0xf0,0x4);
	dev_spi_write(0xf1,0xda);
	dev_spi_write(0xf2,0x0);
	dev_spi_write(0xf3,0x2c);
	dev_spi_write(0xf4,0x54);
	dev_spi_write(0xf5,0xbf);
	dev_spi_write(0xf6,0xe4);
	dev_spi_write(0xf7,0xb2);
	dev_spi_write(0xf8,0x0);
	dev_spi_write(0xf9,0x24);
	dev_spi_write(0xfa,0x0);
	dev_spi_write(0xfb,0xe0);
	dev_spi_write(0xfc,0xff);
	dev_spi_write(0xfd,0x24);
	dev_spi_write(0xfe,0xcb);
	dev_spi_write(0xff,0x18);
	dev_spi_write(0x100,0xb3);
	dev_spi_write(0x101,0xf5);
	dev_spi_write(0x102,0x80);
	dev_spi_write(0x103,0x7f);
	dev_spi_write(0x104,0x4);
	dev_spi_write(0x105,0xda);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x107,0x2b);
	dev_spi_write(0x108,0x54);
	dev_spi_write(0x109,0xbf);
	dev_spi_write(0x10a,0xdb);
	dev_spi_write(0x10b,0xb2);
	dev_spi_write(0x10c,0x0);
	dev_spi_write(0x10d,0x23);
	dev_spi_write(0x10e,0x0);
	dev_spi_write(0x10f,0xe0);
	dev_spi_write(0x110,0xff);
	dev_spi_write(0x111,0x23);
	dev_spi_write(0x112,0x71);
	dev_spi_write(0x113,0x44);
	dev_spi_write(0x114,0xb1);
	dev_spi_write(0x115,0xf5);
	dev_spi_write(0x116,0x80);
	dev_spi_write(0x117,0x7f);
	dev_spi_write(0x118,0x6);
	dev_spi_write(0x119,0xda);
	dev_spi_write(0x11a,0x0);
	dev_spi_write(0x11b,0x29);
	dev_spi_write(0x11c,0x54);
	dev_spi_write(0x11d,0xbf);
	dev_spi_write(0x11e,0x5f);
	dev_spi_write(0x11f,0xfa);
	dev_spi_write(0x120,0x81);
	dev_spi_write(0x121,0xfe);
	dev_spi_write(0x122,0x4f);
	dev_spi_write(0x123,0xf0);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x125,0xe);
	dev_spi_write(0x126,0x1);
	dev_spi_write(0x127,0xe0);
	dev_spi_write(0x128,0x4f);
	dev_spi_write(0x129,0xf0);
	dev_spi_write(0x12a,0xff);
	dev_spi_write(0x12b,0xe);
	dev_spi_write(0x12c,0x11);
	dev_spi_write(0x12d,0x78);
	dev_spi_write(0x12e,0x4);
	dev_spi_write(0x12f,0x29);
	dev_spi_write(0x130,0x49);
	dev_spi_write(0x131,0xd0);
	dev_spi_write(0x132,0xaa);
	dev_spi_write(0x133,0x8);
	dev_spi_write(0x134,0xa);
	dev_spi_write(0x135,0xd3);
	dev_spi_write(0x136,0x55);
	dev_spi_write(0x137,0x4a);
	dev_spi_write(0x138,0x32);
	dev_spi_write(0x139,0xf8);
	dev_spi_write(0x13a,0x19);
	dev_spi_write(0x13b,0x20);
	dev_spi_write(0x13c,0x56);
	dev_spi_write(0x13d,0x46);
	dev_spi_write(0x13e,0x5f);
	dev_spi_write(0x13f,0x46);
	dev_spi_write(0x140,0x11);
	dev_spi_write(0x141,0xfb);
	dev_spi_write(0x142,0x6);
	dev_spi_write(0x143,0xf6);
	dev_spi_write(0x144,0x7);
	dev_spi_write(0x145,0xfb);
	dev_spi_write(0x146,0x0);
	dev_spi_write(0x147,0x66);
	dev_spi_write(0x148,0x4f);
	dev_spi_write(0x149,0x4f);
	dev_spi_write(0x14a,0xba);
	dev_spi_write(0x14b,0x53);
	dev_spi_write(0x14c,0xea);
	dev_spi_write(0x14d,0x8);
	dev_spi_write(0x14e,0xa);
	dev_spi_write(0x14f,0xd3);
	dev_spi_write(0x150,0x4e);
	dev_spi_write(0x151,0x4a);
	dev_spi_write(0x152,0x32);
	dev_spi_write(0x153,0xf8);
	dev_spi_write(0x154,0x18);
	dev_spi_write(0x155,0x20);
	dev_spi_write(0x156,0x56);
	dev_spi_write(0x157,0x46);
	dev_spi_write(0x158,0x5f);
	dev_spi_write(0x159,0x46);
	dev_spi_write(0x15a,0x11);
	dev_spi_write(0x15b,0xfb);
	dev_spi_write(0x15c,0x6);
	dev_spi_write(0x15d,0xf6);
	dev_spi_write(0x15e,0x7);
	dev_spi_write(0x15f,0xfb);
	dev_spi_write(0x160,0x0);
	dev_spi_write(0x161,0x66);
	dev_spi_write(0x162,0x4b);
	dev_spi_write(0x163,0x4f);
	dev_spi_write(0x164,0xba);
	dev_spi_write(0x165,0x53);
	dev_spi_write(0x166,0x2a);
	dev_spi_write(0x167,0x9);
	dev_spi_write(0x168,0xa);
	dev_spi_write(0x169,0xd3);
	dev_spi_write(0x16a,0x48);
	dev_spi_write(0x16b,0x4a);
	dev_spi_write(0x16c,0x32);
	dev_spi_write(0x16d,0xf8);
	dev_spi_write(0x16e,0x1c);
	dev_spi_write(0x16f,0x20);
	dev_spi_write(0x170,0x56);
	dev_spi_write(0x171,0x46);
	dev_spi_write(0x172,0x5f);
	dev_spi_write(0x173,0x46);
	dev_spi_write(0x174,0x11);
	dev_spi_write(0x175,0xfb);
	dev_spi_write(0x176,0x6);
	dev_spi_write(0x177,0xf6);
	dev_spi_write(0x178,0x7);
	dev_spi_write(0x179,0xfb);
	dev_spi_write(0x17a,0x0);
	dev_spi_write(0x17b,0x66);
	dev_spi_write(0x17c,0x45);
	dev_spi_write(0x17d,0x4f);
	dev_spi_write(0x17e,0xba);
	dev_spi_write(0x17f,0x53);
	dev_spi_write(0x180,0x6a);
	dev_spi_write(0x181,0x9);
	dev_spi_write(0x182,0x8);
	dev_spi_write(0x183,0xd3);
	dev_spi_write(0x184,0x41);
	dev_spi_write(0x185,0x4a);
	dev_spi_write(0x186,0x44);
	dev_spi_write(0x187,0x4f);
	dev_spi_write(0x188,0x32);
	dev_spi_write(0x189,0xf8);
	dev_spi_write(0x18a,0x14);
	dev_spi_write(0x18b,0x20);
	dev_spi_write(0x18c,0x11);
	dev_spi_write(0x18d,0xfb);
	dev_spi_write(0x18e,0xa);
	dev_spi_write(0x18f,0xf6);
	dev_spi_write(0x190,0xb);
	dev_spi_write(0x191,0xfb);
	dev_spi_write(0x192,0x0);
	dev_spi_write(0x193,0x66);
	dev_spi_write(0x194,0xba);
	dev_spi_write(0x195,0x53);
	dev_spi_write(0x196,0xaa);
	dev_spi_write(0x197,0x9);
	dev_spi_write(0x198,0x8);
	dev_spi_write(0x199,0xd3);
	dev_spi_write(0x19a,0x41);
	dev_spi_write(0x19b,0x4a);
	dev_spi_write(0x19c,0x3f);
	dev_spi_write(0x19d,0x4f);
	dev_spi_write(0x19e,0x32);
	dev_spi_write(0x19f,0xf8);
	dev_spi_write(0x1a0,0x13);
	dev_spi_write(0x1a1,0x20);
	dev_spi_write(0x1a2,0x11);
	dev_spi_write(0x1a3,0xfb);
	dev_spi_write(0x1a4,0xa);
	dev_spi_write(0x1a5,0xf6);
	dev_spi_write(0x1a6,0xb);
	dev_spi_write(0x1a7,0xfb);
	dev_spi_write(0x1a8,0x0);
	dev_spi_write(0x1a9,0x66);
	dev_spi_write(0x1aa,0xba);
	dev_spi_write(0x1ab,0x53);
	dev_spi_write(0x1ac,0xea);
	dev_spi_write(0x1ad,0x9);
	dev_spi_write(0x1ae,0xa);
	dev_spi_write(0x1af,0xd3);
	dev_spi_write(0x1b0,0x3b);
	dev_spi_write(0x1b1,0x4a);
	dev_spi_write(0x1b2,0x3c);
	dev_spi_write(0x1b3,0x4e);
	dev_spi_write(0x1b4,0x32);
	dev_spi_write(0x1b5,0xf8);
	dev_spi_write(0x1b6,0x1e);
	dev_spi_write(0x1b7,0x20);
	dev_spi_write(0x1b8,0x55);
	dev_spi_write(0x1b9,0x46);
	dev_spi_write(0x1ba,0x5f);
	dev_spi_write(0x1bb,0x46);
	dev_spi_write(0x1bc,0x11);
	dev_spi_write(0x1bd,0xfb);
	dev_spi_write(0x1be,0x5);
	dev_spi_write(0x1bf,0xf1);
	dev_spi_write(0x1c0,0x7);
	dev_spi_write(0x1c1,0xfb);
	dev_spi_write(0x1c2,0x0);
	dev_spi_write(0x1c3,0x11);
	dev_spi_write(0x1c4,0x72);
	dev_spi_write(0x1c5,0x52);
	dev_spi_write(0x1c6,0x40);
	dev_spi_write(0x1c7,0x1c);
	dev_spi_write(0x1c8,0x2);
	dev_spi_write(0x1c9,0x28);
	dev_spi_write(0x1ca,0xff);
	dev_spi_write(0x1cb,0xf6);
	dev_spi_write(0x1cc,0x4a);
	dev_spi_write(0x1cd,0xaf);
	dev_spi_write(0x1ce,0xbd);
	dev_spi_write(0x1cf,0xe8);
	dev_spi_write(0x1d0,0xf8);
	dev_spi_write(0x1d1,0x8f);
	dev_spi_write(0x1d2,0xc0);
	dev_spi_write(0x1d3,0x46);
	dev_spi_write(0x1d4,0x94);
	dev_spi_write(0x1d5,0x23);
	dev_spi_write(0x1d6,0x1);
	dev_spi_write(0x1d7,0x20);
	dev_spi_write(0x1d8,0x34);
	dev_spi_write(0x1d9,0x1f);
	dev_spi_write(0x1da,0x1);
	dev_spi_write(0x1db,0x20);
	dev_spi_write(0x1dc,0x2d);
	dev_spi_write(0x1dd,0xe9);
	dev_spi_write(0x1de,0xf8);
	dev_spi_write(0x1df,0x4f);
	dev_spi_write(0x1e0,0xd3);
	dev_spi_write(0x1e1,0xf7);
	dev_spi_write(0x1e2,0x54);
	dev_spi_write(0x1e3,0xfd);
	dev_spi_write(0x1e4,0x4f);
	dev_spi_write(0x1e5,0xf0);
	dev_spi_write(0x1e6,0x22);
	dev_spi_write(0x1e7,0x40);
	dev_spi_write(0x1e8,0x90);
	dev_spi_write(0x1e9,0xf8);
	dev_spi_write(0x1ea,0xb4);
	dev_spi_write(0x1eb,0xe3);
	dev_spi_write(0x1ec,0xdf);
	dev_spi_write(0x1ed,0xf8);
	dev_spi_write(0x1ee,0x40);
	dev_spi_write(0x1ef,0x92);
	dev_spi_write(0x1f0,0xdf);
	dev_spi_write(0x1f1,0xf8);
	dev_spi_write(0x1f2,0x44);
	dev_spi_write(0x1f3,0xb0);
	dev_spi_write(0x1f4,0xdf);
	dev_spi_write(0x1f5,0xf8);
	dev_spi_write(0x1f6,0x94);
	dev_spi_write(0x1f7,0xc0);
	dev_spi_write(0x1f8,0x6e);
	dev_spi_write(0x1f9,0x27);
	dev_spi_write(0x1fa,0x4f);
	dev_spi_write(0x1fb,0xf4);
	dev_spi_write(0x1fc,0xa5);
	dev_spi_write(0x1fd,0x78);
	dev_spi_write(0x1fe,0x0);
	dev_spi_write(0x1ff,0x22);
	dev_spi_write(0x200,0x15);
	dev_spi_write(0x201,0x46);
	dev_spi_write(0x202,0x90);
	dev_spi_write(0x203,0xf8);
	dev_spi_write(0x204,0xb5);
	dev_spi_write(0x205,0x13);
	dev_spi_write(0x206,0x90);
	dev_spi_write(0x207,0xf8);
	dev_spi_write(0x208,0xb6);
	dev_spi_write(0x209,0x3);
	dev_spi_write(0x20a,0x8d);
	dev_spi_write(0x20b,0xf8);
	dev_spi_write(0x20c,0x0);
	dev_spi_write(0x20d,0x10);
	dev_spi_write(0x20e,0xff);
	dev_spi_write(0x20f,0x26);
	dev_spi_write(0x210,0x8d);
	dev_spi_write(0x211,0xf8);
	dev_spi_write(0x212,0x1);
	dev_spi_write(0x213,0x0);
	dev_spi_write(0x214,0x1);
	dev_spi_write(0x215,0x20);
	dev_spi_write(0x216,0x90);
	dev_spi_write(0x217,0x40);
	dev_spi_write(0x218,0x1e);
	dev_spi_write(0x219,0xea);
	dev_spi_write(0x21a,0x0);
	dev_spi_write(0x21b,0xf);
	dev_spi_write(0x21c,0x2e);
	dev_spi_write(0x21d,0xd0);
	dev_spi_write(0x21e,0x85);
	dev_spi_write(0x21f,0x4c);
	dev_spi_write(0x220,0x51);
	dev_spi_write(0x221,0x10);
	dev_spi_write(0x222,0x2);
	dev_spi_write(0x223,0xf0);
	dev_spi_write(0x224,0x1);
	dev_spi_write(0x225,0x3);
	dev_spi_write(0x226,0x1);
	dev_spi_write(0x227,0xeb);
	dev_spi_write(0x228,0x41);
	dev_spi_write(0x229,0x0);
	dev_spi_write(0x22a,0xc0);
	dev_spi_write(0x22b,0x18);
	dev_spi_write(0x22c,0x0);
	dev_spi_write(0x22d,0x19);
	dev_spi_write(0x22e,0x90);
	dev_spi_write(0x22f,0xf9);
	dev_spi_write(0x230,0x1);
	dev_spi_write(0x231,0x0);
	dev_spi_write(0x232,0x7f);
	dev_spi_write(0x233,0x28);
	dev_spi_write(0x234,0x22);
	dev_spi_write(0x235,0xd0);
	dev_spi_write(0x236,0x1);
	dev_spi_write(0x237,0xe0);
	dev_spi_write(0x238,0x6);
	dev_spi_write(0x239,0xd6);
	dev_spi_write(0x23a,0x0);
	dev_spi_write(0x23b,0x20);
	dev_spi_write(0x23c,0x1b);
	dev_spi_write(0x23d,0xf8);
	dev_spi_write(0x23e,0x12);
	dev_spi_write(0x23f,0x30);
	dev_spi_write(0x240,0x4);
	dev_spi_write(0x241,0x2b);
	dev_spi_write(0x242,0x1b);
	dev_spi_write(0x243,0xd0);
	dev_spi_write(0x244,0x13);
	dev_spi_write(0x245,0xfb);
	dev_spi_write(0x246,0x7);
	dev_spi_write(0x247,0xf3);
	dev_spi_write(0x248,0x8);
	dev_spi_write(0x249,0xfb);
	dev_spi_write(0x24a,0x1);
	dev_spi_write(0x24b,0x3a);
	dev_spi_write(0x24c,0x44);
	dev_spi_write(0x24d,0x0);
	dev_spi_write(0x24e,0x69);
	dev_spi_write(0x24f,0x46);
	dev_spi_write(0x250,0x2);
	dev_spi_write(0x251,0x23);
	dev_spi_write(0x252,0x9);
	dev_spi_write(0x253,0xeb);
	dev_spi_write(0x254,0x4a);
	dev_spi_write(0x255,0xa);
	dev_spi_write(0x256,0x8);
	dev_spi_write(0x257,0x78);
	dev_spi_write(0x258,0x0);
	dev_spi_write(0x259,0x19);
	dev_spi_write(0x25a,0xb0);
	dev_spi_write(0x25b,0xf5);
	dev_spi_write(0x25c,0x80);
	dev_spi_write(0x25d,0x7f);
	dev_spi_write(0x25e,0x4);
	dev_spi_write(0x25f,0xda);
	dev_spi_write(0x260,0x0);
	dev_spi_write(0x261,0x28);
	dev_spi_write(0x262,0x54);
	dev_spi_write(0x263,0xbf);
	dev_spi_write(0x264,0x8);
	dev_spi_write(0x265,0x70);
	dev_spi_write(0x266,0xd);
	dev_spi_write(0x267,0x70);
	dev_spi_write(0x268,0x0);
	dev_spi_write(0x269,0xe0);
	dev_spi_write(0x26a,0xe);
	dev_spi_write(0x26b,0x70);
	dev_spi_write(0x26c,0x11);
	dev_spi_write(0x26d,0xf8);
	dev_spi_write(0x26e,0x1);
	dev_spi_write(0x26f,0xb);
	dev_spi_write(0x270,0x3c);
	dev_spi_write(0x271,0xf8);
	dev_spi_write(0x272,0x10);
	dev_spi_write(0x273,0x0);
	dev_spi_write(0x274,0x5b);
	dev_spi_write(0x275,0x1e);
	dev_spi_write(0x276,0x2a);
	dev_spi_write(0x277,0xf8);
	dev_spi_write(0x278,0x2);
	dev_spi_write(0x279,0xb);
	dev_spi_write(0x27a,0xec);
	dev_spi_write(0x27b,0xd1);
	dev_spi_write(0x27c,0x52);
	dev_spi_write(0x27d,0x1c);
	dev_spi_write(0x27e,0x4);
	dev_spi_write(0x27f,0x2a);
	dev_spi_write(0x280,0xc8);
	dev_spi_write(0x281,0xdb);
	dev_spi_write(0x282,0xbd);
	dev_spi_write(0x283,0xe8);
	dev_spi_write(0x284,0xf8);
	dev_spi_write(0x285,0x8f);
	dev_spi_write(0x286,0xc0);
	dev_spi_write(0x287,0x46);
	dev_spi_write(0x288,0xe2);
	dev_spi_write(0x289,0xab);
	dev_spi_write(0x28a,0x0);
	dev_spi_write(0x28b,0x20);
	dev_spi_write(0x28c,0x18);
	dev_spi_write(0x28d,0x6e);
	dev_spi_write(0x28e,0x2);
	dev_spi_write(0x28f,0x0);
	dev_spi_write(0x290,0xe4);
	dev_spi_write(0x291,0xab);
	dev_spi_write(0x292,0x0);
	dev_spi_write(0x293,0x20);
	dev_spi_write(0x294,0xe6);
	dev_spi_write(0x295,0xab);
	dev_spi_write(0x296,0x0);
	dev_spi_write(0x297,0x20);
	dev_spi_write(0x298,0xe8);
	dev_spi_write(0x299,0xab);
	dev_spi_write(0x29a,0x0);
	dev_spi_write(0x29b,0x20);
	dev_spi_write(0x29c,0xea);
	dev_spi_write(0x29d,0xab);
	dev_spi_write(0x29e,0x0);
	dev_spi_write(0x29f,0x20);
	dev_spi_write(0x2a0,0x18);
	dev_spi_write(0x2a1,0x70);
	dev_spi_write(0x2a2,0x2);
	dev_spi_write(0x2a3,0x0);
	dev_spi_write(0x2a4,0xec);
	dev_spi_write(0x2a5,0xab);
	dev_spi_write(0x2a6,0x0);
	dev_spi_write(0x2a7,0x20);
	dev_spi_write(0x2a8,0x2d);
	dev_spi_write(0x2a9,0xe9);
	dev_spi_write(0x2aa,0xf8);
	dev_spi_write(0x2ab,0x4f);
	dev_spi_write(0x2ac,0xd3);
	dev_spi_write(0x2ad,0xf7);
	dev_spi_write(0x2ae,0xa0);
	dev_spi_write(0x2af,0xfd);
	dev_spi_write(0x2b0,0x0);
	dev_spi_write(0x2b1,0x24);
	dev_spi_write(0x2b2,0x4f);
	dev_spi_write(0x2b3,0xf0);
	dev_spi_write(0x2b4,0x1);
	dev_spi_write(0x2b5,0x8);
	dev_spi_write(0x2b6,0x4f);
	dev_spi_write(0x2b7,0xf4);
	dev_spi_write(0x2b8,0x25);
	dev_spi_write(0x2b9,0x77);
	dev_spi_write(0x2ba,0x4f);
	dev_spi_write(0x2bb,0xf0);
	dev_spi_write(0x2bc,0x22);
	dev_spi_write(0x2bd,0x41);
	dev_spi_write(0x2be,0x91);
	dev_spi_write(0x2bf,0xf8);
	dev_spi_write(0x2c0,0xb4);
	dev_spi_write(0x2c1,0x3);
	dev_spi_write(0x2c2,0x5d);
	dev_spi_write(0x2c3,0x4b);
	dev_spi_write(0x2c4,0xdf);
	dev_spi_write(0x2c5,0xf8);
	dev_spi_write(0x2c6,0x78);
	dev_spi_write(0x2c7,0xc1);
	dev_spi_write(0x2c8,0xdf);
	dev_spi_write(0x2c9,0xf8);
	dev_spi_write(0x2ca,0x70);
	dev_spi_write(0x2cb,0xe1);
	dev_spi_write(0x2cc,0x91);
	dev_spi_write(0x2cd,0xf8);
	dev_spi_write(0x2ce,0xb6);
	dev_spi_write(0x2cf,0xb3);
	dev_spi_write(0x2d0,0x91);
	dev_spi_write(0x2d1,0xf9);
	dev_spi_write(0x2d2,0xbc);
	dev_spi_write(0x2d3,0x13);
	dev_spi_write(0x2d4,0x0);
	dev_spi_write(0x2d5,0x90);
	dev_spi_write(0x2d6,0x48);
	dev_spi_write(0x2d7,0x0);
	dev_spi_write(0x2d8,0x0);
	dev_spi_write(0x2d9,0x9d);
	dev_spi_write(0x2da,0x8);
	dev_spi_write(0x2db,0xfa);
	dev_spi_write(0x2dc,0x4);
	dev_spi_write(0x2dd,0xf2);
	dev_spi_write(0x2de,0x15);
	dev_spi_write(0x2df,0x42);
	dev_spi_write(0x2e0,0x43);
	dev_spi_write(0x2e1,0xd0);
	dev_spi_write(0x2e2,0x62);
	dev_spi_write(0x2e3,0x10);
	dev_spi_write(0x2e4,0x4);
	dev_spi_write(0x2e5,0xf0);
	dev_spi_write(0x2e6,0x1);
	dev_spi_write(0x2e7,0x6);
	dev_spi_write(0x2e8,0x2);
	dev_spi_write(0x2e9,0xeb);
	dev_spi_write(0x2ea,0x42);
	dev_spi_write(0x2eb,0x5);
	dev_spi_write(0x2ec,0xad);
	dev_spi_write(0x2ed,0x19);
	dev_spi_write(0x2ee,0x51);
	dev_spi_write(0x2ef,0x4e);
	dev_spi_write(0x2f0,0xad);
	dev_spi_write(0x2f1,0x19);
	dev_spi_write(0x2f2,0x95);
	dev_spi_write(0x2f3,0xf9);
	dev_spi_write(0x2f4,0x1);
	dev_spi_write(0x2f5,0x50);
	dev_spi_write(0x2f6,0xc);
	dev_spi_write(0x2f7,0xeb);
	dev_spi_write(0x2f8,0x44);
	dev_spi_write(0x2f9,0x6);
	dev_spi_write(0x2fa,0x7f);
	dev_spi_write(0x2fb,0x2d);
	dev_spi_write(0x2fc,0xa);
	dev_spi_write(0x2fd,0xd1);
	dev_spi_write(0x2fe,0x80);
	dev_spi_write(0x2ff,0x28);
	dev_spi_write(0x300,0x5);
	dev_spi_write(0x301,0xda);
	dev_spi_write(0x302,0x10);
	dev_spi_write(0x303,0xf1);
	dev_spi_write(0x304,0x80);
	dev_spi_write(0x305,0xf);
	dev_spi_write(0x306,0xb8);
	dev_spi_write(0x307,0xbf);
	dev_spi_write(0x308,0x6f);
	dev_spi_write(0x309,0xf0);
	dev_spi_write(0x30a,0x7f);
	dev_spi_write(0x30b,0x0);
	dev_spi_write(0x30c,0x0);
	dev_spi_write(0x30d,0xe0);
	dev_spi_write(0x30e,0x7f);
	dev_spi_write(0x30f,0x20);
	dev_spi_write(0x310,0x35);
	dev_spi_write(0x311,0x78);
	dev_spi_write(0x312,0x26);
	dev_spi_write(0x313,0xe0);
	dev_spi_write(0x314,0xa9);
	dev_spi_write(0x315,0x46);
	dev_spi_write(0x316,0x9);
	dev_spi_write(0x317,0xeb);
	dev_spi_write(0x318,0xd9);
	dev_spi_write(0x319,0x79);
	dev_spi_write(0x31a,0xa1);
	dev_spi_write(0x31b,0xeb);
	dev_spi_write(0x31c,0x69);
	dev_spi_write(0x31d,0x1);
	dev_spi_write(0x31e,0x80);
	dev_spi_write(0x31f,0x29);
	dev_spi_write(0x320,0x6);
	dev_spi_write(0x321,0xda);
	dev_spi_write(0x322,0x11);
	dev_spi_write(0x323,0xf1);
	dev_spi_write(0x324,0x80);
	dev_spi_write(0x325,0xf);
	dev_spi_write(0x326,0xac);
	dev_spi_write(0x327,0xbf);
	dev_spi_write(0x328,0x49);
	dev_spi_write(0x329,0xb2);
	dev_spi_write(0x32a,0x6f);
	dev_spi_write(0x32b,0xf0);
	dev_spi_write(0x32c,0x7f);
	dev_spi_write(0x32d,0x1);
	dev_spi_write(0x32e,0x0);
	dev_spi_write(0x32f,0xe0);
	dev_spi_write(0x330,0x7f);
	dev_spi_write(0x331,0x21);
	dev_spi_write(0x332,0x40);
	dev_spi_write(0x333,0x1b);
	dev_spi_write(0x334,0x0);
	dev_spi_write(0x335,0xb2);
	dev_spi_write(0x336,0x80);
	dev_spi_write(0x337,0x28);
	dev_spi_write(0x338,0x5);
	dev_spi_write(0x339,0xda);
	dev_spi_write(0x33a,0x10);
	dev_spi_write(0x33b,0xf1);
	dev_spi_write(0x33c,0x80);
	dev_spi_write(0x33d,0xf);
	dev_spi_write(0x33e,0xb8);
	dev_spi_write(0x33f,0xbf);
	dev_spi_write(0x340,0x6f);
	dev_spi_write(0x341,0xf0);
	dev_spi_write(0x342,0x7f);
	dev_spi_write(0x343,0x0);
	dev_spi_write(0x344,0x0);
	dev_spi_write(0x345,0xe0);
	dev_spi_write(0x346,0x7f);
	dev_spi_write(0x347,0x20);
	dev_spi_write(0x348,0x35);
	dev_spi_write(0x349,0x78);
	dev_spi_write(0x34a,0x4);
	dev_spi_write(0x34b,0x2d);
	dev_spi_write(0x34c,0xd);
	dev_spi_write(0x34d,0xd0);
	dev_spi_write(0x34e,0xbb);
	dev_spi_write(0x34f,0xf1);
	dev_spi_write(0x350,0x1);
	dev_spi_write(0x351,0xf);
	dev_spi_write(0x352,0xa);
	dev_spi_write(0x353,0xd1);
	dev_spi_write(0x354,0xdc);
	dev_spi_write(0x355,0x26);
	dev_spi_write(0x356,0x15);
	dev_spi_write(0x357,0xfb);
	dev_spi_write(0x358,0x6);
	dev_spi_write(0x359,0xf6);
	dev_spi_write(0x35a,0x7);
	dev_spi_write(0x35b,0xfb);
	dev_spi_write(0x35c,0x2);
	dev_spi_write(0x35d,0x66);
	dev_spi_write(0x35e,0xe);
	dev_spi_write(0x35f,0xf8);
	dev_spi_write(0x360,0x6);
	dev_spi_write(0x361,0x10);
	dev_spi_write(0x362,0x2);
	dev_spi_write(0x363,0xeb);
	dev_spi_write(0x364,0x42);
	dev_spi_write(0x365,0x2);
	dev_spi_write(0x366,0x52);
	dev_spi_write(0x367,0x19);
	dev_spi_write(0x368,0x98);
	dev_spi_write(0x369,0x54);
	dev_spi_write(0x36a,0x64);
	dev_spi_write(0x36b,0x1c);
	dev_spi_write(0x36c,0x4);
	dev_spi_write(0x36d,0x2c);
	dev_spi_write(0x36e,0xb3);
	dev_spi_write(0x36f,0xdb);
	dev_spi_write(0x370,0xdf);
	dev_spi_write(0x371,0xf8);
	dev_spi_write(0x372,0x34);
	dev_spi_write(0x373,0xa0);
	dev_spi_write(0x374,0x0);
	dev_spi_write(0x375,0x22);
	dev_spi_write(0x376,0x4f);
	dev_spi_write(0x377,0xf0);
	dev_spi_write(0x378,0xdc);
	dev_spi_write(0x379,0x9);
	dev_spi_write(0x37a,0x0);
	dev_spi_write(0x37b,0x9d);
	dev_spi_write(0x37c,0x14);
	dev_spi_write(0x37d,0x1d);
	dev_spi_write(0x37e,0x8);
	dev_spi_write(0x37f,0xfa);
	dev_spi_write(0x380,0x4);
	dev_spi_write(0x381,0xf4);
	dev_spi_write(0x382,0x25);
	dev_spi_write(0x383,0x42);
	dev_spi_write(0x384,0x4e);
	dev_spi_write(0x385,0xd0);
	dev_spi_write(0x386,0x1a);
	dev_spi_write(0x387,0xf8);
	dev_spi_write(0x388,0x2);
	dev_spi_write(0x389,0x60);
	dev_spi_write(0x38a,0x0);
	dev_spi_write(0x38b,0x2e);
	dev_spi_write(0x38c,0x4a);
	dev_spi_write(0x38d,0xd1);
	dev_spi_write(0x38e,0x29);
	dev_spi_write(0x38f,0x4d);
	dev_spi_write(0x390,0x2);
	dev_spi_write(0x391,0xeb);
	dev_spi_write(0x392,0x42);
	dev_spi_write(0x393,0x4);
	dev_spi_write(0x394,0x2c);
	dev_spi_write(0x395,0x57);
	dev_spi_write(0x396,0x7f);
	dev_spi_write(0x397,0x2c);
	dev_spi_write(0x398,0x4f);
	dev_spi_write(0x399,0xea);
	dev_spi_write(0x39a,0x42);
	dev_spi_write(0x39b,0x5);
	dev_spi_write(0x39c,0x16);
	dev_spi_write(0x39d,0xd1);
	dev_spi_write(0x39e,0x80);
	dev_spi_write(0x39f,0x28);
	dev_spi_write(0x3a0,0x65);
	dev_spi_write(0x3a1,0x44);
	dev_spi_write(0x3a2,0x9);
	dev_spi_write(0x3a3,0xda);
	dev_spi_write(0x3a4,0x2);
	dev_spi_write(0x3a5,0xe0);
	dev_spi_write(0x3a6,0xc0);
	dev_spi_write(0x3a7,0x46);
	dev_spi_write(0x3a8,0x9e);
	dev_spi_write(0x3a9,0x13);
	dev_spi_write(0x3aa,0x1);
	dev_spi_write(0x3ab,0x20);
	dev_spi_write(0x3ac,0x10);
	dev_spi_write(0x3ad,0xf1);
	dev_spi_write(0x3ae,0x80);
	dev_spi_write(0x3af,0xf);
	dev_spi_write(0x3b0,0xb8);
	dev_spi_write(0x3b1,0xbf);
	dev_spi_write(0x3b2,0x6f);
	dev_spi_write(0x3b3,0xf0);
	dev_spi_write(0x3b4,0x7f);
	dev_spi_write(0x3b5,0x0);
	dev_spi_write(0x3b6,0x0);
	dev_spi_write(0x3b7,0xe0);
	dev_spi_write(0x3b8,0x7f);
	dev_spi_write(0x3b9,0x20);
	dev_spi_write(0x3ba,0x2c);
	dev_spi_write(0x3bb,0x78);
	dev_spi_write(0x3bc,0x2);
	dev_spi_write(0x3bd,0xeb);
	dev_spi_write(0x3be,0x42);
	dev_spi_write(0x3bf,0x5);
	dev_spi_write(0x3c0,0x2d);
	dev_spi_write(0x3c1,0x19);
	dev_spi_write(0x3c2,0x58);
	dev_spi_write(0x3c3,0x55);
	dev_spi_write(0x3c4,0x2e);
	dev_spi_write(0x3c5,0xe0);
	dev_spi_write(0x3c6,0xc0);
	dev_spi_write(0x3c7,0x46);
	dev_spi_write(0x3c8,0x64);
	dev_spi_write(0x3c9,0xd6);
	dev_spi_write(0x3ca,0x0);
	dev_spi_write(0x3cb,0x20);
	dev_spi_write(0x3cc,0x26);
	dev_spi_write(0x3cd,0x46);
	dev_spi_write(0x3ce,0x6);
	dev_spi_write(0x3cf,0xeb);
	dev_spi_write(0x3d0,0xd6);
	dev_spi_write(0x3d1,0x76);
	dev_spi_write(0x3d2,0xa1);
	dev_spi_write(0x3d3,0xeb);
	dev_spi_write(0x3d4,0x66);
	dev_spi_write(0x3d5,0x1);
	dev_spi_write(0x3d6,0x1b);
	dev_spi_write(0x3d7,0x4e);
	dev_spi_write(0x3d8,0x80);
	dev_spi_write(0x3d9,0x29);
	dev_spi_write(0x3da,0x35);
	dev_spi_write(0x3db,0x44);
	dev_spi_write(0x3dc,0x6);
	dev_spi_write(0x3dd,0xda);
	dev_spi_write(0x3de,0x11);
	dev_spi_write(0x3df,0xf1);
	dev_spi_write(0x3e0,0x80);
	dev_spi_write(0x3e1,0xf);
	dev_spi_write(0x3e2,0xac);
	dev_spi_write(0x3e3,0xbf);
	dev_spi_write(0x3e4,0x49);
	dev_spi_write(0x3e5,0xb2);
	dev_spi_write(0x3e6,0x6f);
	dev_spi_write(0x3e7,0xf0);
	dev_spi_write(0x3e8,0x7f);
	dev_spi_write(0x3e9,0x1);
	dev_spi_write(0x3ea,0x0);
	dev_spi_write(0x3eb,0xe0);
	dev_spi_write(0x3ec,0x7f);
	dev_spi_write(0x3ed,0x21);
	dev_spi_write(0x3ee,0x0);
	dev_spi_write(0x3ef,0x1b);
	dev_spi_write(0x3f0,0x0);
	dev_spi_write(0x3f1,0xb2);
	dev_spi_write(0x3f2,0x80);
	dev_spi_write(0x3f3,0x28);
	dev_spi_write(0x3f4,0x5);
	dev_spi_write(0x3f5,0xda);
	dev_spi_write(0x3f6,0x10);
	dev_spi_write(0x3f7,0xf1);
	dev_spi_write(0x3f8,0x80);
	dev_spi_write(0x3f9,0xf);
	dev_spi_write(0x3fa,0xb8);
	dev_spi_write(0x3fb,0xbf);
	dev_spi_write(0x3fc,0x6f);
	dev_spi_write(0x3fd,0xf0);
	dev_spi_write(0x3fe,0x7f);
	dev_spi_write(0x3ff,0x0);
	dev_spi_write(0x400,0x0);
	dev_spi_write(0x401,0xe0);
	dev_spi_write(0x402,0x7f);
	dev_spi_write(0x403,0x20);
	dev_spi_write(0x404,0x2c);
	dev_spi_write(0x405,0x78);
	dev_spi_write(0x406,0x4);
	dev_spi_write(0x407,0x2c);
	dev_spi_write(0x408,0xc);
	dev_spi_write(0x409,0xd0);
	dev_spi_write(0x40a,0xbb);
	dev_spi_write(0x40b,0xf1);
	dev_spi_write(0x40c,0x1);
	dev_spi_write(0x40d,0xf);
	dev_spi_write(0x40e,0x9);
	dev_spi_write(0x40f,0xd1);
	dev_spi_write(0x410,0x14);
	dev_spi_write(0x411,0xfb);
	dev_spi_write(0x412,0x9);
	dev_spi_write(0x413,0xf5);
	dev_spi_write(0x414,0x2);
	dev_spi_write(0x415,0xeb);
	dev_spi_write(0x416,0x42);
	dev_spi_write(0x417,0x6);
	dev_spi_write(0x418,0x7);
	dev_spi_write(0x419,0xfb);
	dev_spi_write(0x41a,0x2);
	dev_spi_write(0x41b,0x55);
	dev_spi_write(0x41c,0xe);
	dev_spi_write(0x41d,0xf8);
	dev_spi_write(0x41e,0x5);
	dev_spi_write(0x41f,0x10);
	dev_spi_write(0x420,0x36);
	dev_spi_write(0x421,0x19);
	dev_spi_write(0x422,0x98);
	dev_spi_write(0x423,0x55);
	dev_spi_write(0x424,0x52);
	dev_spi_write(0x425,0x1c);
	dev_spi_write(0x426,0x2);
	dev_spi_write(0x427,0x2a);
	dev_spi_write(0x428,0xa7);
	dev_spi_write(0x429,0xdb);
	dev_spi_write(0x42a,0xbd);
	dev_spi_write(0x42b,0xe8);
	dev_spi_write(0x42c,0xf8);
	dev_spi_write(0x42d,0x8f);
	dev_spi_write(0x42e,0xc0);
	dev_spi_write(0x42f,0x46);
	dev_spi_write(0x430,0x62);
	dev_spi_write(0x431,0xac);
	dev_spi_write(0x432,0x0);
	dev_spi_write(0x433,0x20);
	dev_spi_write(0x434,0x94);
	dev_spi_write(0x435,0x23);
	dev_spi_write(0x436,0x1);
	dev_spi_write(0x437,0x20);
	dev_spi_write(0x438,0x8c);
	dev_spi_write(0x439,0x23);
	dev_spi_write(0x43a,0x1);
	dev_spi_write(0x43b,0x20);
	dev_spi_write(0x43c,0xa4);
	dev_spi_write(0x43d,0xac);
	dev_spi_write(0x43e,0x0);
	dev_spi_write(0x43f,0x20);
	dev_spi_write(0x440,0x6);
	dev_spi_write(0x441,0xd6);
	dev_spi_write(0x442,0x0);
	dev_spi_write(0x443,0x20);
	dev_spi_write(0x444,0x64);
	dev_spi_write(0x445,0xd6);
	dev_spi_write(0x446,0x0);
	dev_spi_write(0x447,0x20);
	dev_spi_write(0x448,0xf8);
	dev_spi_write(0x449,0xb5);
	dev_spi_write(0x44a,0x76);
	dev_spi_write(0x44b,0x48);
	dev_spi_write(0x44c,0x77);
	dev_spi_write(0x44d,0x4b);
	dev_spi_write(0x44e,0x4);
	dev_spi_write(0x44f,0x68);
	dev_spi_write(0x450,0x44);
	dev_spi_write(0x451,0xf0);
	dev_spi_write(0x452,0x40);
	dev_spi_write(0x453,0x1);
	dev_spi_write(0x454,0xd2);
	dev_spi_write(0x455,0x4f);
	dev_spi_write(0x456,0x1);
	dev_spi_write(0x457,0x60);
	dev_spi_write(0x458,0x1e);
	dev_spi_write(0x459,0x68);
	dev_spi_write(0x45a,0x50);
	dev_spi_write(0x45b,0xf8);
	dev_spi_write(0x45c,0xc0);
	dev_spi_write(0x45d,0x1c);
	dev_spi_write(0x45e,0x72);
	dev_spi_write(0x45f,0x48);
	dev_spi_write(0x460,0x0);
	dev_spi_write(0x461,0x91);
	dev_spi_write(0x462,0x1);
	dev_spi_write(0x463,0x68);
	dev_spi_write(0x464,0x41);
	dev_spi_write(0x465,0xf0);
	dev_spi_write(0x466,0x1);
	dev_spi_write(0x467,0x1);
	dev_spi_write(0x468,0x1);
	dev_spi_write(0x469,0x60);
	dev_spi_write(0x46a,0x1);
	dev_spi_write(0x46b,0x68);
	dev_spi_write(0x46c,0x0);
	dev_spi_write(0x46d,0x25);
	dev_spi_write(0x46e,0x21);
	dev_spi_write(0x46f,0xf0);
	dev_spi_write(0x470,0x2);
	dev_spi_write(0x471,0x1);
	dev_spi_write(0x472,0x1);
	dev_spi_write(0x473,0x60);
	dev_spi_write(0x474,0x2);
	dev_spi_write(0x475,0x68);
	dev_spi_write(0x476,0x3c);
	dev_spi_write(0x477,0x60);
	dev_spi_write(0x478,0xc6);
	dev_spi_write(0x479,0xf3);
	dev_spi_write(0x47a,0x40);
	dev_spi_write(0x47b,0x11);
	dev_spi_write(0x47c,0x1);
	dev_spi_write(0x47d,0xeb);
	dev_spi_write(0x47e,0x96);
	dev_spi_write(0x47f,0x11);
	dev_spi_write(0x480,0x42);
	dev_spi_write(0x481,0xf0);
	dev_spi_write(0x482,0x8);
	dev_spi_write(0x483,0x2);
	dev_spi_write(0x484,0x2);
	dev_spi_write(0x485,0x60);
	dev_spi_write(0x486,0xf);
	dev_spi_write(0x487,0xe0);
	dev_spi_write(0x488,0x21);
	dev_spi_write(0x489,0x46);
	dev_spi_write(0x48a,0x49);
	dev_spi_write(0x48b,0x1e);
	dev_spi_write(0x48c,0xfd);
	dev_spi_write(0x48d,0xd1);
	dev_spi_write(0x48e,0x0);
	dev_spi_write(0x48f,0xbf);
	dev_spi_write(0x490,0x5b);
	dev_spi_write(0x491,0x1c);
	dev_spi_write(0x492,0x20);
	dev_spi_write(0x493,0xe0);
	dev_spi_write(0x494,0x22);
	dev_spi_write(0x495,0x46);
	dev_spi_write(0x496,0x52);
	dev_spi_write(0x497,0x1e);
	dev_spi_write(0x498,0xfd);
	dev_spi_write(0x499,0xd1);
	dev_spi_write(0x49a,0x0);
	dev_spi_write(0x49b,0xbf);
	dev_spi_write(0x49c,0x6d);
	dev_spi_write(0x49d,0x1c);
	dev_spi_write(0x49e,0xd);
	dev_spi_write(0x49f,0xe0);
	dev_spi_write(0x4a0,0x64);
	dev_spi_write(0x4a1,0x1e);
	dev_spi_write(0x4a2,0xfd);
	dev_spi_write(0x4a3,0xd1);
	dev_spi_write(0x4a4,0x0);
	dev_spi_write(0x4a5,0xbf);
	dev_spi_write(0x4a6,0x6d);
	dev_spi_write(0x4a7,0x1c);
	dev_spi_write(0x4a8,0x13);
	dev_spi_write(0x4a9,0x24);
	dev_spi_write(0x4aa,0xa9);
	dev_spi_write(0x4ab,0x42);
	dev_spi_write(0x4ac,0xc0);
	dev_spi_write(0x4ad,0xf2);
	dev_spi_write(0x4ae,0x0);
	dev_spi_write(0x4af,0x4);
	dev_spi_write(0x4b0,0xf6);
	dev_spi_write(0x4b1,0xd8);
	dev_spi_write(0x4b2,0x2);
	dev_spi_write(0x4b3,0x68);
	dev_spi_write(0x4b4,0x0);
	dev_spi_write(0x4b5,0x25);
	dev_spi_write(0x4b6,0x22);
	dev_spi_write(0x4b7,0xf0);
	dev_spi_write(0x4b8,0x8);
	dev_spi_write(0x4b9,0x2);
	dev_spi_write(0x4ba,0x2);
	dev_spi_write(0x4bb,0x60);
	dev_spi_write(0x4bc,0xa9);
	dev_spi_write(0x4bd,0x42);
	dev_spi_write(0x4be,0xe9);
	dev_spi_write(0x4bf,0xd8);
	dev_spi_write(0x4c0,0x8);
	dev_spi_write(0x4c1,0x33);
	dev_spi_write(0x4c2,0x1);
	dev_spi_write(0x4c3,0x68);
	dev_spi_write(0x4c4,0x1d);
	dev_spi_write(0x4c5,0x68);
	dev_spi_write(0x4c6,0x41);
	dev_spi_write(0x4c7,0xf0);
	dev_spi_write(0x4c8,0x2);
	dev_spi_write(0x4c9,0x1);
	dev_spi_write(0x4ca,0xc5);
	dev_spi_write(0x4cb,0xf3);
	dev_spi_write(0x4cc,0x40);
	dev_spi_write(0x4cd,0x12);
	dev_spi_write(0x4ce,0x0);
	dev_spi_write(0x4cf,0x23);
	dev_spi_write(0x4d0,0x1);
	dev_spi_write(0x4d1,0x60);
	dev_spi_write(0x4d2,0x2);
	dev_spi_write(0x4d3,0xeb);
	dev_spi_write(0x4d4,0x95);
	dev_spi_write(0x4d5,0x10);
	dev_spi_write(0x4d6,0x98);
	dev_spi_write(0x4d7,0x42);
	dev_spi_write(0x4d8,0xd6);
	dev_spi_write(0x4d9,0xd8);
	dev_spi_write(0x4da,0xf8);
	dev_spi_write(0x4db,0xbd);
	dev_spi_write(0x4dc,0x52);
	dev_spi_write(0x4dd,0x4a);
	dev_spi_write(0x4de,0xc9);
	dev_spi_write(0x4df,0x4b);
	dev_spi_write(0x4e0,0x11);
	dev_spi_write(0x4e1,0x68);
	dev_spi_write(0x4e2,0x6);
	dev_spi_write(0x4e3,0x20);
	dev_spi_write(0x4e4,0x21);
	dev_spi_write(0x4e5,0xf0);
	dev_spi_write(0x4e6,0x1);
	dev_spi_write(0x4e7,0x1);
	dev_spi_write(0x4e8,0x11);
	dev_spi_write(0x4e9,0x60);
	dev_spi_write(0x4ea,0x53);
	dev_spi_write(0x4eb,0xf8);
	dev_spi_write(0x4ec,0x4);
	dev_spi_write(0x4ed,0x2b);
	dev_spi_write(0x4ee,0xd2);
	dev_spi_write(0x4ef,0xf8);
	dev_spi_write(0x4f0,0x18);
	dev_spi_write(0x4f1,0x11);
	dev_spi_write(0x4f2,0x40);
	dev_spi_write(0x4f3,0x1e);
	dev_spi_write(0x4f4,0x21);
	dev_spi_write(0x4f5,0xf4);
	dev_spi_write(0x4f6,0x0);
	dev_spi_write(0x4f7,0x71);
	dev_spi_write(0x4f8,0xc2);
	dev_spi_write(0x4f9,0xf8);
	dev_spi_write(0x4fa,0x18);
	dev_spi_write(0x4fb,0x11);
	dev_spi_write(0x4fc,0xf5);
	dev_spi_write(0x4fd,0xd1);
	dev_spi_write(0x4fe,0xd8);
	dev_spi_write(0x4ff,0x48);
	dev_spi_write(0x500,0x1);
	dev_spi_write(0x501,0x68);
	dev_spi_write(0x502,0x4a);
	dev_spi_write(0x503,0x4a);
	dev_spi_write(0x504,0xd1);
	dev_spi_write(0x505,0xf8);
	dev_spi_write(0x506,0x4);
	dev_spi_write(0x507,0x5);
	dev_spi_write(0x508,0x20);
	dev_spi_write(0x509,0xf0);
	dev_spi_write(0x50a,0x3f);
	dev_spi_write(0x50b,0x0);
	dev_spi_write(0x50c,0xc1);
	dev_spi_write(0x50d,0xf8);
	dev_spi_write(0x50e,0x4);
	dev_spi_write(0x50f,0x5);
	dev_spi_write(0x510,0x12);
	dev_spi_write(0x511,0x68);
	dev_spi_write(0x512,0x0);
	dev_spi_write(0x513,0x21);
	dev_spi_write(0x514,0xc2);
	dev_spi_write(0x515,0xf3);
	dev_spi_write(0x516,0x40);
	dev_spi_write(0x517,0x10);
	dev_spi_write(0x518,0x0);
	dev_spi_write(0x519,0xeb);
	dev_spi_write(0x51a,0x92);
	dev_spi_write(0x51b,0x10);
	dev_spi_write(0x51c,0x6);
	dev_spi_write(0x51d,0xe0);
	dev_spi_write(0x51e,0x13);
	dev_spi_write(0x51f,0x22);
	dev_spi_write(0x520,0xc0);
	dev_spi_write(0x521,0xf2);
	dev_spi_write(0x522,0x0);
	dev_spi_write(0x523,0x2);
	dev_spi_write(0x524,0x52);
	dev_spi_write(0x525,0x1e);
	dev_spi_write(0x526,0xfd);
	dev_spi_write(0x527,0xd1);
	dev_spi_write(0x528,0x0);
	dev_spi_write(0x529,0xbf);
	dev_spi_write(0x52a,0x49);
	dev_spi_write(0x52b,0x1c);
	dev_spi_write(0x52c,0x88);
	dev_spi_write(0x52d,0x42);
	dev_spi_write(0x52e,0xf6);
	dev_spi_write(0x52f,0xd8);
	dev_spi_write(0x530,0x9b);
	dev_spi_write(0x531,0x48);
	dev_spi_write(0x532,0x3c);
	dev_spi_write(0x533,0x49);
	dev_spi_write(0x534,0x0);
	dev_spi_write(0x535,0x68);
	dev_spi_write(0x536,0x8);
	dev_spi_write(0x537,0x60);
	dev_spi_write(0x538,0x70);
	dev_spi_write(0x539,0x47);
	dev_spi_write(0x53a,0x3b);
	dev_spi_write(0x53b,0x49);
	dev_spi_write(0x53c,0x1);
	dev_spi_write(0x53d,0x28);
	dev_spi_write(0x53e,0xf8);
	dev_spi_write(0x53f,0xb5);
	dev_spi_write(0x540,0x9);
	dev_spi_write(0x541,0xd0);
	dev_spi_write(0x542,0xa);
	dev_spi_write(0x543,0x68);
	dev_spi_write(0x544,0x22);
	dev_spi_write(0x545,0xf4);
	dev_spi_write(0x546,0x60);
	dev_spi_write(0x547,0x2);
	dev_spi_write(0x548,0x2);
	dev_spi_write(0x549,0xf5);
	dev_spi_write(0x54a,0x0);
	dev_spi_write(0x54b,0x12);
	dev_spi_write(0x54c,0xa);
	dev_spi_write(0x54d,0x60);
	dev_spi_write(0x54e,0xa);
	dev_spi_write(0x54f,0x68);
	dev_spi_write(0x550,0x22);
	dev_spi_write(0x551,0xf4);
	dev_spi_write(0x552,0xe0);
	dev_spi_write(0x553,0x12);
	dev_spi_write(0x554,0x8);
	dev_spi_write(0x555,0xe0);
	dev_spi_write(0x556,0xa);
	dev_spi_write(0x557,0x68);
	dev_spi_write(0x558,0x22);
	dev_spi_write(0x559,0xf4);
	dev_spi_write(0x55a,0x60);
	dev_spi_write(0x55b,0x2);
	dev_spi_write(0x55c,0xa);
	dev_spi_write(0x55d,0x60);
	dev_spi_write(0x55e,0xa);
	dev_spi_write(0x55f,0x68);
	dev_spi_write(0x560,0x22);
	dev_spi_write(0x561,0xf4);
	dev_spi_write(0x562,0xe0);
	dev_spi_write(0x563,0x12);
	dev_spi_write(0x564,0x2);
	dev_spi_write(0x565,0xf5);
	dev_spi_write(0x566,0x80);
	dev_spi_write(0x567,0x22);
	dev_spi_write(0x568,0x30);
	dev_spi_write(0x569,0x4d);
	dev_spi_write(0x56a,0xa);
	dev_spi_write(0x56b,0x60);
	dev_spi_write(0x56c,0x0);
	dev_spi_write(0x56d,0x23);
	dev_spi_write(0x56e,0x2a);
	dev_spi_write(0x56f,0x1d);
	dev_spi_write(0x570,0xb);
	dev_spi_write(0x571,0x75);
	dev_spi_write(0x572,0x16);
	dev_spi_write(0x573,0x68);
	dev_spi_write(0x574,0xc);
	dev_spi_write(0x575,0x68);
	dev_spi_write(0x576,0x1f);
	dev_spi_write(0x577,0x46);
	dev_spi_write(0x578,0xc6);
	dev_spi_write(0x579,0xf3);
	dev_spi_write(0x57a,0x40);
	dev_spi_write(0x57b,0x12);
	dev_spi_write(0x57c,0x24);
	dev_spi_write(0x57d,0xf0);
	dev_spi_write(0x57e,0x2);
	dev_spi_write(0x57f,0x4);
	dev_spi_write(0x580,0x2);
	dev_spi_write(0x581,0xeb);
	dev_spi_write(0x582,0x96);
	dev_spi_write(0x583,0x12);
	dev_spi_write(0x584,0xc);
	dev_spi_write(0x585,0x60);
	dev_spi_write(0x586,0xf);
	dev_spi_write(0x587,0xe0);
	dev_spi_write(0x588,0x34);
	dev_spi_write(0x589,0x46);
	dev_spi_write(0x58a,0x64);
	dev_spi_write(0x58b,0x1e);
	dev_spi_write(0x58c,0xfd);
	dev_spi_write(0x58d,0xd1);
	dev_spi_write(0x58e,0x0);
	dev_spi_write(0x58f,0xbf);
	dev_spi_write(0x590,0x5b);
	dev_spi_write(0x591,0x1c);
	dev_spi_write(0x592,0x1d);
	dev_spi_write(0x593,0xe0);
	dev_spi_write(0x594,0x37);
	dev_spi_write(0x595,0x46);
	dev_spi_write(0x596,0x7f);
	dev_spi_write(0x597,0x1e);
	dev_spi_write(0x598,0xfd);
	dev_spi_write(0x599,0xd1);
	dev_spi_write(0x59a,0x0);
	dev_spi_write(0x59b,0xbf);
	dev_spi_write(0x59c,0x6d);
	dev_spi_write(0x59d,0x1c);
	dev_spi_write(0x59e,0x13);
	dev_spi_write(0x59f,0xe0);
	dev_spi_write(0x5a0,0x76);
	dev_spi_write(0x5a1,0x1e);
	dev_spi_write(0x5a2,0xfd);
	dev_spi_write(0x5a3,0xd1);
	dev_spi_write(0x5a4,0x0);
	dev_spi_write(0x5a5,0xbf);
	dev_spi_write(0x5a6,0x7f);
	dev_spi_write(0x5a7,0x1c);
	dev_spi_write(0x5a8,0x13);
	dev_spi_write(0x5a9,0x26);
	dev_spi_write(0x5aa,0xba);
	dev_spi_write(0x5ab,0x42);
	dev_spi_write(0x5ac,0xc0);
	dev_spi_write(0x5ad,0xf2);
	dev_spi_write(0x5ae,0x0);
	dev_spi_write(0x5af,0x6);
	dev_spi_write(0x5b0,0xf6);
	dev_spi_write(0x5b1,0xd8);
	dev_spi_write(0x5b2,0x8);
	dev_spi_write(0x5b3,0x35);
	dev_spi_write(0x5b4,0xc);
	dev_spi_write(0x5b5,0x68);
	dev_spi_write(0x5b6,0x2f);
	dev_spi_write(0x5b7,0x68);
	dev_spi_write(0x5b8,0x44);
	dev_spi_write(0x5b9,0xf0);
	dev_spi_write(0x5ba,0x2);
	dev_spi_write(0x5bb,0x4);
	dev_spi_write(0x5bc,0xc7);
	dev_spi_write(0x5bd,0xf3);
	dev_spi_write(0x5be,0x40);
	dev_spi_write(0x5bf,0x1c);
	dev_spi_write(0x5c0,0x1d);
	dev_spi_write(0x5c1,0x46);
	dev_spi_write(0x5c2,0xc);
	dev_spi_write(0x5c3,0x60);
	dev_spi_write(0x5c4,0xc);
	dev_spi_write(0x5c5,0xeb);
	dev_spi_write(0x5c6,0x97);
	dev_spi_write(0x5c7,0x14);
	dev_spi_write(0x5c8,0xac);
	dev_spi_write(0x5c9,0x42);
	dev_spi_write(0x5ca,0xe3);
	dev_spi_write(0x5cb,0xd8);
	dev_spi_write(0x5cc,0x1);
	dev_spi_write(0x5cd,0x24);
	dev_spi_write(0x5ce,0xc);
	dev_spi_write(0x5cf,0x75);
	dev_spi_write(0x5d0,0x9a);
	dev_spi_write(0x5d1,0x42);
	dev_spi_write(0x5d2,0xd9);
	dev_spi_write(0x5d3,0xd8);
	dev_spi_write(0x5d4,0xb1);
	dev_spi_write(0x5d5,0xf9);
	dev_spi_write(0x5d6,0x10);
	dev_spi_write(0x5d7,0x10);
	dev_spi_write(0x5d8,0x1);
	dev_spi_write(0x5d9,0x28);
	dev_spi_write(0x5da,0xc);
	dev_spi_write(0x5db,0xbf);
	dev_spi_write(0x5dc,0xc1);
	dev_spi_write(0x5dd,0xf5);
	dev_spi_write(0x5de,0x40);
	dev_spi_write(0x5df,0x61);
	dev_spi_write(0x5e0,0xa1);
	dev_spi_write(0x5e1,0xf5);
	dev_spi_write(0x5e2,0x80);
	dev_spi_write(0x5e3,0x61);
	dev_spi_write(0x5e4,0x8);
	dev_spi_write(0x5e5,0xb2);
	dev_spi_write(0x5e6,0xf8);
	dev_spi_write(0x5e7,0xbd);
	dev_spi_write(0x5e8,0xaf);
	dev_spi_write(0x5e9,0x4a);
	dev_spi_write(0x5ea,0xb2);
	dev_spi_write(0x5eb,0xf9);
	dev_spi_write(0x5ec,0x0);
	dev_spi_write(0x5ed,0x20);
	dev_spi_write(0x5ee,0x48);
	dev_spi_write(0x5ef,0x43);
	dev_spi_write(0x5f0,0x0);
	dev_spi_write(0x5f1,0x28);
	dev_spi_write(0x5f2,0xcc);
	dev_spi_write(0x5f3,0xbf);
	dev_spi_write(0x5f4,0x0);
	dev_spi_write(0x5f5,0xeb);
	dev_spi_write(0x5f6,0x62);
	dev_spi_write(0x5f7,0x0);
	dev_spi_write(0x5f8,0xa0);
	dev_spi_write(0x5f9,0xeb);
	dev_spi_write(0x5fa,0x62);
	dev_spi_write(0x5fb,0x0);
	dev_spi_write(0x5fc,0x90);
	dev_spi_write(0x5fd,0xfb);
	dev_spi_write(0x5fe,0xf2);
	dev_spi_write(0x5ff,0xf0);
	dev_spi_write(0x600,0x70);
	dev_spi_write(0x601,0x47);
	dev_spi_write(0x602,0x3);
	dev_spi_write(0x603,0x46);
	dev_spi_write(0x604,0x0);
	dev_spi_write(0x605,0x28);
	dev_spi_write(0x606,0xb8);
	dev_spi_write(0x607,0xbf);
	dev_spi_write(0x608,0x40);
	dev_spi_write(0x609,0x42);
	dev_spi_write(0x60a,0x49);
	dev_spi_write(0x60b,0xb2);
	dev_spi_write(0x60c,0x1);
	dev_spi_write(0x60d,0x22);
	dev_spi_write(0x60e,0x49);
	dev_spi_write(0x60f,0x1e);
	dev_spi_write(0x610,0xc9);
	dev_spi_write(0x611,0xb2);
	dev_spi_write(0x612,0x8a);
	dev_spi_write(0x613,0x40);
	dev_spi_write(0x614,0x51);
	dev_spi_write(0x615,0x1e);
	dev_spi_write(0x616,0x81);
	dev_spi_write(0x617,0x42);
	dev_spi_write(0x618,0x38);
	dev_spi_write(0x619,0xbf);
	dev_spi_write(0x61a,0x8);
	dev_spi_write(0x61b,0x1c);
	dev_spi_write(0x61c,0x0);
	dev_spi_write(0x61d,0x2b);
	dev_spi_write(0x61e,0x48);
	dev_spi_write(0x61f,0xbf);
	dev_spi_write(0x620,0x10);
	dev_spi_write(0x621,0x44);
	dev_spi_write(0x622,0x70);
	dev_spi_write(0x623,0x47);
	dev_spi_write(0x624,0xc0);
	dev_spi_write(0x625,0x0);
	dev_spi_write(0x626,0x3);
	dev_spi_write(0x627,0xad);
	dev_spi_write(0x628,0x0);
	dev_spi_write(0x629,0x5);
	dev_spi_write(0x62a,0x2);
	dev_spi_write(0x62b,0xac);
	dev_spi_write(0x62c,0x5c);
	dev_spi_write(0x62d,0x23);
	dev_spi_write(0x62e,0x1);
	dev_spi_write(0x62f,0x20);
	dev_spi_write(0x630,0x2d);
	dev_spi_write(0x631,0xe9);
	dev_spi_write(0x632,0xf0);
	dev_spi_write(0x633,0x4f);
	dev_spi_write(0x634,0xdf);
	dev_spi_write(0x635,0xf8);
	dev_spi_write(0x636,0x74);
	dev_spi_write(0x637,0x82);
	dev_spi_write(0x638,0xd8);
	dev_spi_write(0x639,0xf8);
	dev_spi_write(0x63a,0x0);
	dev_spi_write(0x63b,0x32);
	dev_spi_write(0x63c,0xc);
	dev_spi_write(0x63d,0x46);
	dev_spi_write(0x63e,0x81);
	dev_spi_write(0x63f,0x46);
	dev_spi_write(0x640,0x1);
	dev_spi_write(0x641,0x21);
	dev_spi_write(0x642,0x0);
	dev_spi_write(0x643,0x20);
	dev_spi_write(0x644,0xa);
	dev_spi_write(0x645,0x46);
	dev_spi_write(0x646,0xad);
	dev_spi_write(0x647,0xf1);
	dev_spi_write(0x648,0x1c);
	dev_spi_write(0x649,0xd);
	dev_spi_write(0x64a,0x98);
	dev_spi_write(0x64b,0x47);
	dev_spi_write(0x64c,0xff);
	dev_spi_write(0x64d,0xf7);
	dev_spi_write(0x64e,0xfc);
	dev_spi_write(0x64f,0xfe);
	dev_spi_write(0x650,0x48);
	dev_spi_write(0x651,0x46);
	dev_spi_write(0x652,0x0);
	dev_spi_write(0x653,0x2c);
	dev_spi_write(0x654,0x5);
	dev_spi_write(0x655,0x94);
	dev_spi_write(0x656,0x0);
	dev_spi_write(0x657,0xf0);
	dev_spi_write(0x658,0xf7);
	dev_spi_write(0x659,0x80);
	dev_spi_write(0x65a,0xdf);
	dev_spi_write(0x65b,0xf8);
	dev_spi_write(0x65c,0x54);
	dev_spi_write(0x65d,0x82);
	dev_spi_write(0x65e,0x95);
	dev_spi_write(0x65f,0x4f);
	dev_spi_write(0x660,0x40);
	dev_spi_write(0x661,0x1e);
	dev_spi_write(0x662,0x4f);
	dev_spi_write(0x663,0xf0);
	dev_spi_write(0x664,0x0);
	dev_spi_write(0x665,0xb);
	dev_spi_write(0x666,0x4);
	dev_spi_write(0x667,0x90);
	dev_spi_write(0x668,0x4);
	dev_spi_write(0x669,0x98);
	dev_spi_write(0x66a,0x66);
	dev_spi_write(0x66b,0x4b);
	dev_spi_write(0x66c,0x3);
	dev_spi_write(0x66d,0x25);
	dev_spi_write(0x66e,0x6);
	dev_spi_write(0x66f,0x26);
	dev_spi_write(0x670,0x10);
	dev_spi_write(0x671,0xf8);
	dev_spi_write(0x672,0x1);
	dev_spi_write(0x673,0xcf);
	dev_spi_write(0x674,0x4);
	dev_spi_write(0x675,0x90);
	dev_spi_write(0x676,0x9c);
	dev_spi_write(0x677,0xfb);
	dev_spi_write(0x678,0xf5);
	dev_spi_write(0x679,0xf2);
	dev_spi_write(0x67a,0x53);
	dev_spi_write(0x67b,0xf8);
	dev_spi_write(0x67c,0x4);
	dev_spi_write(0x67d,0x1b);
	dev_spi_write(0x67e,0xd1);
	dev_spi_write(0x67f,0xf8);
	dev_spi_write(0x680,0x18);
	dev_spi_write(0x681,0x1);
	dev_spi_write(0x682,0x20);
	dev_spi_write(0x683,0xf4);
	dev_spi_write(0x684,0x0);
	dev_spi_write(0x685,0x70);
	dev_spi_write(0x686,0xc1);
	dev_spi_write(0x687,0xf8);
	dev_spi_write(0x688,0x18);
	dev_spi_write(0x689,0x1);
	dev_spi_write(0x68a,0x8);
	dev_spi_write(0x68b,0x6e);
	dev_spi_write(0x68c,0x76);
	dev_spi_write(0x68d,0x1e);
	dev_spi_write(0x68e,0x20);
	dev_spi_write(0x68f,0xf0);
	dev_spi_write(0x690,0x0);
	dev_spi_write(0x691,0x70);
	dev_spi_write(0x692,0x8);
	dev_spi_write(0x693,0x66);
	dev_spi_write(0x694,0xf1);
	dev_spi_write(0x695,0xd1);
	dev_spi_write(0x696,0x5b);
	dev_spi_write(0x697,0x48);
	dev_spi_write(0x698,0x50);
	dev_spi_write(0x699,0xf8);
	dev_spi_write(0x69a,0x2c);
	dev_spi_write(0x69b,0x40);
	dev_spi_write(0x69c,0xd4);
	dev_spi_write(0x69d,0xf8);
	dev_spi_write(0x69e,0x18);
	dev_spi_write(0x69f,0x1);
	dev_spi_write(0x6a0,0x40);
	dev_spi_write(0x6a1,0xf4);
	dev_spi_write(0x6a2,0x0);
	dev_spi_write(0x6a3,0x70);
	dev_spi_write(0x6a4,0xc4);
	dev_spi_write(0x6a5,0xf8);
	dev_spi_write(0x6a6,0x18);
	dev_spi_write(0x6a7,0x1);
	dev_spi_write(0x6a8,0x20);
	dev_spi_write(0x6a9,0x6e);
	dev_spi_write(0x6aa,0x40);
	dev_spi_write(0x6ab,0xf0);
	dev_spi_write(0x6ac,0x80);
	dev_spi_write(0x6ad,0x60);
	dev_spi_write(0x6ae,0x20);
	dev_spi_write(0x6af,0x66);
	dev_spi_write(0x6b0,0x20);
	dev_spi_write(0x6b1,0x68);
	dev_spi_write(0x6b2,0x1);
	dev_spi_write(0x6b3,0x2a);
	dev_spi_write(0x6b4,0x0);
	dev_spi_write(0x6b5,0x90);
	dev_spi_write(0x6b6,0xc);
	dev_spi_write(0x6b7,0xd0);
	dev_spi_write(0x6b8,0xd8);
	dev_spi_write(0x6b9,0xf8);
	dev_spi_write(0x6ba,0x0);
	dev_spi_write(0x6bb,0x0);
	dev_spi_write(0x6bc,0x20);
	dev_spi_write(0x6bd,0xf0);
	dev_spi_write(0x6be,0x38);
	dev_spi_write(0x6bf,0x0);
	dev_spi_write(0x6c0,0x38);
	dev_spi_write(0x6c1,0x30);
	dev_spi_write(0x6c2,0xc8);
	dev_spi_write(0x6c3,0xf8);
	dev_spi_write(0x6c4,0x0);
	dev_spi_write(0x6c5,0x0);
	dev_spi_write(0x6c6,0xd8);
	dev_spi_write(0x6c7,0xf8);
	dev_spi_write(0x6c8,0x0);
	dev_spi_write(0x6c9,0x0);
	dev_spi_write(0x6ca,0x20);
	dev_spi_write(0x6cb,0xf0);
	dev_spi_write(0x6cc,0x7);
	dev_spi_write(0x6cd,0x0);
	dev_spi_write(0x6ce,0xc0);
	dev_spi_write(0x6cf,0x1d);
	dev_spi_write(0x6d0,0xb);
	dev_spi_write(0x6d1,0xe0);
	dev_spi_write(0x6d2,0xd8);
	dev_spi_write(0x6d3,0xf8);
	dev_spi_write(0x6d4,0x0);
	dev_spi_write(0x6d5,0x0);
	dev_spi_write(0x6d6,0x20);
	dev_spi_write(0x6d7,0xf0);
	dev_spi_write(0x6d8,0x38);
	dev_spi_write(0x6d9,0x0);
	dev_spi_write(0x6da,0x30);
	dev_spi_write(0x6db,0x30);
	dev_spi_write(0x6dc,0xc8);
	dev_spi_write(0x6dd,0xf8);
	dev_spi_write(0x6de,0x0);
	dev_spi_write(0x6df,0x0);
	dev_spi_write(0x6e0,0xd8);
	dev_spi_write(0x6e1,0xf8);
	dev_spi_write(0x6e2,0x0);
	dev_spi_write(0x6e3,0x0);
	dev_spi_write(0x6e4,0x20);
	dev_spi_write(0x6e5,0xf0);
	dev_spi_write(0x6e6,0x7);
	dev_spi_write(0x6e7,0x0);
	dev_spi_write(0x6e8,0x80);
	dev_spi_write(0x6e9,0x1d);
	dev_spi_write(0x6ea,0xc8);
	dev_spi_write(0x6eb,0xf8);
	dev_spi_write(0x6ec,0x0);
	dev_spi_write(0x6ed,0x0);
	dev_spi_write(0x6ee,0x0);
	dev_spi_write(0x6ef,0x20);
	dev_spi_write(0x6f0,0xff);
	dev_spi_write(0x6f1,0xf7);
	dev_spi_write(0x6f2,0x23);
	dev_spi_write(0x6f3,0xff);
	dev_spi_write(0x6f4,0x5);
	dev_spi_write(0x6f5,0x46);
	dev_spi_write(0x6f6,0x1);
	dev_spi_write(0x6f7,0x20);
	dev_spi_write(0x6f8,0xff);
	dev_spi_write(0x6f9,0xf7);
	dev_spi_write(0x6fa,0x1f);
	dev_spi_write(0x6fb,0xff);
	dev_spi_write(0x6fc,0x28);
	dev_spi_write(0x6fd,0x49);
	dev_spi_write(0x6fe,0x4d);
	dev_spi_write(0x6ff,0x60);
	dev_spi_write(0x700,0xe);
	dev_spi_write(0x701,0x46);
	dev_spi_write(0x702,0xb0);
	dev_spi_write(0x703,0x60);
	dev_spi_write(0x704,0x21);
	dev_spi_write(0x705,0x6e);
	dev_spi_write(0x706,0x21);
	dev_spi_write(0x707,0xf0);
	dev_spi_write(0x708,0x80);
	dev_spi_write(0x709,0x61);
	dev_spi_write(0x70a,0x21);
	dev_spi_write(0x70b,0x66);
	dev_spi_write(0x70c,0x21);
	dev_spi_write(0x70d,0x6e);
	dev_spi_write(0x70e,0x41);
	dev_spi_write(0x70f,0xf0);
	dev_spi_write(0x710,0x0);
	dev_spi_write(0x711,0x71);
	dev_spi_write(0x712,0x21);
	dev_spi_write(0x713,0x66);
	dev_spi_write(0x714,0x61);
	dev_spi_write(0x715,0x6e);
	dev_spi_write(0x716,0x2b);
	dev_spi_write(0x717,0x18);
	dev_spi_write(0x718,0x4f);
	dev_spi_write(0x719,0xea);
	dev_spi_write(0x71a,0x63);
	dev_spi_write(0x71b,0xa);
	dev_spi_write(0x71c,0x0);
	dev_spi_write(0x71d,0x26);
	dev_spi_write(0x71e,0xc1);
	dev_spi_write(0x71f,0xf3);
	dev_spi_write(0x720,0xc0);
	dev_spi_write(0x721,0x43);
	dev_spi_write(0x722,0x0);
	dev_spi_write(0x723,0x2b);
	dev_spi_write(0x724,0x5d);
	dev_spi_write(0x725,0xd1);
	dev_spi_write(0x726,0x35);
	dev_spi_write(0x727,0x46);
	dev_spi_write(0x728,0xb1);
	dev_spi_write(0x729,0x46);
	dev_spi_write(0x72a,0x23);
	dev_spi_write(0x72b,0xe0);
	dev_spi_write(0x72c,0x28);
	dev_spi_write(0x72d,0x46);
	dev_spi_write(0x72e,0xff);
	dev_spi_write(0x72f,0xf7);
	dev_spi_write(0x730,0x4);
	dev_spi_write(0x731,0xff);
	dev_spi_write(0x732,0xb7);
	dev_spi_write(0x733,0xf9);
	dev_spi_write(0x734,0x0);
	dev_spi_write(0x735,0x10);
	dev_spi_write(0x736,0xaa);
	dev_spi_write(0x737,0xeb);
	dev_spi_write(0x738,0x0);
	dev_spi_write(0x739,0x0);
	dev_spi_write(0x73a,0xff);
	dev_spi_write(0x73b,0xf7);
	dev_spi_write(0x73c,0x55);
	dev_spi_write(0x73d,0xff);
	dev_spi_write(0x73e,0x36);
	dev_spi_write(0x73f,0x1a);
	dev_spi_write(0x740,0x3);
	dev_spi_write(0x741,0xd4);
	dev_spi_write(0x742,0x10);
	dev_spi_write(0x743,0x2e);
	dev_spi_write(0x744,0xa8);
	dev_spi_write(0x745,0xbf);
	dev_spi_write(0x746,0xf);
	dev_spi_write(0x747,0x26);
	dev_spi_write(0x748,0x4);
	dev_spi_write(0x749,0xe0);
	dev_spi_write(0x74a,0x16);
	dev_spi_write(0x74b,0xf1);
	dev_spi_write(0x74c,0xf);
	dev_spi_write(0x74d,0xf);
	dev_spi_write(0x74e,0xb8);
	dev_spi_write(0x74f,0xbf);
	dev_spi_write(0x750,0x6f);
	dev_spi_write(0x751,0xf0);
	dev_spi_write(0x752,0xe);
	dev_spi_write(0x753,0x6);
	dev_spi_write(0x754,0x30);
	dev_spi_write(0x755,0x46);
	dev_spi_write(0x756,0x5);
	dev_spi_write(0x757,0x21);
	dev_spi_write(0x758,0xff);
	dev_spi_write(0x759,0xf7);
	dev_spi_write(0x75a,0x53);
	dev_spi_write(0x75b,0xff);
	dev_spi_write(0x75c,0xd4);
	dev_spi_write(0x75d,0xf8);
	dev_spi_write(0x75e,0x80);
	dev_spi_write(0x75f,0x10);
	dev_spi_write(0x760,0x60);
	dev_spi_write(0x761,0xf3);
	dev_spi_write(0x762,0x1c);
	dev_spi_write(0x763,0x61);
	dev_spi_write(0x764,0xc4);
	dev_spi_write(0x765,0xf8);
	dev_spi_write(0x766,0x80);
	dev_spi_write(0x767,0x10);
	dev_spi_write(0x768,0x20);
	dev_spi_write(0x769,0x68);
	dev_spi_write(0x76a,0x9);
	dev_spi_write(0x76b,0xf1);
	dev_spi_write(0x76c,0x1);
	dev_spi_write(0x76d,0x3);
	dev_spi_write(0x76e,0x5f);
	dev_spi_write(0x76f,0xfa);
	dev_spi_write(0x770,0x83);
	dev_spi_write(0x771,0xf9);
	dev_spi_write(0x772,0x1);
	dev_spi_write(0x773,0x90);
	dev_spi_write(0x774,0xb8);
	dev_spi_write(0x775,0x79);
	dev_spi_write(0x776,0x48);
	dev_spi_write(0x777,0x45);
	dev_spi_write(0x778,0xd8);
	dev_spi_write(0x779,0xdc);
	dev_spi_write(0x77a,0x2e);
	dev_spi_write(0x77b,0x46);
	dev_spi_write(0x77c,0xb0);
	dev_spi_write(0x77d,0x42);
	dev_spi_write(0x77e,0x59);
	dev_spi_write(0x77f,0xdd);
	dev_spi_write(0x780,0x1);
	dev_spi_write(0x781,0x20);
	dev_spi_write(0x782,0xff);
	dev_spi_write(0x783,0xf7);
	dev_spi_write(0x784,0xda);
	dev_spi_write(0x785,0xfe);
	dev_spi_write(0x786,0xb7);
	dev_spi_write(0x787,0xf9);
	dev_spi_write(0x788,0x2);
	dev_spi_write(0x789,0x10);
	dev_spi_write(0x78a,0xaa);
	dev_spi_write(0x78b,0xeb);
	dev_spi_write(0x78c,0x0);
	dev_spi_write(0x78d,0x0);
	dev_spi_write(0x78e,0xff);
	dev_spi_write(0x78f,0xf7);
	dev_spi_write(0x790,0x2b);
	dev_spi_write(0x791,0xff);
	dev_spi_write(0x792,0x2d);
	dev_spi_write(0x793,0x18);
	dev_spi_write(0x794,0x6);
	dev_spi_write(0x795,0xd4);
	dev_spi_write(0x796,0x8);
	dev_spi_write(0x797,0x2d);
	dev_spi_write(0x798,0xa8);
	dev_spi_write(0x799,0xbf);
	dev_spi_write(0x79a,0x7);
	dev_spi_write(0x79b,0x25);
	dev_spi_write(0x79c,0x7);
	dev_spi_write(0x79d,0xe0);
	dev_spi_write(0x79e,0xc0);
	dev_spi_write(0x79f,0x46);
	dev_spi_write(0x7a0,0x78);
	dev_spi_write(0x7a1,0x23);
	dev_spi_write(0x7a2,0x1);
	dev_spi_write(0x7a3,0x20);
	dev_spi_write(0x7a4,0x15);
	dev_spi_write(0x7a5,0xf1);
	dev_spi_write(0x7a6,0x7);
	dev_spi_write(0x7a7,0xf);
	dev_spi_write(0x7a8,0xb8);
	dev_spi_write(0x7a9,0xbf);
	dev_spi_write(0x7aa,0x6f);
	dev_spi_write(0x7ab,0xf0);
	dev_spi_write(0x7ac,0x6);
	dev_spi_write(0x7ad,0x5);
	dev_spi_write(0x7ae,0x0);
	dev_spi_write(0x7af,0x21);
	dev_spi_write(0x7b0,0x0);
	dev_spi_write(0x7b1,0x2d);
	dev_spi_write(0x7b2,0xd8);
	dev_spi_write(0x7b3,0xbf);
	dev_spi_write(0x7b4,0x1);
	dev_spi_write(0x7b5,0x21);
	dev_spi_write(0x7b6,0x20);
	dev_spi_write(0x7b7,0x6f);
	dev_spi_write(0x7b8,0x20);
	dev_spi_write(0x7b9,0xf4);
	dev_spi_write(0x7ba,0x0);
	dev_spi_write(0x7bb,0x50);
	dev_spi_write(0x7bc,0x40);
	dev_spi_write(0x7bd,0xea);
	dev_spi_write(0x7be,0x41);
	dev_spi_write(0x7bf,0x30);
	dev_spi_write(0x7c0,0x20);
	dev_spi_write(0x7c1,0x67);
	dev_spi_write(0x7c2,0x29);
	dev_spi_write(0x7c3,0x46);
	dev_spi_write(0x7c4,0x0);
	dev_spi_write(0x7c5,0x29);
	dev_spi_write(0x7c6,0xb8);
	dev_spi_write(0x7c7,0xbf);
	dev_spi_write(0x7c8,0x49);
	dev_spi_write(0x7c9,0x42);
	dev_spi_write(0x7ca,0xd4);
	dev_spi_write(0x7cb,0xf8);
	dev_spi_write(0x7cc,0x84);
	dev_spi_write(0x7cd,0x0);
	dev_spi_write(0x7ce,0x61);
	dev_spi_write(0x7cf,0xf3);
	dev_spi_write(0x7d0,0x8c);
	dev_spi_write(0x7d1,0x20);
	dev_spi_write(0x7d2,0xc4);
	dev_spi_write(0x7d3,0xf8);
	dev_spi_write(0x7d4,0x84);
	dev_spi_write(0x7d5,0x0);
	dev_spi_write(0x7d6,0xb8);
	dev_spi_write(0x7d7,0x79);
	dev_spi_write(0x7d8,0x21);
	dev_spi_write(0x7d9,0x68);
	dev_spi_write(0x7da,0x76);
	dev_spi_write(0x7db,0x1c);
	dev_spi_write(0x7dc,0xf6);
	dev_spi_write(0x7dd,0xb2);
	dev_spi_write(0x7de,0x2);
	dev_spi_write(0x7df,0x91);
	dev_spi_write(0x7e0,0xcc);
	dev_spi_write(0x7e1,0xe7);
	dev_spi_write(0x7e2,0x35);
	dev_spi_write(0x7e3,0x46);
	dev_spi_write(0x7e4,0x23);
	dev_spi_write(0x7e5,0xe0);
	dev_spi_write(0x7e6,0x1);
	dev_spi_write(0x7e7,0x20);
	dev_spi_write(0x7e8,0xff);
	dev_spi_write(0x7e9,0xf7);
	dev_spi_write(0x7ea,0xa7);
	dev_spi_write(0x7eb,0xfe);
	dev_spi_write(0x7ec,0xb7);
	dev_spi_write(0x7ed,0xf9);
	dev_spi_write(0x7ee,0x0);
	dev_spi_write(0x7ef,0x10);
	dev_spi_write(0x7f0,0xaa);
	dev_spi_write(0x7f1,0xeb);
	dev_spi_write(0x7f2,0x0);
	dev_spi_write(0x7f3,0x0);
	dev_spi_write(0x7f4,0xff);
	dev_spi_write(0x7f5,0xf7);
	dev_spi_write(0x7f6,0xf8);
	dev_spi_write(0x7f7,0xfe);
	dev_spi_write(0x7f8,0x36);
	dev_spi_write(0x7f9,0x1a);
	dev_spi_write(0x7fa,0x5);
	dev_spi_write(0x7fb,0xd4);
	dev_spi_write(0x7fc,0x10);
	dev_spi_write(0x7fd,0x2e);
	dev_spi_write(0x7fe,0xa8);
	dev_spi_write(0x7ff,0xbf);
	dev_spi_write(0x800,0xf);
	dev_spi_write(0x801,0x26);
	dev_spi_write(0x802,0x6);
	dev_spi_write(0x803,0xe0);
	dev_spi_write(0x804,0xc0);
	dev_spi_write(0x805,0x75);
	dev_spi_write(0x806,0x2);
	dev_spi_write(0x807,0x0);
	dev_spi_write(0x808,0x16);
	dev_spi_write(0x809,0xf1);
	dev_spi_write(0x80a,0xf);
	dev_spi_write(0x80b,0xf);
	dev_spi_write(0x80c,0xb8);
	dev_spi_write(0x80d,0xbf);
	dev_spi_write(0x80e,0x6f);
	dev_spi_write(0x80f,0xf0);
	dev_spi_write(0x810,0xe);
	dev_spi_write(0x811,0x6);
	dev_spi_write(0x812,0x30);
	dev_spi_write(0x813,0x46);
	dev_spi_write(0x814,0x5);
	dev_spi_write(0x815,0x21);
	dev_spi_write(0x816,0xff);
	dev_spi_write(0x817,0xf7);
	dev_spi_write(0x818,0xf4);
	dev_spi_write(0x819,0xfe);
	dev_spi_write(0x81a,0xd4);
	dev_spi_write(0x81b,0xf8);
	dev_spi_write(0x81c,0x80);
	dev_spi_write(0x81d,0x10);
	dev_spi_write(0x81e,0x60);
	dev_spi_write(0x81f,0xf3);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 4476 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 4476 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x8);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 4488 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 4488 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 4489 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x1c);
	dev_spi_write(0x21,0x61);
	dev_spi_write(0x22,0xc4);
	dev_spi_write(0x23,0xf8);
	dev_spi_write(0x24,0x80);
	dev_spi_write(0x25,0x10);
	dev_spi_write(0x26,0x20);
	dev_spi_write(0x27,0x68);
	dev_spi_write(0x28,0x6d);
	dev_spi_write(0x29,0x1c);
	dev_spi_write(0x2a,0xed);
	dev_spi_write(0x2b,0xb2);
	dev_spi_write(0x2c,0x3);
	dev_spi_write(0x2d,0x90);
	dev_spi_write(0x2e,0xb8);
	dev_spi_write(0x2f,0x79);
	dev_spi_write(0x30,0xa8);
	dev_spi_write(0x31,0x42);
	dev_spi_write(0x32,0xd8);
	dev_spi_write(0x33,0xdc);
	dev_spi_write(0x34,0x20);
	dev_spi_write(0x35,0x6e);
	dev_spi_write(0x36,0x5);
	dev_spi_write(0x37,0x9e);
	dev_spi_write(0x38,0xb);
	dev_spi_write(0x39,0xf1);
	dev_spi_write(0x3a,0x1);
	dev_spi_write(0x3b,0xb);
	dev_spi_write(0x3c,0x20);
	dev_spi_write(0x3d,0xf0);
	dev_spi_write(0x3e,0x0);
	dev_spi_write(0x3f,0x70);
	dev_spi_write(0x40,0x5e);
	dev_spi_write(0x41,0x45);
	dev_spi_write(0x42,0x20);
	dev_spi_write(0x43,0x66);
	dev_spi_write(0x44,0x3f);
	dev_spi_write(0x45,0xf7);
	dev_spi_write(0x46,0x10);
	dev_spi_write(0x47,0xaf);
	dev_spi_write(0x48,0xff);
	dev_spi_write(0x49,0xf7);
	dev_spi_write(0x4a,0x48);
	dev_spi_write(0x4b,0xfe);
	dev_spi_write(0x4c,0x17);
	dev_spi_write(0x4d,0x48);
	dev_spi_write(0x4e,0xd0);
	dev_spi_write(0x4f,0xf8);
	dev_spi_write(0x50,0x4);
	dev_spi_write(0x51,0x32);
	dev_spi_write(0x52,0x1);
	dev_spi_write(0x53,0x21);
	dev_spi_write(0x54,0xa);
	dev_spi_write(0x55,0x46);
	dev_spi_write(0x56,0x0);
	dev_spi_write(0x57,0x20);
	dev_spi_write(0x58,0x98);
	dev_spi_write(0x59,0x47);
	dev_spi_write(0x5a,0x7);
	dev_spi_write(0x5b,0xb0);
	dev_spi_write(0x5c,0xbd);
	dev_spi_write(0x5d,0xe8);
	dev_spi_write(0x5e,0xf0);
	dev_spi_write(0x5f,0x8f);
	dev_spi_write(0x60,0xc4);
	dev_spi_write(0x61,0x23);
	dev_spi_write(0x62,0x1);
	dev_spi_write(0x63,0x20);
	dev_spi_write(0x64,0x1);
	dev_spi_write(0x65,0x22);
	dev_spi_write(0x66,0x49);
	dev_spi_write(0x67,0x1e);
	dev_spi_write(0x68,0x8a);
	dev_spi_write(0x69,0x40);
	dev_spi_write(0x6a,0x1);
	dev_spi_write(0x6b,0x46);
	dev_spi_write(0x6c,0x50);
	dev_spi_write(0x6d,0x1e);
	dev_spi_write(0x6e,0x11);
	dev_spi_write(0x6f,0x42);
	dev_spi_write(0x70,0x1);
	dev_spi_write(0x71,0xea);
	dev_spi_write(0x72,0x0);
	dev_spi_write(0x73,0x0);
	dev_spi_write(0x74,0x18);
	dev_spi_write(0x75,0xbf);
	dev_spi_write(0x76,0x40);
	dev_spi_write(0x77,0x42);
	dev_spi_write(0x78,0x70);
	dev_spi_write(0x79,0x47);
	dev_spi_write(0x7a,0x1);
	dev_spi_write(0x7b,0x46);
	dev_spi_write(0x7c,0x1c);
	dev_spi_write(0x7d,0xb5);
	dev_spi_write(0x7e,0x0);
	dev_spi_write(0x7f,0x20);
	dev_spi_write(0x80,0x1);
	dev_spi_write(0x81,0x24);
	dev_spi_write(0x82,0x2);
	dev_spi_write(0x83,0x46);
	dev_spi_write(0x84,0x4);
	dev_spi_write(0x85,0xfa);
	dev_spi_write(0x86,0x2);
	dev_spi_write(0x87,0xf3);
	dev_spi_write(0x88,0x19);
	dev_spi_write(0x89,0x42);
	dev_spi_write(0x8a,0x3);
	dev_spi_write(0x8b,0xd0);
	dev_spi_write(0x8c,0x43);
	dev_spi_write(0x8d,0x1c);
	dev_spi_write(0x8e,0x0);
	dev_spi_write(0x8f,0xf8);
	dev_spi_write(0x90,0xd);
	dev_spi_write(0x91,0x20);
	dev_spi_write(0x92,0xd8);
	dev_spi_write(0x93,0xb2);
	dev_spi_write(0x94,0x52);
	dev_spi_write(0x95,0x1c);
	dev_spi_write(0x96,0x6);
	dev_spi_write(0x97,0x2a);
	dev_spi_write(0x98,0xf4);
	dev_spi_write(0x99,0xdb);
	dev_spi_write(0x9a,0x18);
	dev_spi_write(0x9b,0xb1);
	dev_spi_write(0x9c,0x1);
	dev_spi_write(0x9d,0x46);
	dev_spi_write(0x9e,0x68);
	dev_spi_write(0x9f,0x46);
	dev_spi_write(0xa0,0xff);
	dev_spi_write(0xa1,0xf7);
	dev_spi_write(0xa2,0xc6);
	dev_spi_write(0xa3,0xfe);
	dev_spi_write(0xa4,0x1c);
	dev_spi_write(0xa5,0xbd);
	dev_spi_write(0xa6,0xc0);
	dev_spi_write(0xa7,0x46);
	dev_spi_write(0xa8,0x58);
	dev_spi_write(0xa9,0x23);
	dev_spi_write(0xaa,0x1);
	dev_spi_write(0xab,0x20);
	dev_spi_write(0xac,0x90);
	dev_spi_write(0xad,0xd6);
	dev_spi_write(0xae,0x0);
	dev_spi_write(0xaf,0x20);
	dev_spi_write(0xb0,0x4);
	dev_spi_write(0xb1,0x5);
	dev_spi_write(0xb2,0x2);
	dev_spi_write(0xb3,0xac);
	dev_spi_write(0xb4,0x54);
	dev_spi_write(0xb5,0x23);
	dev_spi_write(0xb6,0x1);
	dev_spi_write(0xb7,0x20);
	dev_spi_write(0xb8,0x38);
	dev_spi_write(0xb9,0xb5);
	dev_spi_write(0xba,0xb0);
	dev_spi_write(0xbb,0x4c);
	dev_spi_write(0xbc,0xc);
	dev_spi_write(0xbd,0x25);
	dev_spi_write(0xbe,0x10);
	dev_spi_write(0xbf,0xfb);
	dev_spi_write(0xc0,0x5);
	dev_spi_write(0xc1,0xf0);
	dev_spi_write(0xc2,0x0);
	dev_spi_write(0xc3,0xeb);
	dev_spi_write(0xc4,0x81);
	dev_spi_write(0xc5,0x0);
	dev_spi_write(0xc6,0x20);
	dev_spi_write(0xc7,0x58);
	dev_spi_write(0xc8,0x1);
	dev_spi_write(0xc9,0x2b);
	dev_spi_write(0xca,0x6);
	dev_spi_write(0xcb,0xd0);
	dev_spi_write(0xcc,0x51);
	dev_spi_write(0xcd,0x78);
	dev_spi_write(0xce,0x80);
	dev_spi_write(0xcf,0xf8);
	dev_spi_write(0xd0,0xa0);
	dev_spi_write(0xd1,0x14);
	dev_spi_write(0xd2,0x11);
	dev_spi_write(0xd3,0x78);
	dev_spi_write(0xd4,0x80);
	dev_spi_write(0xd5,0xf8);
	dev_spi_write(0xd6,0xaa);
	dev_spi_write(0xd7,0x14);
	dev_spi_write(0xd8,0x38);
	dev_spi_write(0xd9,0xbd);
	dev_spi_write(0xda,0x11);
	dev_spi_write(0xdb,0x78);
	dev_spi_write(0xdc,0x80);
	dev_spi_write(0xdd,0xf8);
	dev_spi_write(0xde,0xaa);
	dev_spi_write(0xdf,0x14);
	dev_spi_write(0xe0,0x51);
	dev_spi_write(0xe1,0x78);
	dev_spi_write(0xe2,0x80);
	dev_spi_write(0xe3,0xf8);
	dev_spi_write(0xe4,0xa0);
	dev_spi_write(0xe5,0x14);
	dev_spi_write(0xe6,0x38);
	dev_spi_write(0xe7,0xbd);
	dev_spi_write(0xe8,0xf8);
	dev_spi_write(0xe9,0xb5);
	dev_spi_write(0xea,0xc5);
	dev_spi_write(0xeb,0x4a);
	dev_spi_write(0xec,0xdf);
	dev_spi_write(0xed,0xf8);
	dev_spi_write(0xee,0xc);
	dev_spi_write(0xef,0xe3);
	dev_spi_write(0xf0,0x84);
	dev_spi_write(0xf1,0x46);
	dev_spi_write(0xf2,0x4f);
	dev_spi_write(0xf3,0xf4);
	dev_spi_write(0xf4,0x25);
	dev_spi_write(0xf5,0x73);
	dev_spi_write(0xf6,0xdc);
	dev_spi_write(0xf7,0x20);
	dev_spi_write(0xf8,0x1c);
	dev_spi_write(0xf9,0xfb);
	dev_spi_write(0xfa,0x3);
	dev_spi_write(0xfb,0xf3);
	dev_spi_write(0xfc,0x11);
	dev_spi_write(0xfd,0xfb);
	dev_spi_write(0xfe,0x0);
	dev_spi_write(0xff,0x30);
	dev_spi_write(0x100,0x80);
	dev_spi_write(0x101,0x18);
	dev_spi_write(0x102,0x90);
	dev_spi_write(0x103,0xf8);
	dev_spi_write(0x104,0x38);
	dev_spi_write(0x105,0x60);
	dev_spi_write(0x106,0x90);
	dev_spi_write(0x107,0xf8);
	dev_spi_write(0x108,0x3d);
	dev_spi_write(0x109,0x70);
	dev_spi_write(0x10a,0xbe);
	dev_spi_write(0x10b,0x4a);
	dev_spi_write(0x10c,0x0);
	dev_spi_write(0x10d,0x24);
	dev_spi_write(0x10e,0x6);
	dev_spi_write(0x10f,0x20);
	dev_spi_write(0x110,0x1c);
	dev_spi_write(0x111,0xfb);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x113,0xf3);
	dev_spi_write(0x114,0x3);
	dev_spi_write(0x115,0xeb);
	dev_spi_write(0x116,0x41);
	dev_spi_write(0x117,0x3);
	dev_spi_write(0x118,0x3);
	dev_spi_write(0x119,0x20);
	dev_spi_write(0x11a,0x2);
	dev_spi_write(0x11b,0xeb);
	dev_spi_write(0x11c,0x43);
	dev_spi_write(0x11d,0x2);
	dev_spi_write(0x11e,0x1);
	dev_spi_write(0x11f,0x2c);
	dev_spi_write(0x120,0xb);
	dev_spi_write(0x121,0xd0);
	dev_spi_write(0x122,0x1c);
	dev_spi_write(0x123,0xfb);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x125,0x13);
	dev_spi_write(0x126,0x1e);
	dev_spi_write(0x127,0xf8);
	dev_spi_write(0x128,0x3);
	dev_spi_write(0x129,0x50);
	dev_spi_write(0x12a,0xf3);
	dev_spi_write(0x12b,0x1b);
	dev_spi_write(0x12c,0x5b);
	dev_spi_write(0x12d,0x19);
	dev_spi_write(0x12e,0x5b);
	dev_spi_write(0x12f,0xb2);
	dev_spi_write(0x130,0x0);
	dev_spi_write(0x131,0x2b);
	dev_spi_write(0x132,0x48);
	dev_spi_write(0x133,0xbf);
	dev_spi_write(0x134,0x0);
	dev_spi_write(0x135,0x23);
	dev_spi_write(0x136,0xdb);
	dev_spi_write(0x137,0xb2);
	dev_spi_write(0x138,0x1);
	dev_spi_write(0x139,0xe0);
	dev_spi_write(0x13a,0x3d);
	dev_spi_write(0x13b,0x46);
	dev_spi_write(0x13c,0x33);
	dev_spi_write(0x13d,0x46);
	dev_spi_write(0x13e,0x13);
	dev_spi_write(0x13f,0x70);
	dev_spi_write(0x140,0x64);
	dev_spi_write(0x141,0x1c);
	dev_spi_write(0x142,0x55);
	dev_spi_write(0x143,0x70);
	dev_spi_write(0x144,0x2);
	dev_spi_write(0x145,0x2c);
	dev_spi_write(0x146,0x2);
	dev_spi_write(0x147,0xf1);
	dev_spi_write(0x148,0x2);
	dev_spi_write(0x149,0x2);
	dev_spi_write(0x14a,0xe8);
	dev_spi_write(0x14b,0xdb);
	dev_spi_write(0x14c,0xf8);
	dev_spi_write(0x14d,0xbd);
	dev_spi_write(0x14e,0x2d);
	dev_spi_write(0x14f,0xe9);
	dev_spi_write(0x150,0xfe);
	dev_spi_write(0x151,0x4f);
	dev_spi_write(0x152,0xad);
	dev_spi_write(0x153,0x48);
	dev_spi_write(0x154,0xdf);
	dev_spi_write(0x155,0xf8);
	dev_spi_write(0x156,0xa8);
	dev_spi_write(0x157,0x92);
	dev_spi_write(0x158,0x90);
	dev_spi_write(0x159,0xf8);
	dev_spi_write(0x15a,0x0);
	dev_spi_write(0x15b,0xa0);
	dev_spi_write(0x15c,0x4f);
	dev_spi_write(0x15d,0xf0);
	dev_spi_write(0x15e,0x0);
	dev_spi_write(0x15f,0xe);
	dev_spi_write(0x160,0x4f);
	dev_spi_write(0x161,0xf0);
	dev_spi_write(0x162,0x1);
	dev_spi_write(0x163,0x8);
	dev_spi_write(0x164,0xd);
	dev_spi_write(0x165,0xf1);
	dev_spi_write(0x166,0x1);
	dev_spi_write(0x167,0x4);
	dev_spi_write(0x168,0x76);
	dev_spi_write(0x169,0x46);
	dev_spi_write(0x16a,0x35);
	dev_spi_write(0x16b,0x46);
	dev_spi_write(0x16c,0xa8);
	dev_spi_write(0x16d,0x48);
	dev_spi_write(0x16e,0x83);
	dev_spi_write(0x16f,0x4f);
	dev_spi_write(0x170,0xa6);
	dev_spi_write(0x171,0x49);
	dev_spi_write(0x172,0x33);
	dev_spi_write(0x173,0x18);
	dev_spi_write(0x174,0xe);
	dev_spi_write(0x175,0xeb);
	dev_spi_write(0x176,0x7);
	dev_spi_write(0x177,0x2);
	dev_spi_write(0x178,0xa3);
	dev_spi_write(0x179,0xf1);
	dev_spi_write(0x17a,0x1);
	dev_spi_write(0x17b,0xc);
	dev_spi_write(0x17c,0x0);
	dev_spi_write(0x17d,0x27);
	dev_spi_write(0x17e,0x89);
	dev_spi_write(0x17f,0x19);
	dev_spi_write(0x180,0x12);
	dev_spi_write(0x181,0x1f);
	dev_spi_write(0x182,0x4);
	dev_spi_write(0x183,0xf8);
	dev_spi_write(0x184,0x1);
	dev_spi_write(0x185,0x7f);
	dev_spi_write(0x186,0x38);
	dev_spi_write(0x187,0x46);
	dev_spi_write(0x188,0x52);
	dev_spi_write(0x189,0xf8);
	dev_spi_write(0x18a,0x4);
	dev_spi_write(0x18b,0x3f);
	dev_spi_write(0x18c,0xd3);
	dev_spi_write(0x18d,0xf8);
	dev_spi_write(0x18e,0x98);
	dev_spi_write(0x18f,0x34);
	dev_spi_write(0x190,0x3);
	dev_spi_write(0x191,0xf0);
	dev_spi_write(0x192,0x1);
	dev_spi_write(0x193,0x3);
	dev_spi_write(0x194,0xa);
	dev_spi_write(0x195,0xea);
	dev_spi_write(0x196,0x3);
	dev_spi_write(0x197,0x7);
	dev_spi_write(0x198,0xff);
	dev_spi_write(0x199,0x23);
	dev_spi_write(0x19a,0x1);
	dev_spi_write(0x19b,0x2f);
	dev_spi_write(0x19c,0xc);
	dev_spi_write(0x19d,0xf8);
	dev_spi_write(0x19e,0x1);
	dev_spi_write(0x19f,0x3f);
	dev_spi_write(0x1a0,0xd);
	dev_spi_write(0x1a1,0xd1);
	dev_spi_write(0x1a2,0xdc);
	dev_spi_write(0x1a3,0x23);
	dev_spi_write(0x1a4,0x4f);
	dev_spi_write(0x1a5,0xf4);
	dev_spi_write(0x1a6,0x25);
	dev_spi_write(0x1a7,0x7b);
	dev_spi_write(0x1a8,0x43);
	dev_spi_write(0x1a9,0x43);
	dev_spi_write(0x1aa,0xb);
	dev_spi_write(0x1ab,0xfb);
	dev_spi_write(0x1ac,0x5);
	dev_spi_write(0x1ad,0x33);
	dev_spi_write(0x1ae,0x4b);
	dev_spi_write(0x1af,0x44);
	dev_spi_write(0x1b0,0x93);
	dev_spi_write(0x1b1,0xf8);
	dev_spi_write(0x1b2,0x7a);
	dev_spi_write(0x1b3,0x30);
	dev_spi_write(0x1b4,0x0);
	dev_spi_write(0x1b5,0x2b);
	dev_spi_write(0x1b6,0x8);
	dev_spi_write(0x1b7,0xbf);
	dev_spi_write(0x1b8,0x81);
	dev_spi_write(0x1b9,0xf8);
	dev_spi_write(0x1ba,0x0);
	dev_spi_write(0x1bb,0x80);
	dev_spi_write(0x1bc,0x1);
	dev_spi_write(0x1bd,0xd0);
	dev_spi_write(0x1be,0x0);
	dev_spi_write(0x1bf,0x23);
	dev_spi_write(0x1c0,0xb);
	dev_spi_write(0x1c1,0x70);
	dev_spi_write(0x1c2,0x1);
	dev_spi_write(0x1c3,0x2f);
	dev_spi_write(0x1c4,0x4);
	dev_spi_write(0x1c5,0xd1);
	dev_spi_write(0x1c6,0x27);
	dev_spi_write(0x1c7,0x78);
	dev_spi_write(0x1c8,0x8);
	dev_spi_write(0x1c9,0xfa);
	dev_spi_write(0x1ca,0x0);
	dev_spi_write(0x1cb,0xf3);
	dev_spi_write(0x1cc,0x3b);
	dev_spi_write(0x1cd,0x43);
	dev_spi_write(0x1ce,0x23);
	dev_spi_write(0x1cf,0x70);
	dev_spi_write(0x1d0,0x40);
	dev_spi_write(0x1d1,0x1c);
	dev_spi_write(0x1d2,0x49);
	dev_spi_write(0x1d3,0x1c);
	dev_spi_write(0x1d4,0x3);
	dev_spi_write(0x1d5,0x28);
	dev_spi_write(0x1d6,0xd7);
	dev_spi_write(0x1d7,0xdb);
	dev_spi_write(0x1d8,0x6d);
	dev_spi_write(0x1d9,0x1c);
	dev_spi_write(0x1da,0xf6);
	dev_spi_write(0x1db,0x1c);
	dev_spi_write(0x1dc,0xe);
	dev_spi_write(0x1dd,0xf1);
	dev_spi_write(0x1de,0xc);
	dev_spi_write(0x1df,0xe);
	dev_spi_write(0x1e0,0x2);
	dev_spi_write(0x1e1,0x2d);
	dev_spi_write(0x1e2,0xc3);
	dev_spi_write(0x1e3,0xdb);
	dev_spi_write(0x1e4,0xd);
	dev_spi_write(0x1e5,0xf1);
	dev_spi_write(0x1e6,0x2);
	dev_spi_write(0x1e7,0x0);
	dev_spi_write(0x1e8,0xfe);
	dev_spi_write(0x1e9,0xf7);
	dev_spi_write(0x1ea,0x40);
	dev_spi_write(0x1eb,0xff);
	dev_spi_write(0x1ec,0x0);
	dev_spi_write(0x1ed,0x26);
	dev_spi_write(0x1ee,0x4f);
	dev_spi_write(0x1ef,0xf0);
	dev_spi_write(0x1f0,0xdc);
	dev_spi_write(0x1f1,0x8);
	dev_spi_write(0x1f2,0x37);
	dev_spi_write(0x1f3,0x46);
	dev_spi_write(0x1f4,0x85);
	dev_spi_write(0x1f5,0x4d);
	dev_spi_write(0x1f6,0x0);
	dev_spi_write(0x1f7,0x24);
	dev_spi_write(0x1f8,0xad);
	dev_spi_write(0x1f9,0x19);
	dev_spi_write(0x1fa,0x15);
	dev_spi_write(0x1fb,0xf8);
	dev_spi_write(0x1fc,0x1);
	dev_spi_write(0x1fd,0xb);
	dev_spi_write(0x1fe,0x98);
	dev_spi_write(0x1ff,0xb9);
	dev_spi_write(0x200,0x7);
	dev_spi_write(0x201,0xeb);
	dev_spi_write(0x202,0x47);
	dev_spi_write(0x203,0x0);
	dev_spi_write(0x204,0x0);
	dev_spi_write(0x205,0x19);
	dev_spi_write(0x206,0x8);
	dev_spi_write(0x207,0xfb);
	dev_spi_write(0x208,0x0);
	dev_spi_write(0x209,0x90);
	dev_spi_write(0x20a,0x6a);
	dev_spi_write(0x20b,0x46);
	dev_spi_write(0x20c,0x90);
	dev_spi_write(0x20d,0xf8);
	dev_spi_write(0x20e,0x3d);
	dev_spi_write(0x20f,0x10);
	dev_spi_write(0x210,0x90);
	dev_spi_write(0x211,0xf8);
	dev_spi_write(0x212,0x38);
	dev_spi_write(0x213,0x0);
	dev_spi_write(0x214,0x8d);
	dev_spi_write(0x215,0xf8);
	dev_spi_write(0x216,0x1);
	dev_spi_write(0x217,0x10);
	dev_spi_write(0x218,0x0);
	dev_spi_write(0x219,0x23);
	dev_spi_write(0x21a,0x8d);
	dev_spi_write(0x21b,0xf8);
	dev_spi_write(0x21c,0x0);
	dev_spi_write(0x21d,0x0);
	dev_spi_write(0x21e,0x21);
	dev_spi_write(0x21f,0x46);
	dev_spi_write(0x220,0x38);
	dev_spi_write(0x221,0x46);
	dev_spi_write(0x222,0xff);
	dev_spi_write(0x223,0xf7);
	dev_spi_write(0x224,0x49);
	dev_spi_write(0x225,0xff);
	dev_spi_write(0x226,0x6);
	dev_spi_write(0x227,0xe0);
	dev_spi_write(0x228,0x38);
	dev_spi_write(0x229,0x46);
	dev_spi_write(0x22a,0x21);
	dev_spi_write(0x22b,0x46);
	dev_spi_write(0x22c,0xff);
	dev_spi_write(0x22d,0xf7);
	dev_spi_write(0x22e,0x5c);
	dev_spi_write(0x22f,0xff);
	dev_spi_write(0x230,0x38);
	dev_spi_write(0x231,0x46);
	dev_spi_write(0x232,0xff);
	dev_spi_write(0x233,0xf7);
	dev_spi_write(0x234,0x2f);
	dev_spi_write(0x235,0xf8);
	dev_spi_write(0x236,0x64);
	dev_spi_write(0x237,0x1c);
	dev_spi_write(0x238,0x3);
	dev_spi_write(0x239,0x2c);
	dev_spi_write(0x23a,0xde);
	dev_spi_write(0x23b,0xdb);
	dev_spi_write(0x23c,0x7f);
	dev_spi_write(0x23d,0x1c);
	dev_spi_write(0x23e,0xf6);
	dev_spi_write(0x23f,0x1c);
	dev_spi_write(0x240,0x2);
	dev_spi_write(0x241,0x2f);
	dev_spi_write(0x242,0xd7);
	dev_spi_write(0x243,0xdb);
	dev_spi_write(0x244,0xbd);
	dev_spi_write(0x245,0xe8);
	dev_spi_write(0x246,0xfe);
	dev_spi_write(0x247,0x8f);
	dev_spi_write(0x248,0xf8);
	dev_spi_write(0x249,0xb5);
	dev_spi_write(0x24a,0x72);
	dev_spi_write(0x24b,0x48);
	dev_spi_write(0x24c,0x72);
	dev_spi_write(0x24d,0x4a);
	dev_spi_write(0x24e,0x7b);
	dev_spi_write(0x24f,0x4c);
	dev_spi_write(0x250,0x72);
	dev_spi_write(0x251,0x4e);
	dev_spi_write(0x252,0x74);
	dev_spi_write(0x253,0x4d);
	dev_spi_write(0x254,0x7);
	dev_spi_write(0x255,0x78);
	dev_spi_write(0x256,0x12);
	dev_spi_write(0x257,0x78);
	dev_spi_write(0x258,0x6b);
	dev_spi_write(0x259,0x48);
	dev_spi_write(0x25a,0x52);
	dev_spi_write(0x25b,0x8);
	dev_spi_write(0x25c,0x11);
	dev_spi_write(0x25d,0xd2);
	dev_spi_write(0x25e,0x0);
	dev_spi_write(0x25f,0x21);
	dev_spi_write(0x260,0x1);
	dev_spi_write(0x261,0x70);
	dev_spi_write(0x262,0x5f);
	dev_spi_write(0x263,0xb9);
	dev_spi_write(0x264,0x4f);
	dev_spi_write(0x265,0xf0);
	dev_spi_write(0x266,0x0);
	dev_spi_write(0x267,0x70);
	dev_spi_write(0x268,0x80);
	dev_spi_write(0x269,0x34);
	dev_spi_write(0x26a,0x20);
	dev_spi_write(0x26b,0x60);
	dev_spi_write(0x26c,0x6e);
	dev_spi_write(0x26d,0x49);
	dev_spi_write(0x26e,0xc5);
	dev_spi_write(0x26f,0xf8);
	dev_spi_write(0x270,0x7c);
	dev_spi_write(0x271,0x11);
	dev_spi_write(0x272,0x6e);
	dev_spi_write(0x273,0x4a);
	dev_spi_write(0x274,0xc5);
	dev_spi_write(0x275,0xf8);
	dev_spi_write(0x276,0xa0);
	dev_spi_write(0x277,0x21);
	dev_spi_write(0x278,0x69);
	dev_spi_write(0x279,0x4f);
	dev_spi_write(0x27a,0x37);
	dev_spi_write(0x27b,0x60);
	dev_spi_write(0x27c,0xff);
	dev_spi_write(0x27d,0xf7);
	dev_spi_write(0x27e,0x67);
	dev_spi_write(0x27f,0xff);
	dev_spi_write(0x280,0xf8);
	dev_spi_write(0x281,0xbd);
	dev_spi_write(0x282,0x1);
	dev_spi_write(0x283,0x2f);
	dev_spi_write(0x284,0xf);
	dev_spi_write(0x285,0xd0);
	dev_spi_write(0x286,0x1);
	dev_spi_write(0x287,0x21);
	dev_spi_write(0x288,0x1);
	dev_spi_write(0x289,0x70);
	dev_spi_write(0x28a,0xff);
	dev_spi_write(0x28b,0xf7);
	dev_spi_write(0x28c,0x60);
	dev_spi_write(0x28d,0xff);
	dev_spi_write(0x28e,0x6a);
	dev_spi_write(0x28f,0x4f);
	dev_spi_write(0x290,0xc5);
	dev_spi_write(0x291,0xf8);
	dev_spi_write(0x292,0xa0);
	dev_spi_write(0x293,0x71);
	dev_spi_write(0x294,0x66);
	dev_spi_write(0x295,0x48);
	dev_spi_write(0x296,0x30);
	dev_spi_write(0x297,0x60);
	dev_spi_write(0x298,0x66);
	dev_spi_write(0x299,0x49);
	dev_spi_write(0x29a,0xc5);
	dev_spi_write(0x29b,0xf8);
	dev_spi_write(0x29c,0x7c);
	dev_spi_write(0x29d,0x11);
	dev_spi_write(0x29e,0x4f);
	dev_spi_write(0x29f,0xf0);
	dev_spi_write(0x2a0,0x0);
	dev_spi_write(0x2a1,0x73);
	dev_spi_write(0x2a2,0x23);
	dev_spi_write(0x2a3,0x60);
	dev_spi_write(0x2a4,0xf8);
	dev_spi_write(0x2a5,0xbd);
	dev_spi_write(0x2a6,0x8);
	dev_spi_write(0x2a7,0x20);
	dev_spi_write(0x2a8,0x8);
	dev_spi_write(0x2a9,0x70);
	dev_spi_write(0x2aa,0xf8);
	dev_spi_write(0x2ab,0xbd);
	dev_spi_write(0x2ac,0x2d);
	dev_spi_write(0x2ad,0xe9);
	dev_spi_write(0x2ae,0xf8);
	dev_spi_write(0x2af,0x4f);
	dev_spi_write(0x2b0,0xdf);
	dev_spi_write(0x2b1,0xf8);
	dev_spi_write(0x2b2,0x8c);
	dev_spi_write(0x2b3,0xb1);
	dev_spi_write(0x2b4,0xdf);
	dev_spi_write(0x2b5,0xf8);
	dev_spi_write(0x2b6,0xc4);
	dev_spi_write(0x2b7,0xa0);
	dev_spi_write(0x2b8,0xdf);
	dev_spi_write(0x2b9,0xf8);
	dev_spi_write(0x2ba,0x44);
	dev_spi_write(0x2bb,0x81);
	dev_spi_write(0x2bc,0xdf);
	dev_spi_write(0x2bd,0xf8);
	dev_spi_write(0x2be,0x3c);
	dev_spi_write(0x2bf,0x91);
	dev_spi_write(0x2c0,0x2);
	dev_spi_write(0x2c1,0x46);
	dev_spi_write(0x2c2,0x4f);
	dev_spi_write(0x2c3,0xf0);
	dev_spi_write(0x2c4,0xdc);
	dev_spi_write(0x2c5,0xc);
	dev_spi_write(0x2c6,0x1);
	dev_spi_write(0x2c7,0x23);
	dev_spi_write(0x2c8,0x0);
	dev_spi_write(0x2c9,0x24);
	dev_spi_write(0x2ca,0x4f);
	dev_spi_write(0x2cb,0xf4);
	dev_spi_write(0x2cc,0x25);
	dev_spi_write(0x2cd,0x7e);
	dev_spi_write(0x2ce,0x4);
	dev_spi_write(0x2cf,0x20);
	dev_spi_write(0x2d0,0x0);
	dev_spi_write(0x2d1,0x92);
	dev_spi_write(0x2d2,0x0);
	dev_spi_write(0x2d3,0x9d);
	dev_spi_write(0x2d4,0x3);
	dev_spi_write(0x2d5,0xfa);
	dev_spi_write(0x2d6,0x4);
	dev_spi_write(0x2d7,0xf2);
	dev_spi_write(0x2d8,0x15);
	dev_spi_write(0x2d9,0x42);
	dev_spi_write(0x2da,0x1d);
	dev_spi_write(0x2db,0xd0);
	dev_spi_write(0x2dc,0x1b);
	dev_spi_write(0x2dd,0xf8);
	dev_spi_write(0x2de,0x14);
	dev_spi_write(0x2df,0x50);
	dev_spi_write(0x2e0,0x4);
	dev_spi_write(0x2e1,0x2d);
	dev_spi_write(0x2e2,0x19);
	dev_spi_write(0x2e3,0xd0);
	dev_spi_write(0x2e4,0x66);
	dev_spi_write(0x2e5,0x10);
	dev_spi_write(0x2e6,0x6);
	dev_spi_write(0x2e7,0xeb);
	dev_spi_write(0x2e8,0x46);
	dev_spi_write(0x2e9,0x2);
	dev_spi_write(0x2ea,0x52);
	dev_spi_write(0x2eb,0x19);
	dev_spi_write(0x2ec,0x5a);
	dev_spi_write(0x2ed,0xf8);
	dev_spi_write(0x2ee,0x22);
	dev_spi_write(0x2ef,0x70);
	dev_spi_write(0x2f0,0xd7);
	dev_spi_write(0x2f1,0xf8);
	dev_spi_write(0x2f2,0x98);
	dev_spi_write(0x2f3,0x74);
	dev_spi_write(0x2f4,0x7f);
	dev_spi_write(0x2f5,0x8);
	dev_spi_write(0x2f6,0xf);
	dev_spi_write(0x2f7,0xd3);
	dev_spi_write(0x2f8,0x19);
	dev_spi_write(0x2f9,0xf8);
	dev_spi_write(0x2fa,0x2);
	dev_spi_write(0x2fb,0x70);
	dev_spi_write(0x2fc,0x15);
	dev_spi_write(0x2fd,0xfb);
	dev_spi_write(0x2fe,0xc);
	dev_spi_write(0x2ff,0xf5);
	dev_spi_write(0x300,0xe);
	dev_spi_write(0x301,0xfb);
	dev_spi_write(0x302,0x6);
	dev_spi_write(0x303,0x55);
	dev_spi_write(0x304,0x45);
	dev_spi_write(0x305,0x44);
	dev_spi_write(0x306,0x95);
	dev_spi_write(0x307,0xf8);
	dev_spi_write(0x308,0x3d);
	dev_spi_write(0x309,0x20);
	dev_spi_write(0x30a,0x95);
	dev_spi_write(0x30b,0xf8);
	dev_spi_write(0x30c,0x38);
	dev_spi_write(0x30d,0x50);
	dev_spi_write(0x30e,0xd2);
	dev_spi_write(0x30f,0x1b);
	dev_spi_write(0x310,0x95);
	dev_spi_write(0x311,0x42);
	dev_spi_write(0x312,0xbc);
	dev_spi_write(0x313,0xbf);
	dev_spi_write(0x314,0x8);
	dev_spi_write(0x315,0x70);
	dev_spi_write(0x316,0x4b);
	dev_spi_write(0x317,0x80);
	dev_spi_write(0x318,0x64);
	dev_spi_write(0x319,0x1c);
	dev_spi_write(0x31a,0x4);
	dev_spi_write(0x31b,0x2c);
	dev_spi_write(0x31c,0xd9);
	dev_spi_write(0x31d,0xdb);
	dev_spi_write(0x31e,0xdf);
	dev_spi_write(0x31f,0xf8);
	dev_spi_write(0x320,0x28);
	dev_spi_write(0x321,0xb1);
	dev_spi_write(0x322,0x0);
	dev_spi_write(0x323,0x24);
	dev_spi_write(0x324,0x0);
	dev_spi_write(0x325,0x9d);
	dev_spi_write(0x326,0x22);
	dev_spi_write(0x327,0x1d);
	dev_spi_write(0x328,0x3);
	dev_spi_write(0x329,0xfa);
	dev_spi_write(0x32a,0x2);
	dev_spi_write(0x32b,0xf2);
	dev_spi_write(0x32c,0x15);
	dev_spi_write(0x32d,0x42);
	dev_spi_write(0x32e,0x1f);
	dev_spi_write(0x32f,0xd0);
	dev_spi_write(0x330,0x44);
	dev_spi_write(0x331,0x4a);
	dev_spi_write(0x332,0x17);
	dev_spi_write(0x333,0x5d);
	dev_spi_write(0x334,0xe7);
	dev_spi_write(0x335,0xb9);
	dev_spi_write(0x336,0x1b);
	dev_spi_write(0x337,0xf8);
	dev_spi_write(0x338,0x14);
	dev_spi_write(0x339,0x50);
	dev_spi_write(0x33a,0x4);
	dev_spi_write(0x33b,0x2d);
	dev_spi_write(0x33c,0x18);
	dev_spi_write(0x33d,0xd0);
	dev_spi_write(0x33e,0x4);
	dev_spi_write(0x33f,0xeb);
	dev_spi_write(0x340,0x44);
	dev_spi_write(0x341,0x2);
	dev_spi_write(0x342,0x52);
	dev_spi_write(0x343,0x19);
	dev_spi_write(0x344,0x5a);
	dev_spi_write(0x345,0xf8);
	dev_spi_write(0x346,0x22);
	dev_spi_write(0x347,0x60);
	dev_spi_write(0x348,0xd6);
	dev_spi_write(0x349,0xf8);
	dev_spi_write(0x34a,0x98);
	dev_spi_write(0x34b,0x64);
	dev_spi_write(0x34c,0x76);
	dev_spi_write(0x34d,0x8);
	dev_spi_write(0x34e,0xf);
	dev_spi_write(0x34f,0xd3);
	dev_spi_write(0x350,0x19);
	dev_spi_write(0x351,0xf8);
	dev_spi_write(0x352,0x2);
	dev_spi_write(0x353,0x60);
	dev_spi_write(0x354,0x15);
	dev_spi_write(0x355,0xfb);
	dev_spi_write(0x356,0xc);
	dev_spi_write(0x357,0xf5);
	dev_spi_write(0x358,0xe);
	dev_spi_write(0x359,0xfb);
	dev_spi_write(0x35a,0x4);
	dev_spi_write(0x35b,0x55);
	dev_spi_write(0x35c,0x45);
	dev_spi_write(0x35d,0x44);
	dev_spi_write(0x35e,0x95);
	dev_spi_write(0x35f,0xf8);
	dev_spi_write(0x360,0x3d);
	dev_spi_write(0x361,0x20);
	dev_spi_write(0x362,0x95);
	dev_spi_write(0x363,0xf8);
	dev_spi_write(0x364,0x38);
	dev_spi_write(0x365,0x50);
	dev_spi_write(0x366,0x92);
	dev_spi_write(0x367,0x1b);
	dev_spi_write(0x368,0x95);
	dev_spi_write(0x369,0x42);
	dev_spi_write(0x36a,0xbc);
	dev_spi_write(0x36b,0xbf);
	dev_spi_write(0x36c,0x8);
	dev_spi_write(0x36d,0x70);
	dev_spi_write(0x36e,0x4b);
	dev_spi_write(0x36f,0x80);
	dev_spi_write(0x370,0x64);
	dev_spi_write(0x371,0x1c);
	dev_spi_write(0x372,0x2);
	dev_spi_write(0x373,0x2c);
	dev_spi_write(0x374,0xd6);
	dev_spi_write(0x375,0xdb);
	dev_spi_write(0x376,0xbd);
	dev_spi_write(0x377,0xe8);
	dev_spi_write(0x378,0xf8);
	dev_spi_write(0x379,0x8f);
	dev_spi_write(0x37a,0xc0);
	dev_spi_write(0x37b,0x46);
	dev_spi_write(0x37c,0xa8);
	dev_spi_write(0x37d,0x75);
	dev_spi_write(0x37e,0x2);
	dev_spi_write(0x37f,0x0);
	dev_spi_write(0x380,0x2d);
	dev_spi_write(0x381,0xe9);
	dev_spi_write(0x382,0xf8);
	dev_spi_write(0x383,0x43);
	dev_spi_write(0x384,0x89);
	dev_spi_write(0x385,0x46);
	dev_spi_write(0x386,0x24);
	dev_spi_write(0x387,0x4c);
	dev_spi_write(0x388,0xdf);
	dev_spi_write(0x389,0xf8);
	dev_spi_write(0x38a,0xb4);
	dev_spi_write(0x38b,0xc0);
	dev_spi_write(0x38c,0x1b);
	dev_spi_write(0x38d,0x49);
	dev_spi_write(0x38e,0x20);
	dev_spi_write(0x38f,0x78);
	dev_spi_write(0x390,0x1);
	dev_spi_write(0x391,0x22);
	dev_spi_write(0x392,0x0);
	dev_spi_write(0x393,0x25);
	dev_spi_write(0x394,0x2);
	dev_spi_write(0x395,0xfa);
	dev_spi_write(0x396,0x5);
	dev_spi_write(0x397,0xf3);
	dev_spi_write(0x398,0x18);
	dev_spi_write(0x399,0x42);
	dev_spi_write(0x39a,0x9);
	dev_spi_write(0x39b,0xd0);
	dev_spi_write(0x39c,0x1c);
	dev_spi_write(0x39d,0xf8);
	dev_spi_write(0x39e,0x15);
	dev_spi_write(0x39f,0x60);
	dev_spi_write(0x3a0,0x4);
	dev_spi_write(0x3a1,0x2e);
	dev_spi_write(0x3a2,0x5);
	dev_spi_write(0x3a3,0xd0);
	dev_spi_write(0x3a4,0x67);
	dev_spi_write(0x3a5,0x78);
	dev_spi_write(0x3a6,0x6b);
	dev_spi_write(0x3a7,0x10);
	dev_spi_write(0x3a8,0x3);
	dev_spi_write(0x3a9,0xeb);
	dev_spi_write(0x3aa,0x43);
	dev_spi_write(0x3ab,0x3);
	dev_spi_write(0x3ac,0x9b);
	dev_spi_write(0x3ad,0x19);
	dev_spi_write(0x3ae,0xcf);
	dev_spi_write(0x3af,0x54);
	dev_spi_write(0x3b0,0x6d);
	dev_spi_write(0x3b1,0x1c);
	dev_spi_write(0x3b2,0x4);
	dev_spi_write(0x3b3,0x2d);
	dev_spi_write(0x3b4,0xee);
	dev_spi_write(0x3b5,0xdb);
	dev_spi_write(0x3b6,0xdf);
	dev_spi_write(0x3b7,0xf8);
	dev_spi_write(0x3b8,0x8c);
	dev_spi_write(0x3b9,0x80);
	dev_spi_write(0x3ba,0xdf);
	dev_spi_write(0x3bb,0xf8);
	dev_spi_write(0x3bc,0x8c);
	dev_spi_write(0x3bd,0xe0);
	dev_spi_write(0x3be,0x0);
	dev_spi_write(0x3bf,0x23);
	dev_spi_write(0x3c0,0x94);
	dev_spi_write(0x3c1,0x46);
	dev_spi_write(0x3c2,0x8);
	dev_spi_write(0x3c3,0x25);
	dev_spi_write(0x3c4,0x1a);
	dev_spi_write(0x3c5,0x1d);
	dev_spi_write(0x3c6,0xc);
	dev_spi_write(0x3c7,0xfa);
	dev_spi_write(0x3c8,0x2);
	dev_spi_write(0x3c9,0xf2);
	dev_spi_write(0x3ca,0x10);
	dev_spi_write(0x3cb,0x42);
	dev_spi_write(0x3cc,0xe);
	dev_spi_write(0x3cd,0xd0);
	dev_spi_write(0x3ce,0x18);
	dev_spi_write(0x3cf,0xf8);
	dev_spi_write(0x3d0,0x3);
	dev_spi_write(0x3d1,0x70);
	dev_spi_write(0x3d2,0x4f);
	dev_spi_write(0x3d3,0xb9);
	dev_spi_write(0x3d4,0x1e);
	dev_spi_write(0x3d5,0xf8);
	dev_spi_write(0x3d6,0x13);
	dev_spi_write(0x3d7,0x70);
	dev_spi_write(0x3d8,0x4);
	dev_spi_write(0x3d9,0x2f);
	dev_spi_write(0x3da,0x7);
	dev_spi_write(0x3db,0xd0);
	dev_spi_write(0x3dc,0x66);
	dev_spi_write(0x3dd,0x78);
	dev_spi_write(0x3de,0x3);
	dev_spi_write(0x3df,0xeb);
	dev_spi_write(0x3e0,0x43);
	dev_spi_write(0x3e1,0x2);
	dev_spi_write(0x3e2,0xd2);
	dev_spi_write(0x3e3,0x19);
	dev_spi_write(0x3e4,0x8e);
	dev_spi_write(0x3e5,0x54);
	dev_spi_write(0x3e6,0x1);
	dev_spi_write(0x3e7,0xe0);
	dev_spi_write(0x3e8,0x89);
	dev_spi_write(0x3e9,0xf8);
	dev_spi_write(0x3ea,0x0);
	dev_spi_write(0x3eb,0x50);
	dev_spi_write(0x3ec,0x5b);
	dev_spi_write(0x3ed,0x1c);
	dev_spi_write(0x3ee,0x2);
	dev_spi_write(0x3ef,0x2b);
	dev_spi_write(0x3f0,0xe8);
	dev_spi_write(0x3f1,0xdb);
	dev_spi_write(0x3f2,0x49);
	dev_spi_write(0x3f3,0x46);
	dev_spi_write(0x3f4,0xff);
	dev_spi_write(0x3f5,0xf7);
	dev_spi_write(0x3f6,0x5a);
	dev_spi_write(0x3f7,0xff);
	dev_spi_write(0x3f8,0xbd);
	dev_spi_write(0x3f9,0xe8);
	dev_spi_write(0x3fa,0xf8);
	dev_spi_write(0x3fb,0x83);
	dev_spi_write(0x3fc,0x84);
	dev_spi_write(0x3fd,0x23);
	dev_spi_write(0x3fe,0x1);
	dev_spi_write(0x3ff,0x20);
	dev_spi_write(0x400,0xe0);
	dev_spi_write(0x401,0xab);
	dev_spi_write(0x402,0x0);
	dev_spi_write(0x403,0x20);
	dev_spi_write(0x404,0x3c);
	dev_spi_write(0x405,0x23);
	dev_spi_write(0x406,0x1);
	dev_spi_write(0x407,0x20);
	dev_spi_write(0x408,0xcc);
	dev_spi_write(0x409,0x23);
	dev_spi_write(0x40a,0x1);
	dev_spi_write(0x40b,0x20);
	dev_spi_write(0x40c,0x9c);
	dev_spi_write(0x40d,0x23);
	dev_spi_write(0x40e,0x1);
	dev_spi_write(0x40f,0x20);
	dev_spi_write(0x410,0xa4);
	dev_spi_write(0x411,0x23);
	dev_spi_write(0x412,0x1);
	dev_spi_write(0x413,0x20);
	dev_spi_write(0x414,0xce);
	dev_spi_write(0x415,0x23);
	dev_spi_write(0x416,0x1);
	dev_spi_write(0x417,0x20);
	dev_spi_write(0x418,0xb4);
	dev_spi_write(0x419,0x3);
	dev_spi_write(0x41a,0x0);
	dev_spi_write(0x41b,0xa2);
	dev_spi_write(0x41c,0x68);
	dev_spi_write(0x41d,0xda);
	dev_spi_write(0x41e,0x0);
	dev_spi_write(0x41f,0x20);
	dev_spi_write(0x420,0x2b);
	dev_spi_write(0x421,0xfd);
	dev_spi_write(0x422,0x1);
	dev_spi_write(0x423,0x0);
	dev_spi_write(0x424,0xd4);
	dev_spi_write(0x425,0xf7);
	dev_spi_write(0x426,0x0);
	dev_spi_write(0x427,0x20);
	dev_spi_write(0x428,0xdd);
	dev_spi_write(0x429,0x34);
	dev_spi_write(0x42a,0x0);
	dev_spi_write(0x42b,0x0);
	dev_spi_write(0x42c,0x29);
	dev_spi_write(0x42d,0x47);
	dev_spi_write(0x42e,0x0);
	dev_spi_write(0x42f,0x0);
	dev_spi_write(0x430,0xe1);
	dev_spi_write(0x431,0x5);
	dev_spi_write(0x432,0x3);
	dev_spi_write(0x433,0x0);
	dev_spi_write(0x434,0x13);
	dev_spi_write(0x435,0x5);
	dev_spi_write(0x436,0x3);
	dev_spi_write(0x437,0x0);
	dev_spi_write(0x438,0xa5);
	dev_spi_write(0x439,0x5);
	dev_spi_write(0x43a,0x3);
	dev_spi_write(0x43b,0x0);
	dev_spi_write(0x43c,0x0);
	dev_spi_write(0x43d,0xe1);
	dev_spi_write(0x43e,0x0);
	dev_spi_write(0x43f,0xe0);
	dev_spi_write(0x440,0x6);
	dev_spi_write(0x441,0xd6);
	dev_spi_write(0x442,0x0);
	dev_spi_write(0x443,0x20);
	dev_spi_write(0x444,0x9e);
	dev_spi_write(0x445,0x13);
	dev_spi_write(0x446,0x1);
	dev_spi_write(0x447,0x20);
	dev_spi_write(0x448,0x64);
	dev_spi_write(0x449,0xd6);
	dev_spi_write(0x44a,0x0);
	dev_spi_write(0x44b,0x20);
	dev_spi_write(0x44c,0x2d);
	dev_spi_write(0x44d,0xe9);
	dev_spi_write(0x44e,0xf8);
	dev_spi_write(0x44f,0x4f);
	dev_spi_write(0x450,0x89);
	dev_spi_write(0x451,0x46);
	dev_spi_write(0x452,0xbc);
	dev_spi_write(0x453,0x4a);
	dev_spi_write(0x454,0xbc);
	dev_spi_write(0x455,0x49);
	dev_spi_write(0x456,0x80);
	dev_spi_write(0x457,0x46);
	dev_spi_write(0x458,0x4f);
	dev_spi_write(0x459,0xea);
	dev_spi_write(0x45a,0x68);
	dev_spi_write(0x45b,0x0);
	dev_spi_write(0x45c,0xb8);
	dev_spi_write(0x45d,0x4b);
	dev_spi_write(0x45e,0x12);
	dev_spi_write(0x45f,0x5c);
	dev_spi_write(0x460,0x9);
	dev_spi_write(0x461,0x88);
	dev_spi_write(0x462,0xbb);
	dev_spi_write(0x463,0x48);
	dev_spi_write(0x464,0x9c);
	dev_spi_write(0x465,0x5c);
	dev_spi_write(0x466,0x0);
	dev_spi_write(0x467,0x68);
	dev_spi_write(0x468,0xb8);
	dev_spi_write(0x469,0x4a);
	dev_spi_write(0x46a,0x3);
	dev_spi_write(0x46b,0x46);
	dev_spi_write(0x46c,0x4c);
	dev_spi_write(0x46d,0x43);
	dev_spi_write(0x46e,0x2);
	dev_spi_write(0x46f,0xeb);
	dev_spi_write(0x470,0xc8);
	dev_spi_write(0x471,0x2);
	dev_spi_write(0x472,0x1);
	dev_spi_write(0x473,0x20);
	dev_spi_write(0x474,0x21);
	dev_spi_write(0x475,0x46);
	dev_spi_write(0x476,0x98);
	dev_spi_write(0x477,0x47);
	dev_spi_write(0x478,0xdf);
	dev_spi_write(0x479,0xf8);
	dev_spi_write(0x47a,0xd8);
	dev_spi_write(0x47b,0xc2);
	dev_spi_write(0x47c,0x4f);
	dev_spi_write(0x47d,0xea);
	dev_spi_write(0x47e,0x8);
	dev_spi_write(0x47f,0x1a);
	dev_spi_write(0x480,0x0);
	dev_spi_write(0x481,0x25);
	dev_spi_write(0x482,0x56);
	dev_spi_write(0x483,0x46);
	dev_spi_write(0x484,0x22);
	dev_spi_write(0x485,0x46);
	dev_spi_write(0x486,0x2);
	dev_spi_write(0x487,0x24);
	dev_spi_write(0x488,0x4f);
	dev_spi_write(0x489,0xea);
	dev_spi_write(0x48a,0x12);
	dev_spi_write(0x48b,0x1e);
	dev_spi_write(0x48c,0x5);
	dev_spi_write(0x48d,0xeb);
	dev_spi_write(0x48e,0xa);
	dev_spi_write(0x48f,0x3);
	dev_spi_write(0x490,0xc);
	dev_spi_write(0x491,0xeb);
	dev_spi_write(0x492,0x6);
	dev_spi_write(0x493,0x0);
	dev_spi_write(0x494,0x2);
	dev_spi_write(0x495,0x27);
	dev_spi_write(0x496,0x63);
	dev_spi_write(0x497,0x44);
	dev_spi_write(0x498,0x90);
	dev_spi_write(0x499,0x30);
	dev_spi_write(0x49a,0x3);
	dev_spi_write(0x49b,0xf5);
	dev_spi_write(0x49c,0x20);
	dev_spi_write(0x49d,0x7b);
	dev_spi_write(0x49e,0x50);
	dev_spi_write(0x49f,0xf8);
	dev_spi_write(0x4a0,0x4);
	dev_spi_write(0x4a1,0x3b);
	dev_spi_write(0x4a2,0x19);
	dev_spi_write(0x4a3,0x1);
	dev_spi_write(0x4a4,0x7f);
	dev_spi_write(0x4a5,0x1e);
	dev_spi_write(0x4a6,0xb1);
	dev_spi_write(0x4a7,0xfb);
	dev_spi_write(0x4a8,0xf2);
	dev_spi_write(0x4a9,0xf1);
	dev_spi_write(0x4aa,0xe);
	dev_spi_write(0x4ab,0xfb);
	dev_spi_write(0x4ac,0x11);
	dev_spi_write(0x4ad,0x31);
	dev_spi_write(0x4ae,0x4b);
	dev_spi_write(0x4af,0xf8);
	dev_spi_write(0x4b0,0x8);
	dev_spi_write(0x4b1,0x1b);
	dev_spi_write(0x4b2,0xf4);
	dev_spi_write(0x4b3,0xd1);
	dev_spi_write(0x4b4,0x64);
	dev_spi_write(0x4b5,0x1e);
	dev_spi_write(0x4b6,0x6);
	dev_spi_write(0x4b7,0xf1);
	dev_spi_write(0x4b8,0x8);
	dev_spi_write(0x4b9,0x6);
	dev_spi_write(0x4ba,0x5);
	dev_spi_write(0x4bb,0xf1);
	dev_spi_write(0x4bc,0x4);
	dev_spi_write(0x4bd,0x5);
	dev_spi_write(0x4be,0xe5);
	dev_spi_write(0x4bf,0xd1);
	dev_spi_write(0x4c0,0x40);
	dev_spi_write(0x4c1,0x46);
	dev_spi_write(0x4c2,0x49);
	dev_spi_write(0x4c3,0x46);
	dev_spi_write(0x4c4,0xe1);
	dev_spi_write(0x4c5,0xf7);
	dev_spi_write(0x4c6,0x34);
	dev_spi_write(0x4c7,0xfb);
	dev_spi_write(0x4c8,0xbd);
	dev_spi_write(0x4c9,0xe8);
	dev_spi_write(0x4ca,0xf8);
	dev_spi_write(0x4cb,0x8f);
	dev_spi_write(0x4cc,0x10);
	dev_spi_write(0x4cd,0xb5);
	dev_spi_write(0x4ce,0x4);
	dev_spi_write(0x4cf,0x46);
	dev_spi_write(0x4d0,0xe1);
	dev_spi_write(0x4d1,0xf7);
	dev_spi_write(0x4d2,0x2b);
	dev_spi_write(0x4d3,0xfe);
	dev_spi_write(0x4d4,0xa0);
	dev_spi_write(0x4d5,0x48);
	dev_spi_write(0x4d6,0x0);
	dev_spi_write(0x4d7,0x78);
	dev_spi_write(0x4d8,0x8);
	dev_spi_write(0x4d9,0xbb);
	dev_spi_write(0x4da,0xa0);
	dev_spi_write(0x4db,0x48);
	dev_spi_write(0x4dc,0x21);
	dev_spi_write(0x4dd,0x18);
	dev_spi_write(0x4de,0x0);
	dev_spi_write(0x4df,0xeb);
	dev_spi_write(0x4e0,0x44);
	dev_spi_write(0x4e1,0x2);
	dev_spi_write(0x4e2,0x91);
	dev_spi_write(0x4e3,0xf8);
	dev_spi_write(0x4e4,0xfb);
	dev_spi_write(0x4e5,0x11);
	dev_spi_write(0x4e6,0x92);
	dev_spi_write(0x4e7,0xf8);
	dev_spi_write(0x4e8,0x8c);
	dev_spi_write(0x4e9,0x2);
	dev_spi_write(0x4ea,0x92);
	dev_spi_write(0x4eb,0xf8);
	dev_spi_write(0x4ec,0x8d);
	dev_spi_write(0x4ed,0x22);
	dev_spi_write(0x4ee,0x0);
	dev_spi_write(0x4ef,0xeb);
	dev_spi_write(0x4f0,0x42);
	dev_spi_write(0x4f1,0x2);
	dev_spi_write(0x4f2,0xd2);
	dev_spi_write(0x4f3,0xb2);
	dev_spi_write(0x4f4,0x19);
	dev_spi_write(0x4f5,0xb9);
	dev_spi_write(0x4f6,0x0);
	dev_spi_write(0x4f7,0x21);
	dev_spi_write(0x4f8,0x0);
	dev_spi_write(0x4f9,0xb1);
	dev_spi_write(0x4fa,0x1);
	dev_spi_write(0x4fb,0x21);
	dev_spi_write(0x4fc,0xa);
	dev_spi_write(0x4fd,0x46);
	dev_spi_write(0x4fe,0x93);
	dev_spi_write(0x4ff,0x48);
	dev_spi_write(0x500,0x7c);
	dev_spi_write(0x501,0x30);
	dev_spi_write(0x502,0x21);
	dev_spi_write(0x503,0x18);
	dev_spi_write(0x504,0xb);
	dev_spi_write(0x505,0x78);
	dev_spi_write(0x506,0x10);
	dev_spi_write(0x507,0x46);
	dev_spi_write(0x508,0x1);
	dev_spi_write(0x509,0x2b);
	dev_spi_write(0x50a,0x2);
	dev_spi_write(0x50b,0xd0);
	dev_spi_write(0x50c,0x9);
	dev_spi_write(0x50d,0x79);
	dev_spi_write(0x50e,0x1);
	dev_spi_write(0x50f,0x29);
	dev_spi_write(0x510,0x0);
	dev_spi_write(0x511,0xd1);
	dev_spi_write(0x512,0x0);
	dev_spi_write(0x513,0x20);
	dev_spi_write(0x514,0x92);
	dev_spi_write(0x515,0x49);
	dev_spi_write(0x516,0x0);
	dev_spi_write(0x517,0xeb);
	dev_spi_write(0x518,0x2);
	dev_spi_write(0x519,0x10);
	dev_spi_write(0x51a,0x64);
	dev_spi_write(0x51b,0x1a);
	dev_spi_write(0x51c,0x20);
	dev_spi_write(0x51d,0x70);
	dev_spi_write(0x51e,0x10);
	dev_spi_write(0x51f,0xbd);
	dev_spi_write(0x520,0x70);
	dev_spi_write(0x521,0xb5);
	dev_spi_write(0x522,0x2);
	dev_spi_write(0x523,0x46);
	dev_spi_write(0x524,0xd2);
	dev_spi_write(0x525,0xf8);
	dev_spi_write(0x526,0xa4);
	dev_spi_write(0x527,0x60);
	dev_spi_write(0x528,0xd2);
	dev_spi_write(0x529,0xf8);
	dev_spi_write(0x52a,0x44);
	dev_spi_write(0x52b,0x51);
	dev_spi_write(0x52c,0xd2);
	dev_spi_write(0x52d,0xf8);
	dev_spi_write(0x52e,0x4);
	dev_spi_write(0x52f,0x41);
	dev_spi_write(0x530,0x8);
	dev_spi_write(0x531,0x46);
	dev_spi_write(0x532,0x2);
	dev_spi_write(0x533,0x28);
	dev_spi_write(0x534,0xd);
	dev_spi_write(0x535,0xdb);
	dev_spi_write(0x536,0x40);
	dev_spi_write(0x537,0x1e);
	dev_spi_write(0x538,0x1);
	dev_spi_write(0x539,0x21);
	dev_spi_write(0x53a,0x2);
	dev_spi_write(0x53b,0xeb);
	dev_spi_write(0x53c,0x81);
	dev_spi_write(0x53d,0x3);
	dev_spi_write(0x53e,0xc3);
	dev_spi_write(0x53f,0xf8);
	dev_spi_write(0x540,0xa4);
	dev_spi_write(0x541,0x60);
	dev_spi_write(0x542,0x40);
	dev_spi_write(0x543,0x1e);
	dev_spi_write(0x544,0xc3);
	dev_spi_write(0x545,0xf8);
	dev_spi_write(0x546,0x44);
	dev_spi_write(0x547,0x51);
	dev_spi_write(0x548,0x1);
	dev_spi_write(0x549,0xf1);
	dev_spi_write(0x54a,0x1);
	dev_spi_write(0x54b,0x1);
	dev_spi_write(0x54c,0xc3);
	dev_spi_write(0x54d,0xf8);
	dev_spi_write(0x54e,0x4);
	dev_spi_write(0x54f,0x41);
	dev_spi_write(0x550,0xf3);
	dev_spi_write(0x551,0xd1);
	dev_spi_write(0x552,0x70);
	dev_spi_write(0x553,0xbd);
	dev_spi_write(0x554,0x10);
	dev_spi_write(0x555,0xb5);
	dev_spi_write(0x556,0x4);
	dev_spi_write(0x557,0x46);
	dev_spi_write(0x558,0x82);
	dev_spi_write(0x559,0x48);
	dev_spi_write(0x55a,0x4);
	dev_spi_write(0x55b,0x70);
	dev_spi_write(0x55c,0x20);
	dev_spi_write(0x55d,0x46);
	dev_spi_write(0x55e,0xe1);
	dev_spi_write(0x55f,0xf7);
	dev_spi_write(0x560,0x2b);
	dev_spi_write(0x561,0xfe);
	dev_spi_write(0x562,0x81);
	dev_spi_write(0x563,0x48);
	dev_spi_write(0x564,0x50);
	dev_spi_write(0x565,0xf8);
	dev_spi_write(0x566,0x24);
	dev_spi_write(0x567,0x0);
	dev_spi_write(0x568,0xf);
	dev_spi_write(0x569,0x21);
	dev_spi_write(0x56a,0xff);
	dev_spi_write(0x56b,0xf7);
	dev_spi_write(0x56c,0xd9);
	dev_spi_write(0x56d,0xff);
	dev_spi_write(0x56e,0x10);
	dev_spi_write(0x56f,0xbd);
	dev_spi_write(0x570,0x2d);
	dev_spi_write(0x571,0xe9);
	dev_spi_write(0x572,0xf0);
	dev_spi_write(0x573,0x41);
	dev_spi_write(0x574,0x4);
	dev_spi_write(0x575,0x46);
	dev_spi_write(0x576,0x7d);
	dev_spi_write(0x577,0x4d);
	dev_spi_write(0x578,0x7d);
	dev_spi_write(0x579,0x48);
	dev_spi_write(0x57a,0x2e);
	dev_spi_write(0x57b,0x88);
	dev_spi_write(0x57c,0x2b);
	dev_spi_write(0x57d,0x80);
	dev_spi_write(0x57e,0x0);
	dev_spi_write(0x57f,0x68);
	dev_spi_write(0x580,0x90);
	dev_spi_write(0x581,0x46);
	dev_spi_write(0x582,0xf);
	dev_spi_write(0x583,0x46);
	dev_spi_write(0x584,0x80);
	dev_spi_write(0x585,0x47);
	dev_spi_write(0x586,0x1);
	dev_spi_write(0x587,0x28);
	dev_spi_write(0x588,0x41);
	dev_spi_write(0x589,0x46);
	dev_spi_write(0x58a,0x3c);
	dev_spi_write(0x58b,0xd1);
	dev_spi_write(0x58c,0x4f);
	dev_spi_write(0x58d,0xf0);
	dev_spi_write(0x58e,0x29);
	dev_spi_write(0x58f,0x42);
	dev_spi_write(0x590,0x92);
	dev_spi_write(0x591,0xf8);
	dev_spi_write(0x592,0x77);
	dev_spi_write(0x593,0x0);
	dev_spi_write(0x594,0x40);
	dev_spi_write(0x595,0xf0);
	dev_spi_write(0x596,0x8);
	dev_spi_write(0x597,0x0);
	dev_spi_write(0x598,0x82);
	dev_spi_write(0x599,0xf8);
	dev_spi_write(0x59a,0x77);
	dev_spi_write(0x59b,0x0);
	dev_spi_write(0x59c,0x92);
	dev_spi_write(0x59d,0xf8);
	dev_spi_write(0x59e,0x82);
	dev_spi_write(0x59f,0x0);
	dev_spi_write(0x5a0,0x0);
	dev_spi_write(0x5a1,0xf0);
	dev_spi_write(0x5a2,0xc3);
	dev_spi_write(0x5a3,0x0);
	dev_spi_write(0x5a4,0xc);
	dev_spi_write(0x5a5,0x30);
	dev_spi_write(0x5a6,0x82);
	dev_spi_write(0x5a7,0xf8);
	dev_spi_write(0x5a8,0x82);
	dev_spi_write(0x5a9,0x0);
	dev_spi_write(0x5aa,0x7);
	dev_spi_write(0x5ab,0xeb);
	dev_spi_write(0x5ac,0x4);
	dev_spi_write(0x5ad,0x17);
	dev_spi_write(0x5ae,0x82);
	dev_spi_write(0x5af,0xf8);
	dev_spi_write(0x5b0,0x76);
	dev_spi_write(0x5b1,0x70);
	dev_spi_write(0x5b2,0x92);
	dev_spi_write(0x5b3,0xf8);
	dev_spi_write(0x5b4,0x77);
	dev_spi_write(0x5b5,0x0);
	dev_spi_write(0x5b6,0x1);
	dev_spi_write(0x5b7,0xf0);
	dev_spi_write(0x5b8,0x3);
	dev_spi_write(0x5b9,0x1);
	dev_spi_write(0x5ba,0x0);
	dev_spi_write(0x5bb,0xf0);
	dev_spi_write(0x5bc,0xfc);
	dev_spi_write(0x5bd,0x0);
	dev_spi_write(0x5be,0x1);
	dev_spi_write(0x5bf,0x43);
	dev_spi_write(0x5c0,0x82);
	dev_spi_write(0x5c1,0xf8);
	dev_spi_write(0x5c2,0x77);
	dev_spi_write(0x5c3,0x10);
	dev_spi_write(0x5c4,0x92);
	dev_spi_write(0x5c5,0xf8);
	dev_spi_write(0x5c6,0x77);
	dev_spi_write(0x5c7,0x0);
	dev_spi_write(0x5c8,0x0);
	dev_spi_write(0x5c9,0xf0);
	dev_spi_write(0x5ca,0xfb);
	dev_spi_write(0x5cb,0x0);
	dev_spi_write(0x5cc,0x82);
	dev_spi_write(0x5cd,0xf8);
	dev_spi_write(0x5ce,0x77);
	dev_spi_write(0x5cf,0x0);
	dev_spi_write(0x5d0,0x92);
	dev_spi_write(0x5d1,0xf8);
	dev_spi_write(0x5d2,0x77);
	dev_spi_write(0x5d3,0x0);
	dev_spi_write(0x5d4,0x40);
	dev_spi_write(0x5d5,0xf0);
	dev_spi_write(0x5d6,0x4);
	dev_spi_write(0x5d7,0x0);
	dev_spi_write(0x5d8,0x82);
	dev_spi_write(0x5d9,0xf8);
	dev_spi_write(0x5da,0x77);
	dev_spi_write(0x5db,0x0);
	dev_spi_write(0x5dc,0x92);
	dev_spi_write(0x5dd,0xf8);
	dev_spi_write(0x5de,0x77);
	dev_spi_write(0x5df,0x0);
	dev_spi_write(0x5e0,0x0);
	dev_spi_write(0x5e1,0xf0);
	dev_spi_write(0x5e2,0xf7);
	dev_spi_write(0x5e3,0x0);
	dev_spi_write(0x5e4,0x82);
	dev_spi_write(0x5e5,0xf8);
	dev_spi_write(0x5e6,0x77);
	dev_spi_write(0x5e7,0x0);
	dev_spi_write(0x5e8,0x92);
	dev_spi_write(0x5e9,0xf8);
	dev_spi_write(0x5ea,0x82);
	dev_spi_write(0x5eb,0x0);
	dev_spi_write(0x5ec,0x0);
	dev_spi_write(0x5ed,0xf0);
	dev_spi_write(0x5ee,0xc3);
	dev_spi_write(0x5ef,0x0);
	dev_spi_write(0x5f0,0x82);
	dev_spi_write(0x5f1,0xf8);
	dev_spi_write(0x5f2,0x82);
	dev_spi_write(0x5f3,0x0);
	dev_spi_write(0x5f4,0x0);
	dev_spi_write(0x5f5,0x23);
	dev_spi_write(0x5f6,0x82);
	dev_spi_write(0x5f7,0xf8);
	dev_spi_write(0x5f8,0x76);
	dev_spi_write(0x5f9,0x30);
	dev_spi_write(0x5fa,0x92);
	dev_spi_write(0x5fb,0xf8);
	dev_spi_write(0x5fc,0x77);
	dev_spi_write(0x5fd,0x0);
	dev_spi_write(0x5fe,0x0);
	dev_spi_write(0x5ff,0xf0);
	dev_spi_write(0x600,0xfc);
	dev_spi_write(0x601,0x0);
	dev_spi_write(0x602,0x82);
	dev_spi_write(0x603,0xf8);
	dev_spi_write(0x604,0x77);
	dev_spi_write(0x605,0x0);
	dev_spi_write(0x606,0x5b);
	dev_spi_write(0x607,0x48);
	dev_spi_write(0x608,0xd0);
	dev_spi_write(0x609,0xf8);
	dev_spi_write(0x60a,0x18);
	dev_spi_write(0x60b,0x4);
	dev_spi_write(0x60c,0x80);
	dev_spi_write(0x60d,0x47);
	dev_spi_write(0x60e,0x2e);
	dev_spi_write(0x60f,0x80);
	dev_spi_write(0x610,0xbd);
	dev_spi_write(0x611,0xe8);
	dev_spi_write(0x612,0xf0);
	dev_spi_write(0x613,0x81);
	dev_spi_write(0x614,0x70);
	dev_spi_write(0x615,0xb5);
	dev_spi_write(0x616,0x53);
	dev_spi_write(0x617,0x4b);
	dev_spi_write(0x618,0x50);
	dev_spi_write(0x619,0x4d);
	dev_spi_write(0x61a,0x1b);
	dev_spi_write(0x61b,0x78);
	dev_spi_write(0x61c,0x5);
	dev_spi_write(0x61d,0xeb);
	dev_spi_write(0x61e,0x63);
	dev_spi_write(0x61f,0x4);
	dev_spi_write(0x620,0x5b);
	dev_spi_write(0x621,0x19);
	dev_spi_write(0x622,0x9e);
	dev_spi_write(0x623,0x7a);
	dev_spi_write(0x624,0xa5);
	dev_spi_write(0x625,0x79);
	dev_spi_write(0x626,0x54);
	dev_spi_write(0x627,0x4c);
	dev_spi_write(0x628,0x6b);
	dev_spi_write(0x629,0x0);
	dev_spi_write(0x62a,0x3);
	dev_spi_write(0x62b,0xeb);
	dev_spi_write(0x62c,0xc5);
	dev_spi_write(0x62d,0x3);
	dev_spi_write(0x62e,0x9b);
	dev_spi_write(0x62f,0x19);
	dev_spi_write(0x630,0xe3);
	dev_spi_write(0x631,0x5c);
	dev_spi_write(0x632,0x6);
	dev_spi_write(0x633,0x2b);
	dev_spi_write(0x634,0x6);
	dev_spi_write(0x635,0xda);
	dev_spi_write(0x636,0x8a);
	dev_spi_write(0x637,0x0);
	dev_spi_write(0x638,0x83);
	dev_spi_write(0x639,0x8);
	dev_spi_write(0x63a,0xb2);
	dev_spi_write(0x63b,0xfb);
	dev_spi_write(0x63c,0xf0);
	dev_spi_write(0x63d,0xf0);
	dev_spi_write(0x63e,0x3);
	dev_spi_write(0x63f,0xfb);
	dev_spi_write(0x640,0x10);
	dev_spi_write(0x641,0x10);
	dev_spi_write(0x642,0x70);
	dev_spi_write(0x643,0xbd);
	dev_spi_write(0x644,0xe2);
	dev_spi_write(0x645,0xf7);
	dev_spi_write(0x646,0xd7);
	dev_spi_write(0x647,0xf8);
	dev_spi_write(0x648,0x70);
	dev_spi_write(0x649,0xbd);
	dev_spi_write(0x64a,0x2d);
	dev_spi_write(0x64b,0xe9);
	dev_spi_write(0x64c,0xf0);
	dev_spi_write(0x64d,0x43);
	dev_spi_write(0x64e,0x4f);
	dev_spi_write(0x64f,0xf0);
	dev_spi_write(0x650,0x0);
	dev_spi_write(0x651,0x8);
	dev_spi_write(0x652,0x4);
	dev_spi_write(0x653,0x46);
	dev_spi_write(0x654,0x15);
	dev_spi_write(0x655,0x46);
	dev_spi_write(0x656,0xad);
	dev_spi_write(0x657,0xf1);
	dev_spi_write(0x658,0x14);
	dev_spi_write(0x659,0xd);
	dev_spi_write(0x65a,0x81);
	dev_spi_write(0x65b,0xf8);
	dev_spi_write(0x65c,0x0);
	dev_spi_write(0x65d,0x80);
	dev_spi_write(0x65e,0xe2);
	dev_spi_write(0x65f,0xf7);
	dev_spi_write(0x660,0xe7);
	dev_spi_write(0x661,0xf8);
	dev_spi_write(0x662,0x3e);
	dev_spi_write(0x663,0x4a);
	dev_spi_write(0x664,0x50);
	dev_spi_write(0x665,0x78);
	dev_spi_write(0x666,0x1);
	dev_spi_write(0x667,0x21);
	dev_spi_write(0x668,0x1);
	dev_spi_write(0x669,0xfa);
	dev_spi_write(0x66a,0x4);
	dev_spi_write(0x66b,0xf3);
	dev_spi_write(0x66c,0x3);
	dev_spi_write(0x66d,0x42);
	dev_spi_write(0x66e,0x64);
	dev_spi_write(0x66f,0xd0);
	dev_spi_write(0x670,0x44);
	dev_spi_write(0x671,0x4b);
	dev_spi_write(0x672,0x42);
	dev_spi_write(0x673,0x4e);
	dev_spi_write(0x674,0x14);
	dev_spi_write(0x675,0x20);
	dev_spi_write(0x676,0xa7);
	dev_spi_write(0x677,0x18);
	dev_spi_write(0x678,0x14);
	dev_spi_write(0x679,0xfb);
	dev_spi_write(0x67a,0x0);
	dev_spi_write(0x67b,0xf0);
	dev_spi_write(0x67c,0x1b);
	dev_spi_write(0x67d,0x58);
	dev_spi_write(0x67e,0x38);
	dev_spi_write(0x67f,0x7a);
	dev_spi_write(0x680,0x3f);
	dev_spi_write(0x681,0x4f);
	dev_spi_write(0x682,0x30);
	dev_spi_write(0x683,0x5c);
	dev_spi_write(0x684,0xb7);
	dev_spi_write(0x685,0xf8);
	dev_spi_write(0x686,0x9e);
	dev_spi_write(0x687,0x61);
	dev_spi_write(0x688,0x70);
	dev_spi_write(0x689,0x43);
	dev_spi_write(0x68a,0x18);
	dev_spi_write(0x68b,0x26);
	dev_spi_write(0x68c,0x14);
	dev_spi_write(0x68d,0xfb);
	dev_spi_write(0x68e,0x6);
	dev_spi_write(0x68f,0x2c);
	dev_spi_write(0x690,0xc);
	dev_spi_write(0x691,0xeb);
	dev_spi_write(0x692,0xc5);
	dev_spi_write(0x693,0xe);
	dev_spi_write(0x694,0xde);
	dev_spi_write(0x695,0xf8);
	dev_spi_write(0x696,0xd0);
	dev_spi_write(0x697,0x60);
	dev_spi_write(0x698,0xb2);
	dev_spi_write(0x699,0x0);
	dev_spi_write(0x69a,0xb2);
	dev_spi_write(0x69b,0xfb);
	dev_spi_write(0x69c,0xf0);
	dev_spi_write(0x69d,0xf9);
	dev_spi_write(0x69e,0x82);
	dev_spi_write(0x69f,0x8);
	dev_spi_write(0x6a0,0x2);
	dev_spi_write(0x6a1,0xfb);
	dev_spi_write(0x6a2,0x19);
	dev_spi_write(0x6a3,0x66);
	dev_spi_write(0x6a4,0x0);
	dev_spi_write(0x6a5,0x96);
	dev_spi_write(0x6a6,0xde);
	dev_spi_write(0x6a7,0xf8);
	dev_spi_write(0x6a8,0xd4);
	dev_spi_write(0x6a9,0x60);
	dev_spi_write(0x6aa,0x4f);
	dev_spi_write(0x6ab,0xea);
	dev_spi_write(0x6ac,0x86);
	dev_spi_write(0x6ad,0xe);
	dev_spi_write(0x6ae,0xbe);
	dev_spi_write(0x6af,0xfb);
	dev_spi_write(0x6b0,0xf0);
	dev_spi_write(0x6b1,0xfe);
	dev_spi_write(0x6b2,0x2);
	dev_spi_write(0x6b3,0xfb);
	dev_spi_write(0x6b4,0x1e);
	dev_spi_write(0x6b5,0x66);
	dev_spi_write(0x6b6,0x1);
	dev_spi_write(0x6b7,0x96);
	dev_spi_write(0x6b8,0xdc);
	dev_spi_write(0x6b9,0xf8);
	dev_spi_write(0x6ba,0xe0);
	dev_spi_write(0x6bb,0x60);
	dev_spi_write(0x6bc,0x4f);
	dev_spi_write(0x6bd,0xea);
	dev_spi_write(0x6be,0x86);
	dev_spi_write(0x6bf,0xe);
	dev_spi_write(0x6c0,0xbe);
	dev_spi_write(0x6c1,0xfb);
	dev_spi_write(0x6c2,0xf0);
	dev_spi_write(0x6c3,0xfe);
	dev_spi_write(0x6c4,0x2);
	dev_spi_write(0x6c5,0xfb);
	dev_spi_write(0x6c6,0x1e);
	dev_spi_write(0x6c7,0x66);
	dev_spi_write(0x6c8,0x2);
	dev_spi_write(0x6c9,0x96);
	dev_spi_write(0x6ca,0xdc);
	dev_spi_write(0x6cb,0xf8);
	dev_spi_write(0x6cc,0xe4);
	dev_spi_write(0x6cd,0x60);
	dev_spi_write(0x6ce,0x4f);
	dev_spi_write(0x6cf,0xea);
	dev_spi_write(0x6d0,0x86);
	dev_spi_write(0x6d1,0xc);
	dev_spi_write(0x6d2,0xbc);
	dev_spi_write(0x6d3,0xfb);
	dev_spi_write(0x6d4,0xf0);
	dev_spi_write(0x6d5,0xf0);
	dev_spi_write(0x6d6,0x2);
	dev_spi_write(0x6d7,0xfb);
	dev_spi_write(0x6d8,0x10);
	dev_spi_write(0x6d9,0x60);
	dev_spi_write(0x6da,0x3);
	dev_spi_write(0x6db,0x90);
	dev_spi_write(0x6dc,0xe6);
	dev_spi_write(0x6dd,0x19);
	dev_spi_write(0x6de,0x96);
	dev_spi_write(0x6df,0xf8);
	dev_spi_write(0x6e0,0x6c);
	dev_spi_write(0x6e1,0x0);
	dev_spi_write(0x6e2,0xa);
	dev_spi_write(0x6e3,0x46);
	dev_spi_write(0x6e4,0x3);
	dev_spi_write(0x6e5,0x28);
	dev_spi_write(0x6e6,0x7);
	dev_spi_write(0x6e7,0xd0);
	dev_spi_write(0x6e8,0xa);
	dev_spi_write(0x6e9,0x28);
	dev_spi_write(0x6ea,0x5);
	dev_spi_write(0x6eb,0xd0);
	dev_spi_write(0x6ec,0xb);
	dev_spi_write(0x6ed,0x28);
	dev_spi_write(0x6ee,0x3);
	dev_spi_write(0x6ef,0xd0);
	dev_spi_write(0x6f0,0xc);
	dev_spi_write(0x6f1,0x28);
	dev_spi_write(0x6f2,0x1c);
	dev_spi_write(0x6f3,0xbf);
	dev_spi_write(0x6f4,0xd);
	dev_spi_write(0x6f5,0x28);
	dev_spi_write(0x6f6,0x42);
	dev_spi_write(0x6f7,0x46);
	dev_spi_write(0x6f8,0x12);
	dev_spi_write(0x6f9,0xfb);
	dev_spi_write(0x6fa,0x5);
	dev_spi_write(0x6fb,0xf0);
	dev_spi_write(0x6fc,0x4);
	dev_spi_write(0x6fd,0x27);
	dev_spi_write(0x6fe,0xec);
	dev_spi_write(0x6ff,0x46);
	dev_spi_write(0x700,0x40);
	dev_spi_write(0x701,0x1);
	dev_spi_write(0x702,0x0);
	dev_spi_write(0x703,0xf5);
	dev_spi_write(0x704,0x80);
	dev_spi_write(0x705,0x72);
	dev_spi_write(0x706,0x96);
	dev_spi_write(0x707,0xb2);
	dev_spi_write(0x708,0x40);
	dev_spi_write(0x709,0x46);
	dev_spi_write(0x70a,0x5c);
	dev_spi_write(0x70b,0xf8);
	dev_spi_write(0x70c,0x4);
	dev_spi_write(0x70d,0x2b);
	dev_spi_write(0x70e,0x85);
	dev_spi_write(0x70f,0x19);
	dev_spi_write(0x710,0x7f);
	dev_spi_write(0x711,0x1e);
	dev_spi_write(0x712,0x0);
	dev_spi_write(0x713,0xf1);
	dev_spi_write(0x714,0x4);
	dev_spi_write(0x715,0x0);
	dev_spi_write(0x716,0x5a);
	dev_spi_write(0x717,0x51);
	dev_spi_write(0x718,0xf7);
	dev_spi_write(0x719,0xd1);
	dev_spi_write(0x71a,0x1b);
	dev_spi_write(0x71b,0x4a);
	dev_spi_write(0x71c,0x15);
	dev_spi_write(0x71d,0x20);
	dev_spi_write(0x71e,0x14);
	dev_spi_write(0x71f,0xfb);
	dev_spi_write(0x720,0x0);
	dev_spi_write(0x721,0xf0);
	dev_spi_write(0x722,0x10);
	dev_spi_write(0x723,0x5c);
	dev_spi_write(0x724,0x6);
	dev_spi_write(0x725,0x28);
	dev_spi_write(0x726,0x3);
	dev_spi_write(0x727,0xd0);
	dev_spi_write(0x728,0x40);
	dev_spi_write(0x729,0x8);
	dev_spi_write(0x72a,0x2c);
	dev_spi_write(0x72b,0xbf);
	dev_spi_write(0x72c,0xf);
	dev_spi_write(0x72d,0x21);
	dev_spi_write(0x72e,0x7);
	dev_spi_write(0x72f,0x21);
	dev_spi_write(0x730,0x16);
	dev_spi_write(0x731,0x48);
	dev_spi_write(0x732,0x50);
	dev_spi_write(0x733,0xf8);
	dev_spi_write(0x734,0x24);
	dev_spi_write(0x735,0x0);
	dev_spi_write(0x736,0xff);
	dev_spi_write(0x737,0xf7);
	dev_spi_write(0x738,0xf3);
	dev_spi_write(0x739,0xfe);
	dev_spi_write(0x73a,0x5);
	dev_spi_write(0x73b,0xb0);
	dev_spi_write(0x73c,0xbd);
	dev_spi_write(0x73d,0xe8);
	dev_spi_write(0x73e,0xf0);
	dev_spi_write(0x73f,0x83);
	dev_spi_write(0x740,0x3b);
	dev_spi_write(0x741,0x78);
	dev_spi_write(0x742,0x2);
	dev_spi_write(0x743,0x0);
	dev_spi_write(0x744,0x17);
	dev_spi_write(0x745,0x1);
	dev_spi_write(0x746,0x1);
	dev_spi_write(0x747,0x20);
	dev_spi_write(0x748,0x52);
	dev_spi_write(0x749,0x3);
	dev_spi_write(0x74a,0x1);
	dev_spi_write(0x74b,0x20);
	dev_spi_write(0x74c,0x34);
	dev_spi_write(0x74d,0xfe);
	dev_spi_write(0x74e,0x0);
	dev_spi_write(0x74f,0x20);
	dev_spi_write(0x750,0xbc);
	dev_spi_write(0x751,0xdc);
	dev_spi_write(0x752,0x0);
	dev_spi_write(0x753,0x20);
	dev_spi_write(0x754,0xd4);
	dev_spi_write(0x755,0xfb);
	dev_spi_write(0x756,0x0);
	dev_spi_write(0x757,0x20);
	dev_spi_write(0x758,0x29);
	dev_spi_write(0x759,0x1f);
	dev_spi_write(0x75a,0x1);
	dev_spi_write(0x75b,0x20);
	dev_spi_write(0x75c,0x18);
	dev_spi_write(0x75d,0xff);
	dev_spi_write(0x75e,0x0);
	dev_spi_write(0x75f,0x20);
	dev_spi_write(0x760,0x64);
	dev_spi_write(0x761,0xff);
	dev_spi_write(0x762,0xf9);
	dev_spi_write(0x763,0x57);
	dev_spi_write(0x764,0xd0);
	dev_spi_write(0x765,0x23);
	dev_spi_write(0x766,0x1);
	dev_spi_write(0x767,0x20);
	dev_spi_write(0x768,0x9c);
	dev_spi_write(0x769,0x77);
	dev_spi_write(0x76a,0x2);
	dev_spi_write(0x76b,0x0);
	dev_spi_write(0x76c,0x1c);
	dev_spi_write(0x76d,0x8);
	dev_spi_write(0x76e,0x6);
	dev_spi_write(0x76f,0xa8);
	dev_spi_write(0x770,0xa4);
	dev_spi_write(0x771,0xda);
	dev_spi_write(0x772,0x0);
	dev_spi_write(0x773,0x20);
	dev_spi_write(0x774,0x90);
	dev_spi_write(0x775,0xd6);
	dev_spi_write(0x776,0x0);
	dev_spi_write(0x777,0x20);
	dev_spi_write(0x778,0xb8);
	dev_spi_write(0x779,0x16);
	dev_spi_write(0x77a,0x1);
	dev_spi_write(0x77b,0x20);
	dev_spi_write(0x77c,0xac);
	dev_spi_write(0x77d,0x78);
	dev_spi_write(0x77e,0x2);
	dev_spi_write(0x77f,0x0);
	dev_spi_write(0x780,0xb4);
	dev_spi_write(0x781,0x1);
	dev_spi_write(0x782,0x1);
	dev_spi_write(0x783,0x20);
	dev_spi_write(0x784,0xd8);
	dev_spi_write(0x785,0x74);
	dev_spi_write(0x786,0x2);
	dev_spi_write(0x787,0x0);
	dev_spi_write(0x788,0x32);
	dev_spi_write(0x789,0xd4);
	dev_spi_write(0x78a,0x0);
	dev_spi_write(0x78b,0x20);
	dev_spi_write(0x78c,0x90);
	dev_spi_write(0x78d,0x78);
	dev_spi_write(0x78e,0x2);
	dev_spi_write(0x78f,0x0);
	dev_spi_write(0x790,0x10);
	dev_spi_write(0x791,0xb5);
	dev_spi_write(0x792,0xb6);
	dev_spi_write(0x793,0x4b);
	dev_spi_write(0x794,0xb4);
	dev_spi_write(0x795,0x4c);
	dev_spi_write(0x796,0x3);
	dev_spi_write(0x797,0x22);
	dev_spi_write(0x798,0x10);
	dev_spi_write(0x799,0xfb);
	dev_spi_write(0x79a,0x2);
	dev_spi_write(0x79b,0x10);
	dev_spi_write(0x79c,0x18);
	dev_spi_write(0x79d,0x5c);
	dev_spi_write(0x79e,0x20);
	dev_spi_write(0x79f,0x5c);
	dev_spi_write(0x7a0,0x80);
	dev_spi_write(0x7a1,0x0);
	dev_spi_write(0x7a2,0xc0);
	dev_spi_write(0x7a3,0xb2);
	dev_spi_write(0x7a4,0x10);
	dev_spi_write(0x7a5,0xbd);
	dev_spi_write(0x7a6,0x2d);
	dev_spi_write(0x7a7,0xe9);
	dev_spi_write(0x7a8,0xf0);
	dev_spi_write(0x7a9,0x4f);
	dev_spi_write(0x7aa,0xad);
	dev_spi_write(0x7ab,0xf1);
	dev_spi_write(0x7ac,0x34);
	dev_spi_write(0x7ad,0xd);
	dev_spi_write(0x7ae,0x8);
	dev_spi_write(0x7af,0x90);
	dev_spi_write(0x7b0,0xe7);
	dev_spi_write(0x7b1,0xf7);
	dev_spi_write(0x7b2,0xc4);
	dev_spi_write(0x7b3,0xfa);
	dev_spi_write(0x7b4,0xae);
	dev_spi_write(0x7b5,0x4a);
	dev_spi_write(0x7b6,0x6);
	dev_spi_write(0x7b7,0x27);
	dev_spi_write(0x7b8,0x10);
	dev_spi_write(0x7b9,0x46);
	dev_spi_write(0x7ba,0x0);
	dev_spi_write(0x7bb,0x21);
	dev_spi_write(0x7bc,0x7f);
	dev_spi_write(0x7bd,0x1e);
	dev_spi_write(0x7be,0x0);
	dev_spi_write(0x7bf,0xf8);
	dev_spi_write(0x7c0,0x1);
	dev_spi_write(0x7c1,0x1b);
	dev_spi_write(0x7c2,0xfa);
	dev_spi_write(0x7c3,0xd1);
	dev_spi_write(0x7c4,0xa9);
	dev_spi_write(0x7c5,0x49);
	dev_spi_write(0x7c6,0x8);
	dev_spi_write(0x7c7,0x98);
	dev_spi_write(0x7c8,0xab);
	dev_spi_write(0x7c9,0x4c);
	dev_spi_write(0x7ca,0x89);
	dev_spi_write(0x7cb,0x1f);
	dev_spi_write(0x7cc,0x40);
	dev_spi_write(0x7cd,0x18);
	dev_spi_write(0x7ce,0x80);
	dev_spi_write(0x7cf,0x78);
	dev_spi_write(0x7d0,0xb1);
	dev_spi_write(0x7d1,0xf8);
	dev_spi_write(0x7d2,0x9e);
	dev_spi_write(0x7d3,0x31);
	dev_spi_write(0x7d4,0x20);
	dev_spi_write(0x7d5,0x5c);
	dev_spi_write(0x7d6,0x4f);
	dev_spi_write(0x7d7,0xf0);
	dev_spi_write(0x7d8,0x1);
	dev_spi_write(0x7d9,0xa);
	dev_spi_write(0x7da,0x89);
	dev_spi_write(0x7db,0x46);
	dev_spi_write(0x7dc,0x58);
	dev_spi_write(0x7dd,0x43);
	dev_spi_write(0x7de,0x9);
	dev_spi_write(0x7df,0x90);
	dev_spi_write(0x7e0,0xa7);
	dev_spi_write(0x7e1,0x48);
	dev_spi_write(0x7e2,0xd0);
	dev_spi_write(0x7e3,0xf8);
	dev_spi_write(0x7e4,0xd8);
	dev_spi_write(0x7e5,0x31);
	dev_spi_write(0x7e6,0x4);
	dev_spi_write(0x7e7,0x27);
	dev_spi_write(0x7e8,0x51);
	dev_spi_write(0x7e9,0x46);
	dev_spi_write(0x7ea,0x6a);
	dev_spi_write(0x7eb,0x46);
	dev_spi_write(0x7ec,0x8);
	dev_spi_write(0x7ed,0x98);
	dev_spi_write(0x7ee,0x8d);
	dev_spi_write(0x7ef,0xf8);
	dev_spi_write(0x7f0,0x0);
	dev_spi_write(0x7f1,0x70);
	dev_spi_write(0x7f2,0x98);
	dev_spi_write(0x7f3,0x47);
	dev_spi_write(0x7f4,0xad);
	dev_spi_write(0x7f5,0xf1);
	dev_spi_write(0x7f6,0x1);
	dev_spi_write(0x7f7,0x6);
	dev_spi_write(0x7f8,0x2);
	dev_spi_write(0x7f9,0x96);
	dev_spi_write(0x7fa,0x2);
	dev_spi_write(0x7fb,0x20);
	dev_spi_write(0x7fc,0x6);
	dev_spi_write(0x7fd,0x90);
	dev_spi_write(0x7fe,0x2);
	dev_spi_write(0x7ff,0x98);
	dev_spi_write(0x800,0x10);
	dev_spi_write(0x801,0xf8);
	dev_spi_write(0x802,0x1);
	dev_spi_write(0x803,0x1f);
	dev_spi_write(0x804,0x4);
	dev_spi_write(0x805,0x29);
	dev_spi_write(0x806,0x2);
	dev_spi_write(0x807,0x90);
	dev_spi_write(0x808,0x0);
	dev_spi_write(0x809,0xf0);
	dev_spi_write(0x80a,0x8f);
	dev_spi_write(0x80b,0x80);
	dev_spi_write(0x80c,0x9c);
	dev_spi_write(0x80d,0x48);
	dev_spi_write(0x80e,0x8);
	dev_spi_write(0x80f,0x9c);
	dev_spi_write(0x810,0xd0);
	dev_spi_write(0x811,0xf8);
	dev_spi_write(0x812,0xf8);
	dev_spi_write(0x813,0x21);
	dev_spi_write(0x814,0x20);
	dev_spi_write(0x815,0x46);
	dev_spi_write(0x816,0x90);
	dev_spi_write(0x817,0x47);
	dev_spi_write(0x818,0x98);
	dev_spi_write(0x819,0x49);
	dev_spi_write(0x81a,0x98);
	dev_spi_write(0x81b,0x4f);
	dev_spi_write(0x81c,0x4f);
	dev_spi_write(0x81d,0xf0);
	dev_spi_write(0x81e,0xd);
	dev_spi_write(0x81f,0xb);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 6555 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 6555 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x10);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 6567 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 6567 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 6568 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x9);
	dev_spi_write(0x21,0x18);
	dev_spi_write(0x22,0x89);
	dev_spi_write(0x23,0x7a);
	dev_spi_write(0x24,0xa);
	dev_spi_write(0x25,0x90);
	dev_spi_write(0x26,0x62);
	dev_spi_write(0x27,0x0);
	dev_spi_write(0x28,0xb);
	dev_spi_write(0x29,0xfb);
	dev_spi_write(0x2a,0x0);
	dev_spi_write(0x2b,0xfb);
	dev_spi_write(0x2c,0x2);
	dev_spi_write(0x2d,0xeb);
	dev_spi_write(0x2e,0xa);
	dev_spi_write(0x2f,0x6);
	dev_spi_write(0x30,0x7);
	dev_spi_write(0x31,0xeb);
	dev_spi_write(0x32,0xb);
	dev_spi_write(0x33,0x0);
	dev_spi_write(0x34,0x90);
	dev_spi_write(0x35,0xf8);
	dev_spi_write(0x36,0x22);
	dev_spi_write(0x37,0x0);
	dev_spi_write(0x38,0xb);
	dev_spi_write(0x39,0x91);
	dev_spi_write(0x3a,0xba);
	dev_spi_write(0x3b,0xf1);
	dev_spi_write(0x3c,0x1);
	dev_spi_write(0x3d,0xf);
	dev_spi_write(0x3e,0xc);
	dev_spi_write(0x3f,0x90);
	dev_spi_write(0x40,0x10);
	dev_spi_write(0x41,0x46);
	dev_spi_write(0x42,0x0);
	dev_spi_write(0x43,0xeb);
	dev_spi_write(0x44,0xa);
	dev_spi_write(0x45,0x1);
	dev_spi_write(0x46,0xa6);
	dev_spi_write(0x47,0xf1);
	dev_spi_write(0x48,0x1);
	dev_spi_write(0x49,0x2);
	dev_spi_write(0x4a,0xa1);
	dev_spi_write(0x4b,0xf1);
	dev_spi_write(0x4c,0x1);
	dev_spi_write(0x4d,0x1);
	dev_spi_write(0x4e,0xd3);
	dev_spi_write(0x4f,0xb2);
	dev_spi_write(0x50,0xc9);
	dev_spi_write(0x51,0xb2);
	dev_spi_write(0x52,0x4f);
	dev_spi_write(0x53,0xea);
	dev_spi_write(0x54,0x61);
	dev_spi_write(0x55,0x1);
	dev_spi_write(0x56,0xc);
	dev_spi_write(0x57,0xbf);
	dev_spi_write(0x58,0x2);
	dev_spi_write(0x59,0x22);
	dev_spi_write(0x5a,0x1);
	dev_spi_write(0x5b,0x22);
	dev_spi_write(0x5c,0x49);
	dev_spi_write(0x5d,0x44);
	dev_spi_write(0x5e,0x91);
	dev_spi_write(0x5f,0xf8);
	dev_spi_write(0x60,0xed);
	dev_spi_write(0x61,0x70);
	dev_spi_write(0x62,0x8d);
	dev_spi_write(0x63,0xf8);
	dev_spi_write(0x64,0x4);
	dev_spi_write(0x65,0x30);
	dev_spi_write(0x66,0x80);
	dev_spi_write(0x67,0x18);
	dev_spi_write(0x68,0x40);
	dev_spi_write(0x69,0x1e);
	dev_spi_write(0x6a,0x8d);
	dev_spi_write(0x6b,0xf8);
	dev_spi_write(0x6c,0x5);
	dev_spi_write(0x6d,0x0);
	dev_spi_write(0x6e,0x0);
	dev_spi_write(0x6f,0x2f);
	dev_spi_write(0x70,0xc);
	dev_spi_write(0x71,0xbf);
	dev_spi_write(0x72,0x1);
	dev_spi_write(0x73,0x20);
	dev_spi_write(0x74,0x2);
	dev_spi_write(0x75,0x20);
	dev_spi_write(0x76,0x7);
	dev_spi_write(0x77,0x90);
	dev_spi_write(0x78,0xd);
	dev_spi_write(0x79,0xf1);
	dev_spi_write(0x7a,0x3);
	dev_spi_write(0x7b,0x0);
	dev_spi_write(0x7c,0x3);
	dev_spi_write(0x7d,0x90);
	dev_spi_write(0x7e,0x3);
	dev_spi_write(0x7f,0x98);
	dev_spi_write(0x80,0x10);
	dev_spi_write(0x81,0xf8);
	dev_spi_write(0x82,0x1);
	dev_spi_write(0x83,0x5f);
	dev_spi_write(0x84,0x3);
	dev_spi_write(0x85,0x90);
	dev_spi_write(0x86,0x9);
	dev_spi_write(0x87,0xeb);
	dev_spi_write(0x88,0x5);
	dev_spi_write(0x89,0x1);
	dev_spi_write(0x8a,0x91);
	dev_spi_write(0x8b,0xf8);
	dev_spi_write(0x8c,0x6e);
	dev_spi_write(0x8d,0x0);
	dev_spi_write(0x8e,0x40);
	dev_spi_write(0x8f,0x1c);
	dev_spi_write(0x90,0xc7);
	dev_spi_write(0x91,0xb2);
	dev_spi_write(0x92,0x0);
	dev_spi_write(0x93,0x2f);
	dev_spi_write(0x94,0x45);
	dev_spi_write(0x95,0xd0);
	dev_spi_write(0x96,0x7b);
	dev_spi_write(0x97,0x48);
	dev_spi_write(0x98,0xdf);
	dev_spi_write(0x99,0xf8);
	dev_spi_write(0x9a,0xd4);
	dev_spi_write(0x9b,0x81);
	dev_spi_write(0x9c,0xa);
	dev_spi_write(0x9d,0x9e);
	dev_spi_write(0x9e,0xe1);
	dev_spi_write(0x9f,0x31);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa1,0x24);
	dev_spi_write(0xa2,0x4);
	dev_spi_write(0xa3,0x91);
	dev_spi_write(0xa4,0x40);
	dev_spi_write(0xa5,0x19);
	dev_spi_write(0xa6,0x11);
	dev_spi_write(0xa7,0x30);
	dev_spi_write(0xa8,0xb0);
	dev_spi_write(0xa9,0x44);
	dev_spi_write(0xaa,0x5);
	dev_spi_write(0xab,0x90);
	dev_spi_write(0xac,0x5);
	dev_spi_write(0xad,0x98);
	dev_spi_write(0xae,0x4);
	dev_spi_write(0xaf,0x99);
	dev_spi_write(0xb0,0x3);
	dev_spi_write(0xb1,0x78);
	dev_spi_write(0xb2,0x98);
	dev_spi_write(0xb3,0xf8);
	dev_spi_write(0xb4,0x0);
	dev_spi_write(0xb5,0x60);
	dev_spi_write(0xb6,0x8);
	dev_spi_write(0xb7,0x78);
	dev_spi_write(0xb8,0x23);
	dev_spi_write(0xb9,0xb1);
	dev_spi_write(0xba,0x72);
	dev_spi_write(0xbb,0x49);
	dev_spi_write(0xbc,0x4);
	dev_spi_write(0xbd,0xeb);
	dev_spi_write(0xbe,0x45);
	dev_spi_write(0xbf,0x0);
	dev_spi_write(0xc0,0x40);
	dev_spi_write(0xc1,0x18);
	dev_spi_write(0xc2,0x40);
	dev_spi_write(0xc3,0x7d);
	dev_spi_write(0xc4,0xc);
	dev_spi_write(0xc5,0x99);
	dev_spi_write(0xc6,0xb1);
	dev_spi_write(0xc7,0x42);
	dev_spi_write(0xc8,0x27);
	dev_spi_write(0xc9,0xdd);
	dev_spi_write(0xca,0xb);
	dev_spi_write(0xcb,0x99);
	dev_spi_write(0xcc,0x81);
	dev_spi_write(0xcd,0x42);
	dev_spi_write(0xce,0x24);
	dev_spi_write(0xcf,0xd1);
	dev_spi_write(0xd0,0x6b);
	dev_spi_write(0xd1,0x49);
	dev_spi_write(0xd2,0xd1);
	dev_spi_write(0xd3,0xf8);
	dev_spi_write(0xd4,0x2c);
	dev_spi_write(0xd5,0xc4);
	dev_spi_write(0xd6,0x99);
	dev_spi_write(0xd7,0xf8);
	dev_spi_write(0xd8,0xcc);
	dev_spi_write(0xd9,0x30);
	dev_spi_write(0xda,0xb);
	dev_spi_write(0xdb,0x9a);
	dev_spi_write(0xdc,0xe0);
	dev_spi_write(0xdd,0x0);
	dev_spi_write(0xde,0x0);
	dev_spi_write(0xdf,0xeb);
	dev_spi_write(0xe0,0x5);
	dev_spi_write(0xe1,0x10);
	dev_spi_write(0xe2,0x48);
	dev_spi_write(0xe3,0x44);
	dev_spi_write(0xe4,0x9);
	dev_spi_write(0xe5,0x99);
	dev_spi_write(0xe6,0xc0);
	dev_spi_write(0xe7,0x68);
	dev_spi_write(0xe8,0xe0);
	dev_spi_write(0xe9,0x47);
	dev_spi_write(0xea,0x64);
	dev_spi_write(0xeb,0x49);
	dev_spi_write(0xec,0x4f);
	dev_spi_write(0xed,0xf4);
	dev_spi_write(0xee,0x7a);
	dev_spi_write(0xef,0x72);
	dev_spi_write(0xf0,0xb0);
	dev_spi_write(0xf1,0xfb);
	dev_spi_write(0xf2,0xf2);
	dev_spi_write(0xf3,0xf0);
	dev_spi_write(0xf4,0x59);
	dev_spi_write(0xf5,0x44);
	dev_spi_write(0xf6,0x1);
	dev_spi_write(0xf7,0xeb);
	dev_spi_write(0xf8,0x46);
	dev_spi_write(0xf9,0x1);
	dev_spi_write(0xfa,0xa1);
	dev_spi_write(0xfb,0xf8);
	dev_spi_write(0xfc,0x23);
	dev_spi_write(0xfd,0x0);
	dev_spi_write(0xfe,0x8);
	dev_spi_write(0xff,0x98);
	dev_spi_write(0x100,0x51);
	dev_spi_write(0x101,0x46);
	dev_spi_write(0x102,0xff);
	dev_spi_write(0x103,0xf7);
	dev_spi_write(0x104,0x45);
	dev_spi_write(0x105,0xff);
	dev_spi_write(0x106,0x5d);
	dev_spi_write(0x107,0x4a);
	dev_spi_write(0x108,0x98);
	dev_spi_write(0x109,0xf8);
	dev_spi_write(0x10a,0x0);
	dev_spi_write(0x10b,0x10);
	dev_spi_write(0x10c,0x5a);
	dev_spi_write(0x10d,0x44);
	dev_spi_write(0x10e,0x49);
	dev_spi_write(0x10f,0x1c);
	dev_spi_write(0x110,0x88);
	dev_spi_write(0x111,0xf8);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x113,0x10);
	dev_spi_write(0x114,0x92);
	dev_spi_write(0x115,0x19);
	dev_spi_write(0x116,0x82);
	dev_spi_write(0x117,0xf8);
	dev_spi_write(0x118,0x2b);
	dev_spi_write(0x119,0x0);
	dev_spi_write(0x11a,0x7f);
	dev_spi_write(0x11b,0x1e);
	dev_spi_write(0x11c,0x4);
	dev_spi_write(0x11d,0xf1);
	dev_spi_write(0x11e,0x1);
	dev_spi_write(0x11f,0x4);
	dev_spi_write(0x120,0xc4);
	dev_spi_write(0x121,0xd1);
	dev_spi_write(0x122,0x7);
	dev_spi_write(0x123,0x98);
	dev_spi_write(0x124,0x40);
	dev_spi_write(0x125,0x1e);
	dev_spi_write(0x126,0x7);
	dev_spi_write(0x127,0x90);
	dev_spi_write(0x128,0xa9);
	dev_spi_write(0x129,0xd1);
	dev_spi_write(0x12a,0x6);
	dev_spi_write(0x12b,0x98);
	dev_spi_write(0x12c,0x40);
	dev_spi_write(0x12d,0x1e);
	dev_spi_write(0x12e,0x6);
	dev_spi_write(0x12f,0x90);
	dev_spi_write(0x130,0x7f);
	dev_spi_write(0x131,0xf4);
	dev_spi_write(0x132,0x65);
	dev_spi_write(0x133,0xaf);
	dev_spi_write(0x134,0xa);
	dev_spi_write(0x135,0xf1);
	dev_spi_write(0x136,0x1);
	dev_spi_write(0x137,0xa);
	dev_spi_write(0x138,0xba);
	dev_spi_write(0x139,0xf1);
	dev_spi_write(0x13a,0x3);
	dev_spi_write(0x13b,0xf);
	dev_spi_write(0x13c,0xff);
	dev_spi_write(0x13d,0xf6);
	dev_spi_write(0x13e,0x50);
	dev_spi_write(0x13f,0xaf);
	dev_spi_write(0x140,0xd);
	dev_spi_write(0x141,0xb0);
	dev_spi_write(0x142,0xbd);
	dev_spi_write(0x143,0xe8);
	dev_spi_write(0x144,0xf0);
	dev_spi_write(0x145,0x8f);
	dev_spi_write(0x146,0x2d);
	dev_spi_write(0x147,0xe9);
	dev_spi_write(0x148,0xf0);
	dev_spi_write(0x149,0x4f);
	dev_spi_write(0x14a,0x81);
	dev_spi_write(0x14b,0x46);
	dev_spi_write(0x14c,0xad);
	dev_spi_write(0x14d,0xf1);
	dev_spi_write(0x14e,0x24);
	dev_spi_write(0x14f,0xd);
	dev_spi_write(0x150,0xe7);
	dev_spi_write(0x151,0xf7);
	dev_spi_write(0x152,0xea);
	dev_spi_write(0x153,0xfa);
	dev_spi_write(0x154,0x47);
	dev_spi_write(0x155,0x4c);
	dev_spi_write(0x156,0x4a);
	dev_spi_write(0x157,0x4f);
	dev_spi_write(0x158,0x47);
	dev_spi_write(0x159,0x4a);
	dev_spi_write(0x15a,0x5);
	dev_spi_write(0x15b,0x90);
	dev_spi_write(0x15c,0x9);
	dev_spi_write(0x15d,0xeb);
	dev_spi_write(0x15e,0x4);
	dev_spi_write(0x15f,0x0);
	dev_spi_write(0x160,0xd7);
	dev_spi_write(0x161,0xf8);
	dev_spi_write(0x162,0xd8);
	dev_spi_write(0x163,0x31);
	dev_spi_write(0x164,0xb4);
	dev_spi_write(0x165,0xf8);
	dev_spi_write(0x166,0x9e);
	dev_spi_write(0x167,0x61);
	dev_spi_write(0x168,0x1);
	dev_spi_write(0x169,0x79);
	dev_spi_write(0x16a,0x4);
	dev_spi_write(0x16b,0x20);
	dev_spi_write(0x16c,0x55);
	dev_spi_write(0x16d,0x5c);
	dev_spi_write(0x16e,0x8d);
	dev_spi_write(0x16f,0xf8);
	dev_spi_write(0x170,0x0);
	dev_spi_write(0x171,0x0);
	dev_spi_write(0x172,0x0);
	dev_spi_write(0x173,0x21);
	dev_spi_write(0x174,0x48);
	dev_spi_write(0x175,0x46);
	dev_spi_write(0x176,0x6a);
	dev_spi_write(0x177,0x46);
	dev_spi_write(0x178,0x98);
	dev_spi_write(0x179,0x47);
	dev_spi_write(0x17a,0x4f);
	dev_spi_write(0x17b,0xf0);
	dev_spi_write(0x17c,0x2);
	dev_spi_write(0x17d,0xb);
	dev_spi_write(0x17e,0x4c);
	dev_spi_write(0x17f,0x44);
	dev_spi_write(0x180,0x75);
	dev_spi_write(0x181,0x43);
	dev_spi_write(0x182,0x2);
	dev_spi_write(0x183,0x94);
	dev_spi_write(0x184,0xad);
	dev_spi_write(0x185,0xf1);
	dev_spi_write(0x186,0x1);
	dev_spi_write(0x187,0x0);
	dev_spi_write(0x188,0x6);
	dev_spi_write(0x189,0x95);
	dev_spi_write(0x18a,0xdf);
	dev_spi_write(0x18b,0xf8);
	dev_spi_write(0x18c,0xf0);
	dev_spi_write(0x18d,0xa0);
	dev_spi_write(0x18e,0x1);
	dev_spi_write(0x18f,0x90);
	dev_spi_write(0x190,0x1);
	dev_spi_write(0x191,0x98);
	dev_spi_write(0x192,0x10);
	dev_spi_write(0x193,0xf8);
	dev_spi_write(0x194,0x1);
	dev_spi_write(0x195,0x1f);
	dev_spi_write(0x196,0x4);
	dev_spi_write(0x197,0x29);
	dev_spi_write(0x198,0x1);
	dev_spi_write(0x199,0x90);
	dev_spi_write(0x19a,0x5d);
	dev_spi_write(0x19b,0xd0);
	dev_spi_write(0x19c,0x38);
	dev_spi_write(0x19d,0x48);
	dev_spi_write(0x19e,0xd0);
	dev_spi_write(0x19f,0xf8);
	dev_spi_write(0x1a0,0xf8);
	dev_spi_write(0x1a1,0x21);
	dev_spi_write(0x1a2,0x48);
	dev_spi_write(0x1a3,0x46);
	dev_spi_write(0x1a4,0x90);
	dev_spi_write(0x1a5,0x47);
	dev_spi_write(0x1a6,0x4);
	dev_spi_write(0x1a7,0x46);
	dev_spi_write(0x1a8,0x2);
	dev_spi_write(0x1a9,0x98);
	dev_spi_write(0x1aa,0x4f);
	dev_spi_write(0x1ab,0xf0);
	dev_spi_write(0x1ac,0xd);
	dev_spi_write(0x1ad,0x8);
	dev_spi_write(0x1ae,0xa);
	dev_spi_write(0x1af,0xeb);
	dev_spi_write(0x1b0,0x4);
	dev_spi_write(0x1b1,0x2);
	dev_spi_write(0x1b2,0x8);
	dev_spi_write(0x1b3,0xfb);
	dev_spi_write(0x1b4,0x4);
	dev_spi_write(0x1b5,0xf8);
	dev_spi_write(0x1b6,0xa);
	dev_spi_write(0x1b7,0xeb);
	dev_spi_write(0x1b8,0x8);
	dev_spi_write(0x1b9,0x1);
	dev_spi_write(0x1ba,0x92);
	dev_spi_write(0x1bb,0x7a);
	dev_spi_write(0x1bc,0x90);
	dev_spi_write(0x1bd,0xf8);
	dev_spi_write(0x1be,0xdf);
	dev_spi_write(0x1bf,0x0);
	dev_spi_write(0x1c0,0x91);
	dev_spi_write(0x1c1,0xf8);
	dev_spi_write(0x1c2,0x22);
	dev_spi_write(0x1c3,0x10);
	dev_spi_write(0x1c4,0x7);
	dev_spi_write(0x1c5,0x92);
	dev_spi_write(0x1c6,0x40);
	dev_spi_write(0x1c7,0x1c);
	dev_spi_write(0x1c8,0xc7);
	dev_spi_write(0x1c9,0xb2);
	dev_spi_write(0x1ca,0x8);
	dev_spi_write(0x1cb,0x91);
	dev_spi_write(0x1cc,0x0);
	dev_spi_write(0x1cd,0x2f);
	dev_spi_write(0x1ce,0x43);
	dev_spi_write(0x1cf,0xd0);
	dev_spi_write(0x1d0,0x2);
	dev_spi_write(0x1d1,0x99);
	dev_spi_write(0x1d2,0x27);
	dev_spi_write(0x1d3,0x4e);
	dev_spi_write(0x1d4,0x2b);
	dev_spi_write(0x1d5,0x48);
	dev_spi_write(0x1d6,0x0);
	dev_spi_write(0x1d7,0x25);
	dev_spi_write(0x1d8,0xe5);
	dev_spi_write(0x1d9,0x31);
	dev_spi_write(0x1da,0xa4);
	dev_spi_write(0x1db,0x19);
	dev_spi_write(0x1dc,0x48);
	dev_spi_write(0x1dd,0x44);
	dev_spi_write(0x1de,0x3);
	dev_spi_write(0x1df,0x91);
	dev_spi_write(0x1e0,0x21);
	dev_spi_write(0x1e1,0x30);
	dev_spi_write(0x1e2,0x4);
	dev_spi_write(0x1e3,0x90);
	dev_spi_write(0x1e4,0x4);
	dev_spi_write(0x1e5,0x98);
	dev_spi_write(0x1e6,0x3);
	dev_spi_write(0x1e7,0x9a);
	dev_spi_write(0x1e8,0x3);
	dev_spi_write(0x1e9,0x78);
	dev_spi_write(0x1ea,0x26);
	dev_spi_write(0x1eb,0x78);
	dev_spi_write(0x1ec,0x10);
	dev_spi_write(0x1ed,0x78);
	dev_spi_write(0x1ee,0x2b);
	dev_spi_write(0x1ef,0xb1);
	dev_spi_write(0x1f0,0x24);
	dev_spi_write(0x1f1,0x49);
	dev_spi_write(0x1f2,0x5);
	dev_spi_write(0x1f3,0xeb);
	dev_spi_write(0x1f4,0x89);
	dev_spi_write(0x1f5,0x0);
	dev_spi_write(0x1f6,0x40);
	dev_spi_write(0x1f7,0x18);
	dev_spi_write(0x1f8,0x90);
	dev_spi_write(0x1f9,0xf8);
	dev_spi_write(0x1fa,0x23);
	dev_spi_write(0x1fb,0x0);
	dev_spi_write(0x1fc,0x8);
	dev_spi_write(0x1fd,0x99);
	dev_spi_write(0x1fe,0xb1);
	dev_spi_write(0x1ff,0x42);
	dev_spi_write(0x200,0x26);
	dev_spi_write(0x201,0xdd);
	dev_spi_write(0x202,0x7);
	dev_spi_write(0x203,0x99);
	dev_spi_write(0x204,0x81);
	dev_spi_write(0x205,0x42);
	dev_spi_write(0x206,0x23);
	dev_spi_write(0x207,0xd1);
	dev_spi_write(0x208,0x1d);
	dev_spi_write(0x209,0x4b);
	dev_spi_write(0x20a,0x1a);
	dev_spi_write(0x20b,0x49);
	dev_spi_write(0x20c,0xd3);
	dev_spi_write(0x20d,0xf8);
	dev_spi_write(0x20e,0x2c);
	dev_spi_write(0x20f,0xc4);
	dev_spi_write(0x210,0x7);
	dev_spi_write(0x211,0x9a);
	dev_spi_write(0x212,0x91);
	dev_spi_write(0x213,0xf8);
	dev_spi_write(0x214,0xce);
	dev_spi_write(0x215,0x30);
	dev_spi_write(0x216,0xa8);
	dev_spi_write(0x217,0x0);
	dev_spi_write(0x218,0x0);
	dev_spi_write(0x219,0xeb);
	dev_spi_write(0x21a,0x9);
	dev_spi_write(0x21b,0x10);
	dev_spi_write(0x21c,0x40);
	dev_spi_write(0x21d,0x18);
	dev_spi_write(0x21e,0xc0);
	dev_spi_write(0x21f,0x6c);
	dev_spi_write(0x220,0x6);
	dev_spi_write(0x221,0x99);
	dev_spi_write(0x222,0xe0);
	dev_spi_write(0x223,0x47);
	dev_spi_write(0x224,0xa);
	dev_spi_write(0x225,0xeb);
	dev_spi_write(0x226,0x8);
	dev_spi_write(0x227,0x1);
	dev_spi_write(0x228,0x4f);
	dev_spi_write(0x229,0xf4);
	dev_spi_write(0x22a,0x7a);
	dev_spi_write(0x22b,0x72);
	dev_spi_write(0x22c,0x1);
	dev_spi_write(0x22d,0xeb);
	dev_spi_write(0x22e,0x46);
	dev_spi_write(0x22f,0x1);
	dev_spi_write(0x230,0xb0);
	dev_spi_write(0x231,0xfb);
	dev_spi_write(0x232,0xf2);
	dev_spi_write(0x233,0xf0);
	dev_spi_write(0x234,0xa1);
	dev_spi_write(0x235,0xf8);
	dev_spi_write(0x236,0x23);
	dev_spi_write(0x237,0x0);
	dev_spi_write(0x238,0x0);
	dev_spi_write(0x239,0x21);
	dev_spi_write(0x23a,0x48);
	dev_spi_write(0x23b,0x46);
	dev_spi_write(0x23c,0xff);
	dev_spi_write(0x23d,0xf7);
	dev_spi_write(0x23e,0xa8);
	dev_spi_write(0x23f,0xfe);
	dev_spi_write(0x240,0xa);
	dev_spi_write(0x241,0xeb);
	dev_spi_write(0x242,0x8);
	dev_spi_write(0x243,0x2);
	dev_spi_write(0x244,0x92);
	dev_spi_write(0x245,0x19);
	dev_spi_write(0x246,0x21);
	dev_spi_write(0x247,0x78);
	dev_spi_write(0x248,0x82);
	dev_spi_write(0x249,0xf8);
	dev_spi_write(0x24a,0x2b);
	dev_spi_write(0x24b,0x0);
	dev_spi_write(0x24c,0x49);
	dev_spi_write(0x24d,0x1c);
	dev_spi_write(0x24e,0x21);
	dev_spi_write(0x24f,0x70);
	dev_spi_write(0x250,0x7f);
	dev_spi_write(0x251,0x1e);
	dev_spi_write(0x252,0x5);
	dev_spi_write(0x253,0xf1);
	dev_spi_write(0x254,0x1);
	dev_spi_write(0x255,0x5);
	dev_spi_write(0x256,0xc5);
	dev_spi_write(0x257,0xd1);
	dev_spi_write(0x258,0xbb);
	dev_spi_write(0x259,0xf1);
	dev_spi_write(0x25a,0x1);
	dev_spi_write(0x25b,0xb);
	dev_spi_write(0x25c,0x98);
	dev_spi_write(0x25d,0xd1);
	dev_spi_write(0x25e,0x5);
	dev_spi_write(0x25f,0x98);
	dev_spi_write(0x260,0x9);
	dev_spi_write(0x261,0xb0);
	dev_spi_write(0x262,0xbd);
	dev_spi_write(0x263,0xe8);
	dev_spi_write(0x264,0xf0);
	dev_spi_write(0x265,0x8f);
	dev_spi_write(0x266,0xc0);
	dev_spi_write(0x267,0x46);
	dev_spi_write(0x268,0x31);
	dev_spi_write(0x269,0x78);
	dev_spi_write(0x26a,0x2);
	dev_spi_write(0x26b,0x0);
	dev_spi_write(0x26c,0xba);
	dev_spi_write(0x26d,0x1);
	dev_spi_write(0x26e,0x1);
	dev_spi_write(0x26f,0x20);
	dev_spi_write(0x270,0xb4);
	dev_spi_write(0x271,0x23);
	dev_spi_write(0x272,0x1);
	dev_spi_write(0x273,0x20);
	dev_spi_write(0x274,0xb4);
	dev_spi_write(0x275,0x1);
	dev_spi_write(0x276,0x1);
	dev_spi_write(0x277,0x20);
	dev_spi_write(0x278,0xac);
	dev_spi_write(0x279,0x78);
	dev_spi_write(0x27a,0x2);
	dev_spi_write(0x27b,0x0);
	dev_spi_write(0x27c,0x98);
	dev_spi_write(0x27d,0xe);
	dev_spi_write(0x27e,0x1);
	dev_spi_write(0x27f,0x20);
	dev_spi_write(0x280,0x90);
	dev_spi_write(0x281,0xd6);
	dev_spi_write(0x282,0x0);
	dev_spi_write(0x283,0x20);
	dev_spi_write(0x284,0xa0);
	dev_spi_write(0x285,0x13);
	dev_spi_write(0x286,0x1);
	dev_spi_write(0x287,0x20);
	dev_spi_write(0x288,0xf8);
	dev_spi_write(0x289,0xb5);
	dev_spi_write(0x28a,0x67);
	dev_spi_write(0x28b,0x48);
	dev_spi_write(0x28c,0x65);
	dev_spi_write(0x28d,0x4c);
	dev_spi_write(0x28e,0x67);
	dev_spi_write(0x28f,0x49);
	dev_spi_write(0x290,0x6e);
	dev_spi_write(0x291,0x4b);
	dev_spi_write(0x292,0xc4);
	dev_spi_write(0x293,0xf8);
	dev_spi_write(0x294,0x50);
	dev_spi_write(0x295,0x6);
	dev_spi_write(0x296,0x66);
	dev_spi_write(0x297,0x48);
	dev_spi_write(0x298,0xc4);
	dev_spi_write(0x299,0xf8);
	dev_spi_write(0x29a,0xfc);
	dev_spi_write(0x29b,0x10);
	dev_spi_write(0x29c,0x2);
	dev_spi_write(0x29d,0x27);
	dev_spi_write(0x29e,0xc4);
	dev_spi_write(0x29f,0xf8);
	dev_spi_write(0x2a0,0xc4);
	dev_spi_write(0x2a1,0x0);
	dev_spi_write(0x2a2,0x64);
	dev_spi_write(0x2a3,0x49);
	dev_spi_write(0x2a4,0x1f);
	dev_spi_write(0x2a5,0x70);
	dev_spi_write(0x2a6,0x66);
	dev_spi_write(0x2a7,0x48);
	dev_spi_write(0x2a8,0xc4);
	dev_spi_write(0x2a9,0xf8);
	dev_spi_write(0x2aa,0xc0);
	dev_spi_write(0x2ab,0x10);
	dev_spi_write(0x2ac,0x65);
	dev_spi_write(0x2ad,0x49);
	dev_spi_write(0x2ae,0xc4);
	dev_spi_write(0x2af,0xf8);
	dev_spi_write(0x2b0,0x30);
	dev_spi_write(0x2b1,0x1);
	dev_spi_write(0x2b2,0x65);
	dev_spi_write(0x2b3,0x48);
	dev_spi_write(0x2b4,0xc4);
	dev_spi_write(0x2b5,0xf8);
	dev_spi_write(0x2b6,0x40);
	dev_spi_write(0x2b7,0x11);
	dev_spi_write(0x2b8,0x71);
	dev_spi_write(0x2b9,0x49);
	dev_spi_write(0x2ba,0xc4);
	dev_spi_write(0x2bb,0xf8);
	dev_spi_write(0x2bc,0x38);
	dev_spi_write(0x2bd,0x1);
	dev_spi_write(0x2be,0x71);
	dev_spi_write(0x2bf,0x48);
	dev_spi_write(0x2c0,0xc4);
	dev_spi_write(0x2c1,0xf8);
	dev_spi_write(0x2c2,0xa8);
	dev_spi_write(0x2c3,0x16);
	dev_spi_write(0x2c4,0x70);
	dev_spi_write(0x2c5,0x49);
	dev_spi_write(0x2c6,0xc4);
	dev_spi_write(0x2c7,0xf8);
	dev_spi_write(0x2c8,0xac);
	dev_spi_write(0x2c9,0x6);
	dev_spi_write(0x2ca,0x70);
	dev_spi_write(0x2cb,0x48);
	dev_spi_write(0x2cc,0xc4);
	dev_spi_write(0x2cd,0xf8);
	dev_spi_write(0x2ce,0xf4);
	dev_spi_write(0x2cf,0x15);
	dev_spi_write(0x2d0,0x6f);
	dev_spi_write(0x2d1,0x4a);
	dev_spi_write(0x2d2,0xa0);
	dev_spi_write(0x2d3,0x64);
	dev_spi_write(0x2d4,0x0);
	dev_spi_write(0x2d5,0x26);
	dev_spi_write(0x2d6,0xc4);
	dev_spi_write(0x2d7,0xf8);
	dev_spi_write(0x2d8,0x3c);
	dev_spi_write(0x2d9,0x26);
	dev_spi_write(0x2da,0x5d);
	dev_spi_write(0x2db,0x4a);
	dev_spi_write(0x2dc,0x6d);
	dev_spi_write(0x2dd,0x49);
	dev_spi_write(0x2de,0x16);
	dev_spi_write(0x2df,0x70);
	dev_spi_write(0x2e0,0x6d);
	dev_spi_write(0x2e1,0x48);
	dev_spi_write(0x2e2,0xc4);
	dev_spi_write(0x2e3,0xf8);
	dev_spi_write(0x2e4,0x30);
	dev_spi_write(0x2e5,0x16);
	dev_spi_write(0x2e6,0x5b);
	dev_spi_write(0x2e7,0x49);
	dev_spi_write(0x2e8,0xc4);
	dev_spi_write(0x2e9,0xf8);
	dev_spi_write(0x2ea,0x40);
	dev_spi_write(0x2eb,0x6);
	dev_spi_write(0x2ec,0x5f);
	dev_spi_write(0x2ed,0x48);
	dev_spi_write(0x2ee,0xe);
	dev_spi_write(0x2ef,0x70);
	dev_spi_write(0x2f0,0xa6);
	dev_spi_write(0x2f1,0x22);
	dev_spi_write(0x2f2,0x42);
	dev_spi_write(0x2f3,0x80);
	dev_spi_write(0x2f4,0x40);
	dev_spi_write(0x2f5,0xf2);
	dev_spi_write(0x2f6,0xb7);
	dev_spi_write(0x2f7,0x51);
	dev_spi_write(0x2f8,0x81);
	dev_spi_write(0x2f9,0x80);
	dev_spi_write(0x2fa,0x28);
	dev_spi_write(0x2fb,0x23);
	dev_spi_write(0x2fc,0x3);
	dev_spi_write(0x2fd,0x80);
	dev_spi_write(0x2fe,0x41);
	dev_spi_write(0x2ff,0xf2);
	dev_spi_write(0x300,0x88);
	dev_spi_write(0x301,0x32);
	dev_spi_write(0x302,0x5e);
	dev_spi_write(0x303,0x49);
	dev_spi_write(0x304,0xc2);
	dev_spi_write(0x305,0x60);
	dev_spi_write(0x306,0x4c);
	dev_spi_write(0x307,0x4d);
	dev_spi_write(0x308,0xe);
	dev_spi_write(0x309,0x70);
	dev_spi_write(0x30a,0x3);
	dev_spi_write(0x30b,0x23);
	dev_spi_write(0x30c,0x83);
	dev_spi_write(0x30d,0x71);
	dev_spi_write(0x30e,0x52);
	dev_spi_write(0x30f,0x4a);
	dev_spi_write(0x310,0x52);
	dev_spi_write(0x311,0x49);
	dev_spi_write(0x312,0xc5);
	dev_spi_write(0x313,0xf8);
	dev_spi_write(0x314,0xf4);
	dev_spi_write(0x315,0x21);
	dev_spi_write(0x316,0x49);
	dev_spi_write(0x317,0x4b);
	dev_spi_write(0x318,0xc5);
	dev_spi_write(0x319,0xf8);
	dev_spi_write(0x31a,0x38);
	dev_spi_write(0x31b,0x12);
	dev_spi_write(0x31c,0x50);
	dev_spi_write(0x31d,0x4a);
	dev_spi_write(0x31e,0xc5);
	dev_spi_write(0x31f,0xf8);
	dev_spi_write(0x320,0x84);
	dev_spi_write(0x321,0x31);
	dev_spi_write(0x322,0x51);
	dev_spi_write(0x323,0x49);
	dev_spi_write(0x324,0xc5);
	dev_spi_write(0x325,0xf8);
	dev_spi_write(0x326,0x3c);
	dev_spi_write(0x327,0x22);
	dev_spi_write(0x328,0x4e);
	dev_spi_write(0x329,0x4a);
	dev_spi_write(0x32a,0x11);
	dev_spi_write(0x32b,0x60);
	dev_spi_write(0x32c,0x50);
	dev_spi_write(0x32d,0x49);
	dev_spi_write(0x32e,0x81);
	dev_spi_write(0x32f,0x60);
	dev_spi_write(0x330,0x50);
	dev_spi_write(0x331,0x49);
	dev_spi_write(0x332,0x1);
	dev_spi_write(0x333,0x61);
	dev_spi_write(0x334,0x50);
	dev_spi_write(0x335,0x48);
	dev_spi_write(0x336,0xa8);
	dev_spi_write(0x337,0x65);
	dev_spi_write(0x338,0x58);
	dev_spi_write(0x339,0x48);
	dev_spi_write(0x33a,0xc4);
	dev_spi_write(0x33b,0xf8);
	dev_spi_write(0x33c,0x34);
	dev_spi_write(0x33d,0x6);
	dev_spi_write(0x33e,0x1);
	dev_spi_write(0x33f,0xf0);
	dev_spi_write(0x340,0xe9);
	dev_spi_write(0x341,0xf9);
	dev_spi_write(0x342,0x0);
	dev_spi_write(0x343,0xf0);
	dev_spi_write(0x344,0xa6);
	dev_spi_write(0x345,0xfe);
	dev_spi_write(0x346,0x56);
	dev_spi_write(0x347,0x48);
	dev_spi_write(0x348,0x56);
	dev_spi_write(0x349,0x49);
	dev_spi_write(0x34a,0x0);
	dev_spi_write(0x34b,0xf0);
	dev_spi_write(0x34c,0x3f);
	dev_spi_write(0x34d,0xfe);
	dev_spi_write(0x34e,0x57);
	dev_spi_write(0x34f,0x49);
	dev_spi_write(0x350,0x58);
	dev_spi_write(0x351,0x48);
	dev_spi_write(0x352,0xc4);
	dev_spi_write(0x353,0xf8);
	dev_spi_write(0x354,0x70);
	dev_spi_write(0x355,0x19);
	dev_spi_write(0x356,0x58);
	dev_spi_write(0x357,0x49);
	dev_spi_write(0x358,0xc4);
	dev_spi_write(0x359,0xf8);
	dev_spi_write(0x35a,0x4c);
	dev_spi_write(0x35b,0x5);
	dev_spi_write(0x35c,0x57);
	dev_spi_write(0x35d,0x48);
	dev_spi_write(0x35e,0xc4);
	dev_spi_write(0x35f,0xf8);
	dev_spi_write(0x360,0x38);
	dev_spi_write(0x361,0x16);
	dev_spi_write(0x362,0x57);
	dev_spi_write(0x363,0x49);
	dev_spi_write(0x364,0xc4);
	dev_spi_write(0x365,0xf8);
	dev_spi_write(0x366,0xc4);
	dev_spi_write(0x367,0x4);
	dev_spi_write(0x368,0x56);
	dev_spi_write(0x369,0x48);
	dev_spi_write(0x36a,0xc4);
	dev_spi_write(0x36b,0xf8);
	dev_spi_write(0x36c,0x94);
	dev_spi_write(0x36d,0x14);
	dev_spi_write(0x36e,0x56);
	dev_spi_write(0x36f,0x49);
	dev_spi_write(0x370,0xc4);
	dev_spi_write(0x371,0xf8);
	dev_spi_write(0x372,0x98);
	dev_spi_write(0x373,0x4);
	dev_spi_write(0x374,0x55);
	dev_spi_write(0x375,0x48);
	dev_spi_write(0x376,0xc4);
	dev_spi_write(0x377,0xf8);
	dev_spi_write(0x378,0x0);
	dev_spi_write(0x379,0x12);
	dev_spi_write(0x37a,0x57);
	dev_spi_write(0x37b,0x49);
	dev_spi_write(0x37c,0xc4);
	dev_spi_write(0x37d,0xf8);
	dev_spi_write(0x37e,0x4);
	dev_spi_write(0x37f,0x2);
	dev_spi_write(0x380,0x57);
	dev_spi_write(0x381,0x48);
	dev_spi_write(0x382,0xc4);
	dev_spi_write(0x383,0xf8);
	dev_spi_write(0x384,0x18);
	dev_spi_write(0x385,0x14);
	dev_spi_write(0x386,0x57);
	dev_spi_write(0x387,0x49);
	dev_spi_write(0x388,0xc4);
	dev_spi_write(0x389,0xf8);
	dev_spi_write(0x38a,0x24);
	dev_spi_write(0x38b,0x3);
	dev_spi_write(0x38c,0x56);
	dev_spi_write(0x38d,0x48);
	dev_spi_write(0x38e,0xc4);
	dev_spi_write(0x38f,0xf8);
	dev_spi_write(0x390,0x94);
	dev_spi_write(0x391,0x11);
	dev_spi_write(0x392,0x58);
	dev_spi_write(0x393,0x49);
	dev_spi_write(0x394,0xc4);
	dev_spi_write(0x395,0xf8);
	dev_spi_write(0x396,0xc4);
	dev_spi_write(0x397,0x2);
	dev_spi_write(0x398,0x58);
	dev_spi_write(0x399,0x48);
	dev_spi_write(0x39a,0xc4);
	dev_spi_write(0x39b,0xf8);
	dev_spi_write(0x39c,0x4c);
	dev_spi_write(0x39d,0x14);
	dev_spi_write(0x39e,0x44);
	dev_spi_write(0x39f,0x49);
	dev_spi_write(0x3a0,0x4b);
	dev_spi_write(0x3a1,0x4a);
	dev_spi_write(0x3a2,0xe);
	dev_spi_write(0x3a3,0x70);
	dev_spi_write(0x3a4,0x56);
	dev_spi_write(0x3a5,0x4b);
	dev_spi_write(0x3a6,0xc4);
	dev_spi_write(0x3a7,0xf8);
	dev_spi_write(0x3a8,0xc8);
	dev_spi_write(0x3a9,0x4);
	dev_spi_write(0x3aa,0x1);
	dev_spi_write(0x3ab,0x20);
	dev_spi_write(0x3ac,0x10);
	dev_spi_write(0x3ad,0x70);
	dev_spi_write(0x3ae,0x4f);
	dev_spi_write(0x3af,0x4a);
	dev_spi_write(0x3b0,0xc4);
	dev_spi_write(0x3b1,0xf8);
	dev_spi_write(0x3b2,0xbc);
	dev_spi_write(0x3b3,0x31);
	dev_spi_write(0x3b4,0x47);
	dev_spi_write(0x3b5,0x4b);
	dev_spi_write(0x3b6,0x17);
	dev_spi_write(0x3b7,0x70);
	dev_spi_write(0x3b8,0x8);
	dev_spi_write(0x3b9,0x21);
	dev_spi_write(0x3ba,0x19);
	dev_spi_write(0x3bb,0x80);
	dev_spi_write(0x3bc,0x4c);
	dev_spi_write(0x3bd,0x49);
	dev_spi_write(0x3be,0x8);
	dev_spi_write(0x3bf,0x80);
	dev_spi_write(0x3c0,0x4d);
	dev_spi_write(0x3c1,0x48);
	dev_spi_write(0x3c2,0x6);
	dev_spi_write(0x3c3,0x70);
	dev_spi_write(0x3c4,0x38);
	dev_spi_write(0x3c5,0x48);
	dev_spi_write(0x3c6,0xc5);
	dev_spi_write(0x3c7,0xf8);
	dev_spi_write(0x3c8,0x34);
	dev_spi_write(0x3c9,0x2);
	dev_spi_write(0x3ca,0x44);
	dev_spi_write(0x3cb,0x48);
	dev_spi_write(0x3cc,0xc5);
	dev_spi_write(0x3cd,0xf8);
	dev_spi_write(0x3ce,0xf8);
	dev_spi_write(0x3cf,0x0);
	dev_spi_write(0x3d0,0x4c);
	dev_spi_write(0x3d1,0x48);
	dev_spi_write(0x3d2,0xc5);
	dev_spi_write(0x3d3,0xf8);
	dev_spi_write(0x3d4,0x5c);
	dev_spi_write(0x3d5,0x3);
	dev_spi_write(0x3d6,0x4c);
	dev_spi_write(0x3d7,0x48);
	dev_spi_write(0x3d8,0xc4);
	dev_spi_write(0x3d9,0xf8);
	dev_spi_write(0x3da,0xe8);
	dev_spi_write(0x3db,0x5);
	dev_spi_write(0x3dc,0x0);
	dev_spi_write(0x3dd,0xf0);
	dev_spi_write(0x3de,0x19);
	dev_spi_write(0x3df,0xfd);
	dev_spi_write(0x3e0,0x4a);
	dev_spi_write(0x3e1,0x48);
	dev_spi_write(0x3e2,0xc5);
	dev_spi_write(0x3e3,0xf8);
	dev_spi_write(0x3e4,0x60);
	dev_spi_write(0x3e5,0x1);
	dev_spi_write(0x3e6,0x4a);
	dev_spi_write(0x3e7,0x48);
	dev_spi_write(0x3e8,0xc5);
	dev_spi_write(0x3e9,0xf8);
	dev_spi_write(0x3ea,0x94);
	dev_spi_write(0x3eb,0x1);
	dev_spi_write(0x3ec,0x49);
	dev_spi_write(0x3ed,0x48);
	dev_spi_write(0x3ee,0xc5);
	dev_spi_write(0x3ef,0xf8);
	dev_spi_write(0x3f0,0x14);
	dev_spi_write(0x3f1,0x2);
	dev_spi_write(0x3f2,0x49);
	dev_spi_write(0x3f3,0x48);
	dev_spi_write(0x3f4,0xc4);
	dev_spi_write(0x3f5,0xf8);
	dev_spi_write(0x3f6,0xe4);
	dev_spi_write(0x3f7,0x0);
	dev_spi_write(0x3f8,0x0);
	dev_spi_write(0x3f9,0xf0);
	dev_spi_write(0x3fa,0x10);
	dev_spi_write(0x3fb,0xfb);
	dev_spi_write(0x3fc,0x4a);
	dev_spi_write(0x3fd,0x48);
	dev_spi_write(0x3fe,0xd);
	dev_spi_write(0x3ff,0x21);
	dev_spi_write(0x400,0x41);
	dev_spi_write(0x401,0x70);
	dev_spi_write(0x402,0xa);
	dev_spi_write(0x403,0x21);
	dev_spi_write(0x404,0x81);
	dev_spi_write(0x405,0x70);
	dev_spi_write(0x406,0x17);
	dev_spi_write(0x407,0x21);
	dev_spi_write(0x408,0xc1);
	dev_spi_write(0x409,0x70);
	dev_spi_write(0x40a,0xa9);
	dev_spi_write(0x40b,0x21);
	dev_spi_write(0x40c,0x81);
	dev_spi_write(0x40d,0x80);
	dev_spi_write(0x40e,0x43);
	dev_spi_write(0x40f,0x48);
	dev_spi_write(0x410,0xc4);
	dev_spi_write(0x411,0xf8);
	dev_spi_write(0x412,0x38);
	dev_spi_write(0x413,0x4);
	dev_spi_write(0x414,0x42);
	dev_spi_write(0x415,0x48);
	dev_spi_write(0x416,0xc5);
	dev_spi_write(0x417,0xf8);
	dev_spi_write(0x418,0x60);
	dev_spi_write(0x419,0x3);
	dev_spi_write(0x41a,0x42);
	dev_spi_write(0x41b,0x48);
	dev_spi_write(0x41c,0xc5);
	dev_spi_write(0x41d,0xf8);
	dev_spi_write(0x41e,0x64);
	dev_spi_write(0x41f,0x3);
	dev_spi_write(0x420,0xf8);
	dev_spi_write(0x421,0xbd);
	dev_spi_write(0x422,0xc0);
	dev_spi_write(0x423,0x46);
	dev_spi_write(0x424,0x90);
	dev_spi_write(0x425,0xd6);
	dev_spi_write(0x426,0x0);
	dev_spi_write(0x427,0x20);
	dev_spi_write(0x428,0xad);
	dev_spi_write(0x429,0x14);
	dev_spi_write(0x42a,0x3);
	dev_spi_write(0x42b,0x0);
	dev_spi_write(0x42c,0x3b);
	dev_spi_write(0x42d,0x24);
	dev_spi_write(0x42e,0x3);
	dev_spi_write(0x42f,0x0);
	dev_spi_write(0x430,0xbd);
	dev_spi_write(0x431,0x23);
	dev_spi_write(0x432,0x3);
	dev_spi_write(0x433,0x0);
	dev_spi_write(0x434,0xed);
	dev_spi_write(0x435,0x22);
	dev_spi_write(0x436,0x3);
	dev_spi_write(0x437,0x0);
	dev_spi_write(0x438,0xd4);
	dev_spi_write(0x439,0xf7);
	dev_spi_write(0x43a,0x0);
	dev_spi_write(0x43b,0x20);
	dev_spi_write(0x43c,0x5b);
	dev_spi_write(0x43d,0x5);
	dev_spi_write(0x43e,0x3);
	dev_spi_write(0x43f,0x0);
	dev_spi_write(0x440,0x73);
	dev_spi_write(0x441,0x1e);
	dev_spi_write(0x442,0x3);
	dev_spi_write(0x443,0x0);
	dev_spi_write(0x444,0xf);
	dev_spi_write(0x445,0x1d);
	dev_spi_write(0x446,0x3);
	dev_spi_write(0x447,0x0);
	dev_spi_write(0x448,0x9d);
	dev_spi_write(0x449,0x1d);
	dev_spi_write(0x44a,0x3);
	dev_spi_write(0x44b,0x0);
	dev_spi_write(0x44c,0x2b);
	dev_spi_write(0x44d,0x22);
	dev_spi_write(0x44e,0x1);
	dev_spi_write(0x44f,0x20);
	dev_spi_write(0x450,0xcc);
	dev_spi_write(0x451,0x23);
	dev_spi_write(0x452,0x1);
	dev_spi_write(0x453,0x20);
	dev_spi_write(0x454,0xce);
	dev_spi_write(0x455,0x23);
	dev_spi_write(0x456,0x1);
	dev_spi_write(0x457,0x20);
	dev_spi_write(0x458,0x8d);
	dev_spi_write(0x459,0x4);
	dev_spi_write(0x45a,0x3);
	dev_spi_write(0x45b,0x0);
	dev_spi_write(0x45c,0x29);
	dev_spi_write(0x45d,0x12);
	dev_spi_write(0x45e,0x3);
	dev_spi_write(0x45f,0x0);
	dev_spi_write(0x460,0x61);
	dev_spi_write(0x461,0x13);
	dev_spi_write(0x462,0x3);
	dev_spi_write(0x463,0x0);
	dev_spi_write(0x464,0xc4);
	dev_spi_write(0x465,0x23);
	dev_spi_write(0x466,0x1);
	dev_spi_write(0x467,0x20);
	dev_spi_write(0x468,0x0);
	dev_spi_write(0x469,0x0);
	dev_spi_write(0x46a,0x2);
	dev_spi_write(0x46b,0xac);
	dev_spi_write(0x46c,0x54);
	dev_spi_write(0x46d,0x23);
	dev_spi_write(0x46e,0x1);
	dev_spi_write(0x46f,0x20);
	dev_spi_write(0x470,0x40);
	dev_spi_write(0x471,0x78);
	dev_spi_write(0x472,0x7d);
	dev_spi_write(0x473,0x1);
	dev_spi_write(0x474,0x48);
	dev_spi_write(0x475,0xe8);
	dev_spi_write(0x476,0x1);
	dev_spi_write(0x477,0x0);
	dev_spi_write(0x478,0x21);
	dev_spi_write(0x479,0x26);
	dev_spi_write(0x47a,0x3);
	dev_spi_write(0x47b,0x0);
	dev_spi_write(0x47c,0xcf);
	dev_spi_write(0x47d,0x23);
	dev_spi_write(0x47e,0x1);
	dev_spi_write(0x47f,0x20);
	dev_spi_write(0x480,0xe3);
	dev_spi_write(0x481,0x2c);
	dev_spi_write(0x482,0x3);
	dev_spi_write(0x483,0x0);
	dev_spi_write(0x484,0xd7);
	dev_spi_write(0x485,0x2c);
	dev_spi_write(0x486,0x3);
	dev_spi_write(0x487,0x0);
	dev_spi_write(0x488,0x3d);
	dev_spi_write(0x489,0x2e);
	dev_spi_write(0x48a,0x3);
	dev_spi_write(0x48b,0x0);
	dev_spi_write(0x48c,0x23);
	dev_spi_write(0x48d,0x2b);
	dev_spi_write(0x48e,0x3);
	dev_spi_write(0x48f,0x0);
	dev_spi_write(0x490,0x2d);
	dev_spi_write(0x491,0x14);
	dev_spi_write(0x492,0x3);
	dev_spi_write(0x493,0x0);
	dev_spi_write(0x494,0x35);
	dev_spi_write(0x495,0x15);
	dev_spi_write(0x496,0x3);
	dev_spi_write(0x497,0x0);
	dev_spi_write(0x498,0xf5);
	dev_spi_write(0x499,0x15);
	dev_spi_write(0x49a,0x3);
	dev_spi_write(0x49b,0x0);
	dev_spi_write(0x49c,0x2b);
	dev_spi_write(0x49d,0x16);
	dev_spi_write(0x49e,0x3);
	dev_spi_write(0x49f,0x0);
	dev_spi_write(0x4a0,0x30);
	dev_spi_write(0x4a1,0x30);
	dev_spi_write(0x4a2,0x3);
	dev_spi_write(0x4a3,0x0);
	dev_spi_write(0x4a4,0x58);
	dev_spi_write(0x4a5,0x30);
	dev_spi_write(0x4a6,0x3);
	dev_spi_write(0x4a7,0x0);
	dev_spi_write(0x4a8,0x65);
	dev_spi_write(0x4a9,0x27);
	dev_spi_write(0x4aa,0x3);
	dev_spi_write(0x4ab,0x0);
	dev_spi_write(0x4ac,0xaf);
	dev_spi_write(0x4ad,0x28);
	dev_spi_write(0x4ae,0x3);
	dev_spi_write(0x4af,0x0);
	dev_spi_write(0x4b0,0xd1);
	dev_spi_write(0x4b1,0x23);
	dev_spi_write(0x4b2,0x1);
	dev_spi_write(0x4b3,0x20);
	dev_spi_write(0x4b4,0xd1);
	dev_spi_write(0x4b5,0x2d);
	dev_spi_write(0x4b6,0x3);
	dev_spi_write(0x4b7,0x0);
	dev_spi_write(0x4b8,0x39);
	dev_spi_write(0x4b9,0x28);
	dev_spi_write(0x4ba,0x3);
	dev_spi_write(0x4bb,0x0);
	dev_spi_write(0x4bc,0xe1);
	dev_spi_write(0x4bd,0x2e);
	dev_spi_write(0x4be,0x3);
	dev_spi_write(0x4bf,0x0);
	dev_spi_write(0x4c0,0x87);
	dev_spi_write(0x4c1,0x17);
	dev_spi_write(0x4c2,0x3);
	dev_spi_write(0x4c3,0x0);
	dev_spi_write(0x4c4,0x27);
	dev_spi_write(0x4c5,0x19);
	dev_spi_write(0x4c6,0x3);
	dev_spi_write(0x4c7,0x0);
	dev_spi_write(0x4c8,0x75);
	dev_spi_write(0x4c9,0x2e);
	dev_spi_write(0x4ca,0x3);
	dev_spi_write(0x4cb,0x0);
	dev_spi_write(0x4cc,0x83);
	dev_spi_write(0x4cd,0x2e);
	dev_spi_write(0x4ce,0x3);
	dev_spi_write(0x4cf,0x0);
	dev_spi_write(0x4d0,0xcd);
	dev_spi_write(0x4d1,0x23);
	dev_spi_write(0x4d2,0x1);
	dev_spi_write(0x4d3,0x20);
	dev_spi_write(0x4d4,0xc8);
	dev_spi_write(0x4d5,0x23);
	dev_spi_write(0x4d6,0x1);
	dev_spi_write(0x4d7,0x20);
	dev_spi_write(0x4d8,0x9);
	dev_spi_write(0x4d9,0x2f);
	dev_spi_write(0x4da,0x3);
	dev_spi_write(0x4db,0x0);
	dev_spi_write(0x4dc,0x33);
	dev_spi_write(0x4dd,0x26);
	dev_spi_write(0x4de,0x3);
	dev_spi_write(0x4df,0x0);
	dev_spi_write(0x4e0,0xc5);
	dev_spi_write(0x4e1,0x2e);
	dev_spi_write(0x4e2,0x3);
	dev_spi_write(0x4e3,0x0);
	dev_spi_write(0x4e4,0xd);
	dev_spi_write(0x4e5,0x29);
	dev_spi_write(0x4e6,0x3);
	dev_spi_write(0x4e7,0x0);
	dev_spi_write(0x4e8,0x9f);
	dev_spi_write(0x4e9,0x2d);
	dev_spi_write(0x4ea,0x3);
	dev_spi_write(0x4eb,0x0);
	dev_spi_write(0x4ec,0xd2);
	dev_spi_write(0x4ed,0x23);
	dev_spi_write(0x4ee,0x1);
	dev_spi_write(0x4ef,0x20);
	dev_spi_write(0x4f0,0xca);
	dev_spi_write(0x4f1,0x23);
	dev_spi_write(0x4f2,0x1);
	dev_spi_write(0x4f3,0x20);
	dev_spi_write(0x4f4,0xd);
	dev_spi_write(0x4f5,0x2a);
	dev_spi_write(0x4f6,0x3);
	dev_spi_write(0x4f7,0x0);
	dev_spi_write(0x4f8,0xa1);
	dev_spi_write(0x4f9,0x13);
	dev_spi_write(0x4fa,0x1);
	dev_spi_write(0x4fb,0x20);
	dev_spi_write(0x4fc,0xe3);
	dev_spi_write(0x4fd,0x2e);
	dev_spi_write(0x4fe,0x3);
	dev_spi_write(0x4ff,0x0);
	dev_spi_write(0x500,0x43);
	dev_spi_write(0x501,0x29);
	dev_spi_write(0x502,0x3);
	dev_spi_write(0x503,0x0);
	dev_spi_write(0x504,0x5);
	dev_spi_write(0x505,0x2d);
	dev_spi_write(0x506,0x3);
	dev_spi_write(0x507,0x0);
	dev_spi_write(0x508,0x2d);
	dev_spi_write(0x509,0x2e);
	dev_spi_write(0x50a,0x3);
	dev_spi_write(0x50b,0x0);
	dev_spi_write(0x50c,0x7d);
	dev_spi_write(0x50d,0x6);
	dev_spi_write(0x50e,0x3);
	dev_spi_write(0x50f,0x0);
	dev_spi_write(0x510,0x89);
	dev_spi_write(0x511,0xa);
	dev_spi_write(0x512,0x3);
	dev_spi_write(0x513,0x0);
	dev_spi_write(0x514,0xbd);
	dev_spi_write(0x515,0x9);
	dev_spi_write(0x516,0x3);
	dev_spi_write(0x517,0x0);
	dev_spi_write(0x518,0x71);
	dev_spi_write(0x519,0x23);
	dev_spi_write(0x51a,0x3);
	dev_spi_write(0x51b,0x0);
	dev_spi_write(0x51c,0x49);
	dev_spi_write(0x51d,0x22);
	dev_spi_write(0x51e,0x3);
	dev_spi_write(0x51f,0x0);
	dev_spi_write(0x520,0x15);
	dev_spi_write(0x521,0x2c);
	dev_spi_write(0x522,0x3);
	dev_spi_write(0x523,0x0);
	dev_spi_write(0x524,0xc5);
	dev_spi_write(0x525,0x2b);
	dev_spi_write(0x526,0x3);
	dev_spi_write(0x527,0x0);
	dev_spi_write(0x528,0x3c);
	dev_spi_write(0x529,0xd6);
	dev_spi_write(0x52a,0x0);
	dev_spi_write(0x52b,0x20);
	dev_spi_write(0x52c,0x70);
	dev_spi_write(0x52d,0x47);
	dev_spi_write(0x52e,0xf8);
	dev_spi_write(0x52f,0xb5);
	dev_spi_write(0x530,0x75);
	dev_spi_write(0x531,0x4c);
	dev_spi_write(0x532,0x84);
	dev_spi_write(0x533,0x46);
	dev_spi_write(0x534,0x60);
	dev_spi_write(0x535,0x79);
	dev_spi_write(0x536,0xe4);
	dev_spi_write(0x537,0x79);
	dev_spi_write(0x538,0x24);
	dev_spi_write(0x539,0x18);
	dev_spi_write(0x53a,0x2);
	dev_spi_write(0x53b,0x2c);
	dev_spi_write(0x53c,0x3a);
	dev_spi_write(0x53d,0xd1);
	dev_spi_write(0x53e,0x57);
	dev_spi_write(0x53f,0x78);
	dev_spi_write(0x540,0x37);
	dev_spi_write(0x541,0xf0);
	dev_spi_write(0x542,0x2);
	dev_spi_write(0x543,0x7);
	dev_spi_write(0x544,0x36);
	dev_spi_write(0x545,0xd1);
	dev_spi_write(0x546,0x72);
	dev_spi_write(0x547,0x4a);
	dev_spi_write(0x548,0xc);
	dev_spi_write(0x549,0x20);
	dev_spi_write(0x54a,0x1c);
	dev_spi_write(0x54b,0xfb);
	dev_spi_write(0x54c,0x0);
	dev_spi_write(0x54d,0xf0);
	dev_spi_write(0x54e,0x0);
	dev_spi_write(0x54f,0xeb);
	dev_spi_write(0x550,0x81);
	dev_spi_write(0x551,0x0);
	dev_spi_write(0x552,0x70);
	dev_spi_write(0x553,0x4c);
	dev_spi_write(0x554,0x12);
	dev_spi_write(0x555,0x58);
	dev_spi_write(0x556,0x6d);
	dev_spi_write(0x557,0x4e);
	dev_spi_write(0x558,0x92);
	dev_spi_write(0x559,0xf9);
	dev_spi_write(0x55a,0x90);
	dev_spi_write(0x55b,0x54);
	dev_spi_write(0x55c,0x3);
	dev_spi_write(0x55d,0x27);
	dev_spi_write(0x55e,0xdc);
	dev_spi_write(0x55f,0x20);
	dev_spi_write(0x560,0x11);
	dev_spi_write(0x561,0xfb);
	dev_spi_write(0x562,0x0);
	dev_spi_write(0x563,0xf0);
	dev_spi_write(0x564,0x1c);
	dev_spi_write(0x565,0xfb);
	dev_spi_write(0x566,0x7);
	dev_spi_write(0x567,0x11);
	dev_spi_write(0x568,0x67);
	dev_spi_write(0x569,0x5c);
	dev_spi_write(0x56a,0x4f);
	dev_spi_write(0x56b,0xf4);
	dev_spi_write(0x56c,0x25);
	dev_spi_write(0x56d,0x7e);
	dev_spi_write(0x56e,0x1c);
	dev_spi_write(0x56f,0xfb);
	dev_spi_write(0x570,0xe);
	dev_spi_write(0x571,0x0);
	dev_spi_write(0x572,0x80);
	dev_spi_write(0x573,0x19);
	dev_spi_write(0x574,0x94);
	dev_spi_write(0x575,0x46);
	dev_spi_write(0x576,0x90);
	dev_spi_write(0x577,0xf9);
	dev_spi_write(0x578,0x89);
	dev_spi_write(0x579,0x10);
	dev_spi_write(0x57a,0x90);
	dev_spi_write(0x57b,0xf9);
	dev_spi_write(0x57c,0x87);
	dev_spi_write(0x57d,0x40);
	dev_spi_write(0x57e,0x90);
	dev_spi_write(0x57f,0xf9);
	dev_spi_write(0x580,0x86);
	dev_spi_write(0x581,0x20);
	dev_spi_write(0x582,0x9c);
	dev_spi_write(0x583,0xf9);
	dev_spi_write(0x584,0x91);
	dev_spi_write(0x585,0x64);
	dev_spi_write(0x586,0x90);
	dev_spi_write(0x587,0xf9);
	dev_spi_write(0x588,0x88);
	dev_spi_write(0x589,0x0);
	dev_spi_write(0x58a,0x4f);
	dev_spi_write(0x58b,0xb9);
	dev_spi_write(0x58c,0x86);
	dev_spi_write(0x58d,0x42);
	dev_spi_write(0x58e,0xe);
	dev_spi_write(0x58f,0xbf);
	dev_spi_write(0x590,0xa5);
	dev_spi_write(0x591,0x42);
	dev_spi_write(0x592,0x1);
	dev_spi_write(0x593,0x21);
	dev_spi_write(0x594,0x19);
	dev_spi_write(0x595,0x70);
	dev_spi_write(0x596,0x8c);
	dev_spi_write(0x597,0xf8);
	dev_spi_write(0x598,0x90);
	dev_spi_write(0x599,0x44);
	dev_spi_write(0x59a,0x8c);
	dev_spi_write(0x59b,0xf8);
	dev_spi_write(0x59c,0x91);
	dev_spi_write(0x59d,0x4);
	dev_spi_write(0x59e,0xf8);
	dev_spi_write(0x59f,0xbd);
	dev_spi_write(0x5a0,0x95);
	dev_spi_write(0x5a1,0x42);
	dev_spi_write(0x5a2,0xe);
	dev_spi_write(0x5a3,0xbf);
	dev_spi_write(0x5a4,0x8e);
	dev_spi_write(0x5a5,0x42);
	dev_spi_write(0x5a6,0x1);
	dev_spi_write(0x5a7,0x20);
	dev_spi_write(0x5a8,0x18);
	dev_spi_write(0x5a9,0x70);
	dev_spi_write(0x5aa,0x8c);
	dev_spi_write(0x5ab,0xf8);
	dev_spi_write(0x5ac,0x91);
	dev_spi_write(0x5ad,0x14);
	dev_spi_write(0x5ae,0x8c);
	dev_spi_write(0x5af,0xf8);
	dev_spi_write(0x5b0,0x90);
	dev_spi_write(0x5b1,0x24);
	dev_spi_write(0x5b2,0xf8);
	dev_spi_write(0x5b3,0xbd);
	dev_spi_write(0x5b4,0x60);
	dev_spi_write(0x5b5,0x46);
	dev_spi_write(0x5b6,0xeb);
	dev_spi_write(0x5b7,0xf7);
	dev_spi_write(0x5b8,0xdf);
	dev_spi_write(0x5b9,0xfc);
	dev_spi_write(0x5ba,0xf8);
	dev_spi_write(0x5bb,0xbd);
	dev_spi_write(0x5bc,0x2d);
	dev_spi_write(0x5bd,0xe9);
	dev_spi_write(0x5be,0xfe);
	dev_spi_write(0x5bf,0x4f);
	dev_spi_write(0x5c0,0xc);
	dev_spi_write(0x5c1,0x9e);
	dev_spi_write(0x5c2,0x82);
	dev_spi_write(0x5c3,0x46);
	dev_spi_write(0x5c4,0x89);
	dev_spi_write(0x5c5,0x46);
	dev_spi_write(0x5c6,0x14);
	dev_spi_write(0x5c7,0x46);
	dev_spi_write(0x5c8,0xd);
	dev_spi_write(0x5c9,0x9f);
	dev_spi_write(0x5ca,0x0);
	dev_spi_write(0x5cb,0x96);
	dev_spi_write(0x5cc,0x1d);
	dev_spi_write(0x5cd,0x46);
	dev_spi_write(0x5ce,0x1);
	dev_spi_write(0x5cf,0x97);
	dev_spi_write(0x5d0,0xeb);
	dev_spi_write(0x5d1,0xf7);
	dev_spi_write(0x5d2,0x0);
	dev_spi_write(0x5d3,0xfe);
	dev_spi_write(0x5d4,0xdf);
	dev_spi_write(0x5d5,0xf8);
	dev_spi_write(0x5d6,0x3c);
	dev_spi_write(0x5d7,0xb1);
	dev_spi_write(0x5d8,0x20);
	dev_spi_write(0x5d9,0x88);
	dev_spi_write(0x5da,0x20);
	dev_spi_write(0x5db,0xb9);
	dev_spi_write(0x5dc,0x60);
	dev_spi_write(0x5dd,0x88);
	dev_spi_write(0x5de,0x0);
	dev_spi_write(0x5df,0x28);
	dev_spi_write(0x5e0,0x4f);
	dev_spi_write(0x5e1,0xd0);
	dev_spi_write(0x5e2,0x1);
	dev_spi_write(0x5e3,0x20);
	dev_spi_write(0x5e4,0x4e);
	dev_spi_write(0x5e5,0xe0);
	dev_spi_write(0x5e6,0x63);
	dev_spi_write(0x5e7,0x88);
	dev_spi_write(0x5e8,0x0);
	dev_spi_write(0x5e9,0x2b);
	dev_spi_write(0x5ea,0x4a);
	dev_spi_write(0x5eb,0xd0);
	dev_spi_write(0x5ec,0xe9);
	dev_spi_write(0x5ed,0xf7);
	dev_spi_write(0x5ee,0x2d);
	dev_spi_write(0x5ef,0xfe);
	dev_spi_write(0x5f0,0x80);
	dev_spi_write(0x5f1,0x46);
	dev_spi_write(0x5f2,0x60);
	dev_spi_write(0x5f3,0x88);
	dev_spi_write(0x5f4,0xe9);
	dev_spi_write(0x5f5,0xf7);
	dev_spi_write(0x5f6,0x29);
	dev_spi_write(0x5f7,0xfe);
	dev_spi_write(0x5f8,0x69);
	dev_spi_write(0x5f9,0x79);
	dev_spi_write(0x5fa,0x0);
	dev_spi_write(0x5fb,0xeb);
	dev_spi_write(0x5fc,0x80);
	dev_spi_write(0x5fd,0x0);
	dev_spi_write(0x5fe,0x8);
	dev_spi_write(0x5ff,0xeb);
	dev_spi_write(0x600,0x88);
	dev_spi_write(0x601,0x2);
	dev_spi_write(0x602,0xc0);
	dev_spi_write(0x603,0x13);
	dev_spi_write(0x604,0xd2);
	dev_spi_write(0x605,0x13);
	dev_spi_write(0x606,0x1);
	dev_spi_write(0x607,0x29);
	dev_spi_write(0x608,0x44);
	dev_spi_write(0x609,0xb2);
	dev_spi_write(0x60a,0x53);
	dev_spi_write(0x60b,0xb2);
	dev_spi_write(0x60c,0x3f);
	dev_spi_write(0x60d,0xd1);
	dev_spi_write(0x60e,0x3f);
	dev_spi_write(0x60f,0x49);
	dev_spi_write(0x610,0xdc);
	dev_spi_write(0x611,0x20);
	dev_spi_write(0x612,0x4f);
	dev_spi_write(0x613,0xf4);
	dev_spi_write(0x614,0x25);
	dev_spi_write(0x615,0x72);
	dev_spi_write(0x616,0x19);
	dev_spi_write(0x617,0xfb);
	dev_spi_write(0x618,0x0);
	dev_spi_write(0x619,0xf0);
	dev_spi_write(0x61a,0x1a);
	dev_spi_write(0x61b,0xfb);
	dev_spi_write(0x61c,0x2);
	dev_spi_write(0x61d,0x0);
	dev_spi_write(0x61e,0xb2);
	dev_spi_write(0x61f,0x78);
	dev_spi_write(0x620,0x40);
	dev_spi_write(0x621,0x18);
	dev_spi_write(0x622,0x71);
	dev_spi_write(0x623,0x78);
	dev_spi_write(0x624,0xb0);
	dev_spi_write(0x625,0xf9);
	dev_spi_write(0x626,0x5a);
	dev_spi_write(0x627,0xc0);
	dev_spi_write(0x628,0xb0);
	dev_spi_write(0x629,0xf9);
	dev_spi_write(0x62a,0x5c);
	dev_spi_write(0x62b,0x60);
	dev_spi_write(0x62c,0xc2);
	dev_spi_write(0x62d,0xf1);
	dev_spi_write(0x62e,0x1);
	dev_spi_write(0x62f,0x2);
	dev_spi_write(0x630,0xc1);
	dev_spi_write(0x631,0xf1);
	dev_spi_write(0x632,0x1);
	dev_spi_write(0x633,0x1);
	dev_spi_write(0x634,0x11);
	dev_spi_write(0x635,0xfb);
	dev_spi_write(0x636,0xc);
	dev_spi_write(0x637,0xf0);
	dev_spi_write(0x638,0xc0);
	dev_spi_write(0x639,0xeb);
	dev_spi_write(0x63a,0x43);
	dev_spi_write(0x63b,0x10);
	dev_spi_write(0x63c,0x12);
	dev_spi_write(0x63d,0xfb);
	dev_spi_write(0x63e,0x6);
	dev_spi_write(0x63f,0xf1);
	dev_spi_write(0x640,0x40);
	dev_spi_write(0x641,0x11);
	dev_spi_write(0x642,0xc1);
	dev_spi_write(0x643,0xeb);
	dev_spi_write(0x644,0x44);
	dev_spi_write(0x645,0x11);
	dev_spi_write(0x646,0xa0);
	dev_spi_write(0x647,0xeb);
	dev_spi_write(0x648,0x61);
	dev_spi_write(0x649,0x10);
	dev_spi_write(0x64a,0x42);
	dev_spi_write(0x64b,0xb2);
	dev_spi_write(0x64c,0x10);
	dev_spi_write(0x64d,0x46);
	dev_spi_write(0x64e,0x0);
	dev_spi_write(0x64f,0x28);
	dev_spi_write(0x650,0xb8);
	dev_spi_write(0x651,0xbf);
	dev_spi_write(0x652,0x40);
	dev_spi_write(0x653,0x42);
	dev_spi_write(0x654,0xc1);
	dev_spi_write(0x655,0xb2);
	dev_spi_write(0x656,0x0);
	dev_spi_write(0x657,0x2a);
	dev_spi_write(0x658,0x4f);
	dev_spi_write(0x659,0xf0);
	dev_spi_write(0x65a,0x0);
	dev_spi_write(0x65b,0x0);
	dev_spi_write(0x65c,0xd8);
	dev_spi_write(0x65d,0xbf);
	dev_spi_write(0x65e,0x1);
	dev_spi_write(0x65f,0x20);
	dev_spi_write(0x660,0xaa);
	dev_spi_write(0x661,0x79);
	dev_spi_write(0x662,0x8a);
	dev_spi_write(0x663,0x42);
	dev_spi_write(0x664,0xe);
	dev_spi_write(0x665,0xda);
	dev_spi_write(0x666,0x2b);
	dev_spi_write(0x667,0x78);
	dev_spi_write(0x668,0x9b);
	dev_spi_write(0x669,0x18);
	dev_spi_write(0x66a,0x8b);
	dev_spi_write(0x66b,0x42);
	dev_spi_write(0x66c,0xa);
	dev_spi_write(0x66d,0xdb);
	dev_spi_write(0x66e,0x3);
	dev_spi_write(0x66f,0x22);
	dev_spi_write(0x670,0x59);
	dev_spi_write(0x671,0x46);
	dev_spi_write(0x672,0x1a);
	dev_spi_write(0x673,0xfb);
	dev_spi_write(0x674,0x2);
	dev_spi_write(0x675,0x92);
	dev_spi_write(0x676,0x89);
	dev_spi_write(0x677,0x5c);
	dev_spi_write(0x678,0x81);
	dev_spi_write(0x679,0x42);
	dev_spi_write(0x67a,0x1c);
	dev_spi_write(0x67b,0xbf);
	dev_spi_write(0x67c,0x1);
	dev_spi_write(0x67d,0x21);
	dev_spi_write(0x67e,0x79);
	dev_spi_write(0x67f,0x70);
	dev_spi_write(0x680,0x0);
	dev_spi_write(0x681,0xe0);
	dev_spi_write(0x682,0x0);
	dev_spi_write(0x683,0x20);
	dev_spi_write(0x684,0x3);
	dev_spi_write(0x685,0x22);
	dev_spi_write(0x686,0x59);
	dev_spi_write(0x687,0x46);
	dev_spi_write(0x688,0x1a);
	dev_spi_write(0x689,0xfb);
	dev_spi_write(0x68a,0x2);
	dev_spi_write(0x68b,0x92);
	dev_spi_write(0x68c,0x88);
	dev_spi_write(0x68d,0x54);
	dev_spi_write(0x68e,0xbd);
	dev_spi_write(0x68f,0xe8);
	dev_spi_write(0x690,0xfe);
	dev_spi_write(0x691,0x8f);
	dev_spi_write(0x692,0x2d);
	dev_spi_write(0x693,0xe9);
	dev_spi_write(0x694,0xfe);
	dev_spi_write(0x695,0x43);
	dev_spi_write(0x696,0x21);
	dev_spi_write(0x697,0x48);
	dev_spi_write(0x698,0x1f);
	dev_spi_write(0x699,0x49);
	dev_spi_write(0x69a,0x8);
	dev_spi_write(0x69b,0x60);
	dev_spi_write(0x69c,0xeb);
	dev_spi_write(0x69d,0xf7);
	dev_spi_write(0x69e,0x36);
	dev_spi_write(0x69f,0xff);
	dev_spi_write(0x6a0,0x0);
	dev_spi_write(0x6a1,0x24);
	dev_spi_write(0x6a2,0x1f);
	dev_spi_write(0x6a3,0x4d);
	dev_spi_write(0x6a4,0xdf);
	dev_spi_write(0x6a5,0xf8);
	dev_spi_write(0x6a6,0x80);
	dev_spi_write(0x6a7,0x80);
	dev_spi_write(0x6a8,0x20);
	dev_spi_write(0x6a9,0x4f);
	dev_spi_write(0x6aa,0xdf);
	dev_spi_write(0x6ab,0xf8);
	dev_spi_write(0x6ac,0x78);
	dev_spi_write(0x6ad,0x90);
	dev_spi_write(0x6ae,0x18);
	dev_spi_write(0x6af,0x4e);
	dev_spi_write(0x6b0,0x8d);
	dev_spi_write(0x6b1,0xf8);
	dev_spi_write(0x6b2,0x4);
	dev_spi_write(0x6b3,0x40);
	dev_spi_write(0x6b4,0x6d);
	dev_spi_write(0x6b5,0x1e);
	dev_spi_write(0x6b6,0x15);
	dev_spi_write(0x6b7,0xf8);
	dev_spi_write(0x6b8,0x1);
	dev_spi_write(0x6b9,0xf);
	dev_spi_write(0x6ba,0x1);
	dev_spi_write(0x6bb,0x28);
	dev_spi_write(0x6bc,0x1f);
	dev_spi_write(0x6bd,0xd1);
	dev_spi_write(0x6be,0x19);
	dev_spi_write(0x6bf,0xf8);
	dev_spi_write(0x6c0,0x4);
	dev_spi_write(0x6c1,0x0);
	dev_spi_write(0x6c2,0xe0);
	dev_spi_write(0x6c3,0xb9);
	dev_spi_write(0x6c4,0x18);
	dev_spi_write(0x6c5,0xf8);
	dev_spi_write(0x6c6,0x14);
	dev_spi_write(0x6c7,0x10);
	dev_spi_write(0x6c8,0x63);
	dev_spi_write(0x6c9,0x0);
	dev_spi_write(0x6ca,0x3);
	dev_spi_write(0x6cb,0xeb);
	dev_spi_write(0x6cc,0x84);
	dev_spi_write(0x6cd,0x3);
	dev_spi_write(0x6ce,0xdb);
	dev_spi_write(0x6cf,0x19);
	dev_spi_write(0x6d0,0x9a);
	dev_spi_write(0x6d1,0x78);
	dev_spi_write(0x6d2,0x60);
	dev_spi_write(0x6d3,0x10);
	dev_spi_write(0x6d4,0x1);
	dev_spi_write(0x6d5,0x2a);
	dev_spi_write(0x6d6,0xc);
	dev_spi_write(0x6d7,0xd0);
	dev_spi_write(0x6d8,0x82);
	dev_spi_write(0x6d9,0x0);
	dev_spi_write(0x6da,0x2);
	dev_spi_write(0x6db,0xeb);
	dev_spi_write(0x6dc,0xc0);
	dev_spi_write(0x6dd,0x2);
	dev_spi_write(0x6de,0x2);
	dev_spi_write(0x6df,0xeb);
	dev_spi_write(0x6e0,0x81);
	dev_spi_write(0x6e1,0x2);
	dev_spi_write(0x6e2,0xb1);
	dev_spi_write(0x6e3,0x58);
	dev_spi_write(0x6e4,0xd1);
	dev_spi_write(0x6e5,0xf8);
	dev_spi_write(0x6e6,0x0);
	dev_spi_write(0x6e7,0x4);
	dev_spi_write(0x6e8,0x20);
	dev_spi_write(0x6e9,0xf4);
	dev_spi_write(0x6ea,0x80);
	dev_spi_write(0x6eb,0x70);
	dev_spi_write(0x6ec,0xc1);
	dev_spi_write(0x6ed,0xf8);
	dev_spi_write(0x6ee,0x0);
	dev_spi_write(0x6ef,0x4);
	dev_spi_write(0x6f0,0x5);
	dev_spi_write(0x6f1,0xe0);
	dev_spi_write(0x6f2,0x1);
	dev_spi_write(0x6f3,0xaa);
	dev_spi_write(0x6f4,0x0);
	dev_spi_write(0x6f5,0x92);
	dev_spi_write(0x6f6,0xda);
	dev_spi_write(0x6f7,0x78);
	dev_spi_write(0x6f8,0x1b);
	dev_spi_write(0x6f9,0x1d);
	dev_spi_write(0x6fa,0xeb);
	dev_spi_write(0x6fb,0xf7);
	dev_spi_write(0x6fc,0xf3);
	dev_spi_write(0x6fd,0xfb);
	dev_spi_write(0x6fe,0x64);
	dev_spi_write(0x6ff,0x1c);
	dev_spi_write(0x700,0x4);
	dev_spi_write(0x701,0x2c);
	dev_spi_write(0x702,0xd8);
	dev_spi_write(0x703,0xdb);
	dev_spi_write(0x704,0xbd);
	dev_spi_write(0x705,0xe8);
	dev_spi_write(0x706,0xfe);
	dev_spi_write(0x707,0x83);
	dev_spi_write(0x708,0xe6);
	dev_spi_write(0x709,0x1d);
	dev_spi_write(0x70a,0x1);
	dev_spi_write(0x70b,0x20);
	dev_spi_write(0x70c,0xe0);
	dev_spi_write(0x70d,0xab);
	dev_spi_write(0x70e,0x0);
	dev_spi_write(0x70f,0x20);
	dev_spi_write(0x710,0xa8);
	dev_spi_write(0x711,0x75);
	dev_spi_write(0x712,0x2);
	dev_spi_write(0x713,0x0);
	dev_spi_write(0x714,0xac);
	dev_spi_write(0x715,0x23);
	dev_spi_write(0x716,0x1);
	dev_spi_write(0x717,0x20);
	dev_spi_write(0x718,0xcc);
	dev_spi_write(0x719,0xd7);
	dev_spi_write(0x71a,0x0);
	dev_spi_write(0x71b,0x20);
	dev_spi_write(0x71c,0xd);
	dev_spi_write(0x71d,0x1d);
	dev_spi_write(0x71e,0x3);
	dev_spi_write(0x71f,0x0);
	dev_spi_write(0x720,0xf0);
	dev_spi_write(0x721,0x1e);
	dev_spi_write(0x722,0x1);
	dev_spi_write(0x723,0x20);
	dev_spi_write(0x724,0xf4);
	dev_spi_write(0x725,0x1e);
	dev_spi_write(0x726,0x1);
	dev_spi_write(0x727,0x20);
	dev_spi_write(0x728,0x6);
	dev_spi_write(0x729,0xd6);
	dev_spi_write(0x72a,0x0);
	dev_spi_write(0x72b,0x20);
	dev_spi_write(0x72c,0x6c);
	dev_spi_write(0x72d,0x1a);
	dev_spi_write(0x72e,0x1);
	dev_spi_write(0x72f,0x20);
	dev_spi_write(0x730,0x2d);
	dev_spi_write(0x731,0xe9);
	dev_spi_write(0x732,0xf0);
	dev_spi_write(0x733,0x41);
	dev_spi_write(0x734,0x1c);
	dev_spi_write(0x735,0x46);
	dev_spi_write(0x736,0x15);
	dev_spi_write(0x737,0x46);
	dev_spi_write(0x738,0x8c);
	dev_spi_write(0x739,0x42);
	dev_spi_write(0x73a,0x8);
	dev_spi_write(0x73b,0xbf);
	dev_spi_write(0x73c,0x85);
	dev_spi_write(0x73d,0x42);
	dev_spi_write(0x73e,0x82);
	dev_spi_write(0x73f,0xbf);
	dev_spi_write(0x740,0x0);
	dev_spi_write(0x741,0x23);
	dev_spi_write(0x742,0x0);
	dev_spi_write(0x743,0x22);
	dev_spi_write(0x744,0xe5);
	dev_spi_write(0x745,0xe0);
	dev_spi_write(0x746,0x0);
	dev_spi_write(0x747,0x2c);
	dev_spi_write(0x748,0x8);
	dev_spi_write(0x749,0xbf);
	dev_spi_write(0x74a,0x0);
	dev_spi_write(0x74b,0x2d);
	dev_spi_write(0x74c,0xa);
	dev_spi_write(0x74d,0xd1);
	dev_spi_write(0x74e,0x0);
	dev_spi_write(0x74f,0x29);
	dev_spi_write(0x750,0xe);
	dev_spi_write(0x751,0xbf);
	dev_spi_write(0x752,0x0);
	dev_spi_write(0x753,0x28);
	dev_spi_write(0x754,0x6f);
	dev_spi_write(0x755,0xf0);
	dev_spi_write(0x756,0x0);
	dev_spi_write(0x757,0x0);
	dev_spi_write(0x758,0x6f);
	dev_spi_write(0x759,0xf0);
	dev_spi_write(0x75a,0x0);
	dev_spi_write(0x75b,0x1);
	dev_spi_write(0x75c,0x0);
	dev_spi_write(0x75d,0xf0);
	dev_spi_write(0x75e,0xe1);
	dev_spi_write(0x75f,0xf8);
	dev_spi_write(0x760,0xbd);
	dev_spi_write(0x761,0xe8);
	dev_spi_write(0x762,0xf0);
	dev_spi_write(0x763,0x81);
	dev_spi_write(0x764,0x5f);
	dev_spi_write(0x765,0xf0);
	dev_spi_write(0x766,0x0);
	dev_spi_write(0x767,0x8);
	dev_spi_write(0x768,0x5f);
	dev_spi_write(0x769,0xf0);
	dev_spi_write(0x76a,0x0);
	dev_spi_write(0x76b,0xe);
	dev_spi_write(0x76c,0x0);
	dev_spi_write(0x76d,0x2c);
	dev_spi_write(0x76e,0x8);
	dev_spi_write(0x76f,0xbf);
	dev_spi_write(0x770,0x8d);
	dev_spi_write(0x771,0x42);
	dev_spi_write(0x772,0x9c);
	dev_spi_write(0x773,0xbf);
	dev_spi_write(0x774,0x2c);
	dev_spi_write(0x775,0x1c);
	dev_spi_write(0x776,0x0);
	dev_spi_write(0x777,0x25);
	dev_spi_write(0x778,0x7);
	dev_spi_write(0x779,0xc);
	dev_spi_write(0x77a,0x47);
	dev_spi_write(0x77b,0xea);
	dev_spi_write(0x77c,0x1);
	dev_spi_write(0x77d,0x47);
	dev_spi_write(0x77e,0xe);
	dev_spi_write(0x77f,0xc);
	dev_spi_write(0x780,0xb4);
	dev_spi_write(0x781,0x42);
	dev_spi_write(0x782,0x8);
	dev_spi_write(0x783,0xbf);
	dev_spi_write(0x784,0xbd);
	dev_spi_write(0x785,0x42);
	dev_spi_write(0x786,0x9e);
	dev_spi_write(0x787,0xbf);
	dev_spi_write(0x788,0x5f);
	dev_spi_write(0x789,0xea);
	dev_spi_write(0x78a,0x4);
	dev_spi_write(0x78b,0x44);
	dev_spi_write(0x78c,0x44);
	dev_spi_write(0x78d,0xea);
	dev_spi_write(0x78e,0x15);
	dev_spi_write(0x78f,0x44);
	dev_spi_write(0x790,0x5f);
	dev_spi_write(0x791,0xea);
	dev_spi_write(0x792,0x5);
	dev_spi_write(0x793,0x45);
	dev_spi_write(0x794,0x7);
	dev_spi_write(0x795,0xa);
	dev_spi_write(0x796,0x47);
	dev_spi_write(0x797,0xea);
	dev_spi_write(0x798,0x1);
	dev_spi_write(0x799,0x67);
	dev_spi_write(0x79a,0xe);
	dev_spi_write(0x79b,0xa);
	dev_spi_write(0x79c,0xb4);
	dev_spi_write(0x79d,0x42);
	dev_spi_write(0x79e,0x8);
	dev_spi_write(0x79f,0xbf);
	dev_spi_write(0x7a0,0xbd);
	dev_spi_write(0x7a1,0x42);
	dev_spi_write(0x7a2,0x9e);
	dev_spi_write(0x7a3,0xbf);
	dev_spi_write(0x7a4,0x5f);
	dev_spi_write(0x7a5,0xea);
	dev_spi_write(0x7a6,0x4);
	dev_spi_write(0x7a7,0x24);
	dev_spi_write(0x7a8,0x44);
	dev_spi_write(0x7a9,0xea);
	dev_spi_write(0x7aa,0x15);
	dev_spi_write(0x7ab,0x64);
	dev_spi_write(0x7ac,0x5f);
	dev_spi_write(0x7ad,0xea);
	dev_spi_write(0x7ae,0x5);
	dev_spi_write(0x7af,0x25);
	dev_spi_write(0x7b0,0x47);
	dev_spi_write(0x7b1,0x8);
	dev_spi_write(0x7b2,0x47);
	dev_spi_write(0x7b3,0xea);
	dev_spi_write(0x7b4,0xc1);
	dev_spi_write(0x7b5,0x77);
	dev_spi_write(0x7b6,0x4e);
	dev_spi_write(0x7b7,0x8);
	dev_spi_write(0x7b8,0xb4);
	dev_spi_write(0x7b9,0x42);
	dev_spi_write(0x7ba,0x8);
	dev_spi_write(0x7bb,0xbf);
	dev_spi_write(0x7bc,0xbd);
	dev_spi_write(0x7bd,0x42);
	dev_spi_write(0x7be,0x0);
	dev_spi_write(0x7bf,0xf2);
	dev_spi_write(0x7c0,0x93);
	dev_spi_write(0x7c1,0x80);
	dev_spi_write(0x7c2,0x87);
	dev_spi_write(0x7c3,0x8);
	dev_spi_write(0x7c4,0x47);
	dev_spi_write(0x7c5,0xea);
	dev_spi_write(0x7c6,0x81);
	dev_spi_write(0x7c7,0x77);
	dev_spi_write(0x7c8,0x8e);
	dev_spi_write(0x7c9,0x8);
	dev_spi_write(0x7ca,0xb4);
	dev_spi_write(0x7cb,0x42);
	dev_spi_write(0x7cc,0x8);
	dev_spi_write(0x7cd,0xbf);
	dev_spi_write(0x7ce,0xbd);
	dev_spi_write(0x7cf,0x42);
	dev_spi_write(0x7d0,0x7c);
	dev_spi_write(0x7d1,0xd8);
	dev_spi_write(0x7d2,0xc7);
	dev_spi_write(0x7d3,0x8);
	dev_spi_write(0x7d4,0x47);
	dev_spi_write(0x7d5,0xea);
	dev_spi_write(0x7d6,0x41);
	dev_spi_write(0x7d7,0x77);
	dev_spi_write(0x7d8,0xce);
	dev_spi_write(0x7d9,0x8);
	dev_spi_write(0x7da,0xb4);
	dev_spi_write(0x7db,0x42);
	dev_spi_write(0x7dc,0x8);
	dev_spi_write(0x7dd,0xbf);
	dev_spi_write(0x7de,0xbd);
	dev_spi_write(0x7df,0x42);
	dev_spi_write(0x7e0,0x66);
	dev_spi_write(0x7e1,0xd8);
	dev_spi_write(0x7e2,0x7);
	dev_spi_write(0x7e3,0x9);
	dev_spi_write(0x7e4,0x47);
	dev_spi_write(0x7e5,0xea);
	dev_spi_write(0x7e6,0x1);
	dev_spi_write(0x7e7,0x77);
	dev_spi_write(0x7e8,0xe);
	dev_spi_write(0x7e9,0x9);
	dev_spi_write(0x7ea,0xb4);
	dev_spi_write(0x7eb,0x42);
	dev_spi_write(0x7ec,0x8);
	dev_spi_write(0x7ed,0xbf);
	dev_spi_write(0x7ee,0xbd);
	dev_spi_write(0x7ef,0x42);
	dev_spi_write(0x7f0,0x50);
	dev_spi_write(0x7f1,0xd8);
	dev_spi_write(0x7f2,0x47);
	dev_spi_write(0x7f3,0x9);
	dev_spi_write(0x7f4,0x47);
	dev_spi_write(0x7f5,0xea);
	dev_spi_write(0x7f6,0xc1);
	dev_spi_write(0x7f7,0x67);
	dev_spi_write(0x7f8,0x4e);
	dev_spi_write(0x7f9,0x9);
	dev_spi_write(0x7fa,0xb4);
	dev_spi_write(0x7fb,0x42);
	dev_spi_write(0x7fc,0x8);
	dev_spi_write(0x7fd,0xbf);
	dev_spi_write(0x7fe,0xbd);
	dev_spi_write(0x7ff,0x42);
	dev_spi_write(0x800,0x3a);
	dev_spi_write(0x801,0xd8);
	dev_spi_write(0x802,0x87);
	dev_spi_write(0x803,0x9);
	dev_spi_write(0x804,0x47);
	dev_spi_write(0x805,0xea);
	dev_spi_write(0x806,0x81);
	dev_spi_write(0x807,0x67);
	dev_spi_write(0x808,0x8e);
	dev_spi_write(0x809,0x9);
	dev_spi_write(0x80a,0xb4);
	dev_spi_write(0x80b,0x42);
	dev_spi_write(0x80c,0x8);
	dev_spi_write(0x80d,0xbf);
	dev_spi_write(0x80e,0xbd);
	dev_spi_write(0x80f,0x42);
	dev_spi_write(0x810,0x24);
	dev_spi_write(0x811,0xd8);
	dev_spi_write(0x812,0xc7);
	dev_spi_write(0x813,0x9);
	dev_spi_write(0x814,0x47);
	dev_spi_write(0x815,0xea);
	dev_spi_write(0x816,0x41);
	dev_spi_write(0x817,0x67);
	dev_spi_write(0x818,0xce);
	dev_spi_write(0x819,0x9);
	dev_spi_write(0x81a,0xb4);
	dev_spi_write(0x81b,0x42);
	dev_spi_write(0x81c,0x8);
	dev_spi_write(0x81d,0xbf);
	dev_spi_write(0x81e,0xbd);
	dev_spi_write(0x81f,0x42);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 8634 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 8634 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x18);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 8646 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 8646 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 8647 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0xd);
	dev_spi_write(0x21,0xd8);
	dev_spi_write(0x22,0xe6);
	dev_spi_write(0x23,0x1);
	dev_spi_write(0x24,0x46);
	dev_spi_write(0x25,0xea);
	dev_spi_write(0x26,0x55);
	dev_spi_write(0x27,0x66);
	dev_spi_write(0x28,0xef);
	dev_spi_write(0x29,0x1);
	dev_spi_write(0x2a,0xb1);
	dev_spi_write(0x2b,0x42);
	dev_spi_write(0x2c,0x8);
	dev_spi_write(0x2d,0xbf);
	dev_spi_write(0x2e,0xb8);
	dev_spi_write(0x2f,0x42);
	dev_spi_write(0x30,0x1);
	dev_spi_write(0x31,0xd3);
	dev_spi_write(0x32,0xc0);
	dev_spi_write(0x33,0x1b);
	dev_spi_write(0x34,0xb1);
	dev_spi_write(0x35,0x41);
	dev_spi_write(0x36,0x58);
	dev_spi_write(0x37,0xeb);
	dev_spi_write(0x38,0x8);
	dev_spi_write(0x39,0x8);
	dev_spi_write(0x3a,0x5e);
	dev_spi_write(0x3b,0xeb);
	dev_spi_write(0x3c,0xe);
	dev_spi_write(0x3d,0xe);
	dev_spi_write(0x3e,0xa6);
	dev_spi_write(0x3f,0x1);
	dev_spi_write(0x40,0x46);
	dev_spi_write(0x41,0xea);
	dev_spi_write(0x42,0x95);
	dev_spi_write(0x43,0x66);
	dev_spi_write(0x44,0x4f);
	dev_spi_write(0x45,0xea);
	dev_spi_write(0x46,0x85);
	dev_spi_write(0x47,0x17);
	dev_spi_write(0x48,0xb1);
	dev_spi_write(0x49,0x42);
	dev_spi_write(0x4a,0x8);
	dev_spi_write(0x4b,0xbf);
	dev_spi_write(0x4c,0xb8);
	dev_spi_write(0x4d,0x42);
	dev_spi_write(0x4e,0x1);
	dev_spi_write(0x4f,0xd3);
	dev_spi_write(0x50,0xc0);
	dev_spi_write(0x51,0x1b);
	dev_spi_write(0x52,0xb1);
	dev_spi_write(0x53,0x41);
	dev_spi_write(0x54,0x58);
	dev_spi_write(0x55,0xeb);
	dev_spi_write(0x56,0x8);
	dev_spi_write(0x57,0x8);
	dev_spi_write(0x58,0x4e);
	dev_spi_write(0x59,0xeb);
	dev_spi_write(0x5a,0xe);
	dev_spi_write(0x5b,0xe);
	dev_spi_write(0x5c,0x66);
	dev_spi_write(0x5d,0x1);
	dev_spi_write(0x5e,0x46);
	dev_spi_write(0x5f,0xea);
	dev_spi_write(0x60,0xd5);
	dev_spi_write(0x61,0x66);
	dev_spi_write(0x62,0x6f);
	dev_spi_write(0x63,0x1);
	dev_spi_write(0x64,0xb1);
	dev_spi_write(0x65,0x42);
	dev_spi_write(0x66,0x8);
	dev_spi_write(0x67,0xbf);
	dev_spi_write(0x68,0xb8);
	dev_spi_write(0x69,0x42);
	dev_spi_write(0x6a,0x1);
	dev_spi_write(0x6b,0xd3);
	dev_spi_write(0x6c,0xc0);
	dev_spi_write(0x6d,0x1b);
	dev_spi_write(0x6e,0xb1);
	dev_spi_write(0x6f,0x41);
	dev_spi_write(0x70,0x58);
	dev_spi_write(0x71,0xeb);
	dev_spi_write(0x72,0x8);
	dev_spi_write(0x73,0x8);
	dev_spi_write(0x74,0x4e);
	dev_spi_write(0x75,0xeb);
	dev_spi_write(0x76,0xe);
	dev_spi_write(0x77,0xe);
	dev_spi_write(0x78,0x26);
	dev_spi_write(0x79,0x1);
	dev_spi_write(0x7a,0x46);
	dev_spi_write(0x7b,0xea);
	dev_spi_write(0x7c,0x15);
	dev_spi_write(0x7d,0x76);
	dev_spi_write(0x7e,0x2f);
	dev_spi_write(0x7f,0x1);
	dev_spi_write(0x80,0xb1);
	dev_spi_write(0x81,0x42);
	dev_spi_write(0x82,0x8);
	dev_spi_write(0x83,0xbf);
	dev_spi_write(0x84,0xb8);
	dev_spi_write(0x85,0x42);
	dev_spi_write(0x86,0x1);
	dev_spi_write(0x87,0xd3);
	dev_spi_write(0x88,0xc0);
	dev_spi_write(0x89,0x1b);
	dev_spi_write(0x8a,0xb1);
	dev_spi_write(0x8b,0x41);
	dev_spi_write(0x8c,0x58);
	dev_spi_write(0x8d,0xeb);
	dev_spi_write(0x8e,0x8);
	dev_spi_write(0x8f,0x8);
	dev_spi_write(0x90,0x5e);
	dev_spi_write(0x91,0xeb);
	dev_spi_write(0x92,0xe);
	dev_spi_write(0x93,0xe);
	dev_spi_write(0x94,0xe6);
	dev_spi_write(0x95,0x0);
	dev_spi_write(0x96,0x46);
	dev_spi_write(0x97,0xea);
	dev_spi_write(0x98,0x55);
	dev_spi_write(0x99,0x76);
	dev_spi_write(0x9a,0xef);
	dev_spi_write(0x9b,0x0);
	dev_spi_write(0x9c,0xb1);
	dev_spi_write(0x9d,0x42);
	dev_spi_write(0x9e,0x8);
	dev_spi_write(0x9f,0xbf);
	dev_spi_write(0xa0,0xb8);
	dev_spi_write(0xa1,0x42);
	dev_spi_write(0xa2,0x1);
	dev_spi_write(0xa3,0xd3);
	dev_spi_write(0xa4,0xc0);
	dev_spi_write(0xa5,0x1b);
	dev_spi_write(0xa6,0xb1);
	dev_spi_write(0xa7,0x41);
	dev_spi_write(0xa8,0x58);
	dev_spi_write(0xa9,0xeb);
	dev_spi_write(0xaa,0x8);
	dev_spi_write(0xab,0x8);
	dev_spi_write(0xac,0x4e);
	dev_spi_write(0xad,0xeb);
	dev_spi_write(0xae,0xe);
	dev_spi_write(0xaf,0xe);
	dev_spi_write(0xb0,0xa6);
	dev_spi_write(0xb1,0x0);
	dev_spi_write(0xb2,0x46);
	dev_spi_write(0xb3,0xea);
	dev_spi_write(0xb4,0x95);
	dev_spi_write(0xb5,0x76);
	dev_spi_write(0xb6,0xaf);
	dev_spi_write(0xb7,0x0);
	dev_spi_write(0xb8,0xb1);
	dev_spi_write(0xb9,0x42);
	dev_spi_write(0xba,0x8);
	dev_spi_write(0xbb,0xbf);
	dev_spi_write(0xbc,0xb8);
	dev_spi_write(0xbd,0x42);
	dev_spi_write(0xbe,0x1);
	dev_spi_write(0xbf,0xd3);
	dev_spi_write(0xc0,0xc0);
	dev_spi_write(0xc1,0x1b);
	dev_spi_write(0xc2,0xb1);
	dev_spi_write(0xc3,0x41);
	dev_spi_write(0xc4,0x58);
	dev_spi_write(0xc5,0xeb);
	dev_spi_write(0xc6,0x8);
	dev_spi_write(0xc7,0x8);
	dev_spi_write(0xc8,0x4e);
	dev_spi_write(0xc9,0xeb);
	dev_spi_write(0xca,0xe);
	dev_spi_write(0xcb,0xe);
	dev_spi_write(0xcc,0x66);
	dev_spi_write(0xcd,0x0);
	dev_spi_write(0xce,0x46);
	dev_spi_write(0xcf,0xea);
	dev_spi_write(0xd0,0xd5);
	dev_spi_write(0xd1,0x76);
	dev_spi_write(0xd2,0x6f);
	dev_spi_write(0xd3,0x0);
	dev_spi_write(0xd4,0xb1);
	dev_spi_write(0xd5,0x42);
	dev_spi_write(0xd6,0x8);
	dev_spi_write(0xd7,0xbf);
	dev_spi_write(0xd8,0xb8);
	dev_spi_write(0xd9,0x42);
	dev_spi_write(0xda,0x1);
	dev_spi_write(0xdb,0xd3);
	dev_spi_write(0xdc,0xc0);
	dev_spi_write(0xdd,0x1b);
	dev_spi_write(0xde,0xb1);
	dev_spi_write(0xdf,0x41);
	dev_spi_write(0xe0,0x58);
	dev_spi_write(0xe1,0xeb);
	dev_spi_write(0xe2,0x8);
	dev_spi_write(0xe3,0x8);
	dev_spi_write(0xe4,0x5e);
	dev_spi_write(0xe5,0xeb);
	dev_spi_write(0xe6,0xe);
	dev_spi_write(0xe7,0xe);
	dev_spi_write(0xe8,0xa1);
	dev_spi_write(0xe9,0x42);
	dev_spi_write(0xea,0x8);
	dev_spi_write(0xeb,0xbf);
	dev_spi_write(0xec,0xa8);
	dev_spi_write(0xed,0x42);
	dev_spi_write(0xee,0x1);
	dev_spi_write(0xef,0xd3);
	dev_spi_write(0xf0,0x40);
	dev_spi_write(0xf1,0x1b);
	dev_spi_write(0xf2,0xa1);
	dev_spi_write(0xf3,0x41);
	dev_spi_write(0xf4,0x58);
	dev_spi_write(0xf5,0xeb);
	dev_spi_write(0xf6,0x8);
	dev_spi_write(0xf7,0x8);
	dev_spi_write(0xf8,0x5e);
	dev_spi_write(0xf9,0xeb);
	dev_spi_write(0xfa,0xe);
	dev_spi_write(0xfb,0xe);
	dev_spi_write(0xfc,0xa3);
	dev_spi_write(0xfd,0x42);
	dev_spi_write(0xfe,0x8);
	dev_spi_write(0xff,0xbf);
	dev_spi_write(0x100,0xaa);
	dev_spi_write(0x101,0x42);
	dev_spi_write(0x102,0x3e);
	dev_spi_write(0x103,0xbf);
	dev_spi_write(0x104,0x2d);
	dev_spi_write(0x105,0xa);
	dev_spi_write(0x106,0x45);
	dev_spi_write(0x107,0xea);
	dev_spi_write(0x108,0x4);
	dev_spi_write(0x109,0x65);
	dev_spi_write(0x10a,0x24);
	dev_spi_write(0x10b,0xa);
	dev_spi_write(0x10c,0x89);
	dev_spi_write(0x10d,0xd3);
	dev_spi_write(0x10e,0x73);
	dev_spi_write(0x10f,0x46);
	dev_spi_write(0x110,0x42);
	dev_spi_write(0x111,0x46);
	dev_spi_write(0x112,0x1e);
	dev_spi_write(0x113,0x46);
	dev_spi_write(0x114,0x17);
	dev_spi_write(0x115,0x46);
	dev_spi_write(0x116,0xb);
	dev_spi_write(0x117,0x46);
	dev_spi_write(0x118,0x2);
	dev_spi_write(0x119,0x46);
	dev_spi_write(0x11a,0x31);
	dev_spi_write(0x11b,0x46);
	dev_spi_write(0x11c,0x38);
	dev_spi_write(0x11d,0x46);
	dev_spi_write(0x11e,0xbd);
	dev_spi_write(0x11f,0xe8);
	dev_spi_write(0x120,0xf0);
	dev_spi_write(0x121,0x81);
	dev_spi_write(0x122,0x70);
	dev_spi_write(0x123,0x47);
	dev_spi_write(0x124,0x74);
	dev_spi_write(0x125,0x4a);
	dev_spi_write(0x126,0x38);
	dev_spi_write(0x127,0xb5);
	dev_spi_write(0x128,0x1c);
	dev_spi_write(0x129,0x21);
	dev_spi_write(0x12a,0x10);
	dev_spi_write(0x12b,0xfb);
	dev_spi_write(0x12c,0x1);
	dev_spi_write(0x12d,0x24);
	dev_spi_write(0x12e,0xb4);
	dev_spi_write(0x12f,0xf9);
	dev_spi_write(0x130,0x10);
	dev_spi_write(0x131,0x50);
	dev_spi_write(0x132,0xa3);
	dev_spi_write(0x133,0x68);
	dev_spi_write(0x134,0x21);
	dev_spi_write(0x135,0x68);
	dev_spi_write(0x136,0x62);
	dev_spi_write(0x137,0x68);
	dev_spi_write(0x138,0x14);
	dev_spi_write(0x139,0x20);
	dev_spi_write(0x13a,0x95);
	dev_spi_write(0x13b,0xfb);
	dev_spi_write(0x13c,0xf0);
	dev_spi_write(0x13d,0xf0);
	dev_spi_write(0x13e,0x40);
	dev_spi_write(0x13f,0x42);
	dev_spi_write(0x140,0x3);
	dev_spi_write(0x141,0xfb);
	dev_spi_write(0x142,0x2);
	dev_spi_write(0x143,0x11);
	dev_spi_write(0x144,0x40);
	dev_spi_write(0x145,0xb2);
	dev_spi_write(0x146,0x61);
	dev_spi_write(0x147,0x61);
	dev_spi_write(0x148,0xf);
	dev_spi_write(0x149,0x21);
	dev_spi_write(0x14a,0xe9);
	dev_spi_write(0x14b,0xf7);
	dev_spi_write(0x14c,0xf6);
	dev_spi_write(0x14d,0xfd);
	dev_spi_write(0x14e,0x47);
	dev_spi_write(0x14f,0xf6);
	dev_spi_write(0x150,0xff);
	dev_spi_write(0x151,0x71);
	dev_spi_write(0x152,0x81);
	dev_spi_write(0x153,0x42);
	dev_spi_write(0x154,0x28);
	dev_spi_write(0x155,0xbf);
	dev_spi_write(0x156,0x81);
	dev_spi_write(0x157,0xb2);
	dev_spi_write(0x158,0x21);
	dev_spi_write(0x159,0x83);
	dev_spi_write(0x15a,0x38);
	dev_spi_write(0x15b,0xbd);
	dev_spi_write(0x15c,0xf8);
	dev_spi_write(0x15d,0xb5);
	dev_spi_write(0x15e,0x9c);
	dev_spi_write(0x15f,0x46);
	dev_spi_write(0x160,0xdf);
	dev_spi_write(0x161,0xf8);
	dev_spi_write(0x162,0x98);
	dev_spi_write(0x163,0xe1);
	dev_spi_write(0x164,0x66);
	dev_spi_write(0x165,0x4b);
	dev_spi_write(0x166,0x67);
	dev_spi_write(0x167,0x4d);
	dev_spi_write(0x168,0x0);
	dev_spi_write(0x169,0x24);
	dev_spi_write(0x16a,0x5e);
	dev_spi_write(0x16b,0xf8);
	dev_spi_write(0x16c,0x20);
	dev_spi_write(0x16d,0x0);
	dev_spi_write(0x16e,0x5f);
	dev_spi_write(0x16f,0x68);
	dev_spi_write(0x170,0xa0);
	dev_spi_write(0x171,0xf8);
	dev_spi_write(0x172,0x74);
	dev_spi_write(0x173,0x17);
	dev_spi_write(0x174,0x2d);
	dev_spi_write(0x175,0x68);
	dev_spi_write(0x176,0x59);
	dev_spi_write(0x177,0x68);
	dev_spi_write(0x178,0xa0);
	dev_spi_write(0x179,0xf8);
	dev_spi_write(0x17a,0x76);
	dev_spi_write(0x17b,0x47);
	dev_spi_write(0x17c,0xc);
	dev_spi_write(0x17d,0xfb);
	dev_spi_write(0x17e,0x7);
	dev_spi_write(0x17f,0x27);
	dev_spi_write(0x180,0x1);
	dev_spi_write(0x181,0x23);
	dev_spi_write(0x182,0x80);
	dev_spi_write(0x183,0xf8);
	dev_spi_write(0x184,0xb8);
	dev_spi_write(0x185,0x43);
	dev_spi_write(0x186,0x4e);
	dev_spi_write(0x187,0x1c);
	dev_spi_write(0x188,0x80);
	dev_spi_write(0x189,0xf8);
	dev_spi_write(0x18a,0x47);
	dev_spi_write(0x18b,0x44);
	dev_spi_write(0x18c,0x8d);
	dev_spi_write(0x18d,0x42);
	dev_spi_write(0x18e,0x80);
	dev_spi_write(0x18f,0xf8);
	dev_spi_write(0x190,0x46);
	dev_spi_write(0x191,0x34);
	dev_spi_write(0x192,0xc);
	dev_spi_write(0x193,0xfb);
	dev_spi_write(0x194,0x6);
	dev_spi_write(0x195,0x26);
	dev_spi_write(0x196,0xc0);
	dev_spi_write(0x197,0xf8);
	dev_spi_write(0x198,0x50);
	dev_spi_write(0x199,0x73);
	dev_spi_write(0x19a,0x98);
	dev_spi_write(0x19b,0xbf);
	dev_spi_write(0x19c,0x16);
	dev_spi_write(0x19d,0x1c);
	dev_spi_write(0x19e,0xc1);
	dev_spi_write(0x19f,0xb2);
	dev_spi_write(0x1a0,0xc0);
	dev_spi_write(0x1a1,0xf8);
	dev_spi_write(0x1a2,0x54);
	dev_spi_write(0x1a3,0x63);
	dev_spi_write(0x1a4,0x5e);
	dev_spi_write(0x1a5,0xf8);
	dev_spi_write(0x1a6,0x21);
	dev_spi_write(0x1a7,0x20);
	dev_spi_write(0x1a8,0x82);
	dev_spi_write(0x1a9,0xf8);
	dev_spi_write(0x1aa,0x58);
	dev_spi_write(0x1ab,0x3e);
	dev_spi_write(0x1ac,0x0);
	dev_spi_write(0x1ad,0xbf);
	dev_spi_write(0x1ae,0x0);
	dev_spi_write(0x1af,0xbf);
	dev_spi_write(0x1b0,0x0);
	dev_spi_write(0x1b1,0xbf);
	dev_spi_write(0x1b2,0x0);
	dev_spi_write(0x1b3,0xbf);
	dev_spi_write(0x1b4,0x0);
	dev_spi_write(0x1b5,0xbf);
	dev_spi_write(0x1b6,0xd0);
	dev_spi_write(0x1b7,0xf8);
	dev_spi_write(0x1b8,0x58);
	dev_spi_write(0x1b9,0x1e);
	dev_spi_write(0x1ba,0x41);
	dev_spi_write(0x1bb,0xf4);
	dev_spi_write(0x1bc,0x80);
	dev_spi_write(0x1bd,0x71);
	dev_spi_write(0x1be,0xc0);
	dev_spi_write(0x1bf,0xf8);
	dev_spi_write(0x1c0,0x58);
	dev_spi_write(0x1c1,0x1e);
	dev_spi_write(0x1c2,0x10);
	dev_spi_write(0x1c3,0x21);
	dev_spi_write(0x1c4,0xc0);
	dev_spi_write(0x1c5,0xf2);
	dev_spi_write(0x1c6,0x0);
	dev_spi_write(0x1c7,0x1);
	dev_spi_write(0x1c8,0x49);
	dev_spi_write(0x1c9,0x1e);
	dev_spi_write(0x1ca,0xfd);
	dev_spi_write(0x1cb,0xd1);
	dev_spi_write(0x1cc,0x82);
	dev_spi_write(0x1cd,0xf8);
	dev_spi_write(0x1ce,0x58);
	dev_spi_write(0x1cf,0x4e);
	dev_spi_write(0x1d0,0x4);
	dev_spi_write(0x1d1,0x21);
	dev_spi_write(0x1d2,0x80);
	dev_spi_write(0x1d3,0xf8);
	dev_spi_write(0x1d4,0x71);
	dev_spi_write(0x1d5,0x17);
	dev_spi_write(0x1d6,0xf8);
	dev_spi_write(0x1d7,0xbd);
	dev_spi_write(0x1d8,0x70);
	dev_spi_write(0x1d9,0xb5);
	dev_spi_write(0x1da,0x4);
	dev_spi_write(0x1db,0x46);
	dev_spi_write(0x1dc,0xff);
	dev_spi_write(0x1dd,0xf7);
	dev_spi_write(0x1de,0xa2);
	dev_spi_write(0x1df,0xff);
	dev_spi_write(0x1e0,0x45);
	dev_spi_write(0x1e1,0x49);
	dev_spi_write(0x1e2,0x1c);
	dev_spi_write(0x1e3,0x20);
	dev_spi_write(0x1e4,0x14);
	dev_spi_write(0x1e5,0xfb);
	dev_spi_write(0x1e6,0x0);
	dev_spi_write(0x1e7,0x15);
	dev_spi_write(0x1e8,0x2a);
	dev_spi_write(0x1e9,0x68);
	dev_spi_write(0x1ea,0x6b);
	dev_spi_write(0x1eb,0x68);
	dev_spi_write(0x1ec,0x29);
	dev_spi_write(0x1ed,0x8b);
	dev_spi_write(0x1ee,0x20);
	dev_spi_write(0x1ef,0x46);
	dev_spi_write(0x1f0,0xff);
	dev_spi_write(0x1f1,0xf7);
	dev_spi_write(0x1f2,0xb4);
	dev_spi_write(0x1f3,0xff);
	dev_spi_write(0x1f4,0x44);
	dev_spi_write(0x1f5,0x48);
	dev_spi_write(0x1f6,0x2e);
	dev_spi_write(0x1f7,0x68);
	dev_spi_write(0x1f8,0x6b);
	dev_spi_write(0x1f9,0x68);
	dev_spi_write(0x1fa,0x1);
	dev_spi_write(0x1fb,0x22);
	dev_spi_write(0x1fc,0x0);
	dev_spi_write(0x1fd,0xeb);
	dev_spi_write(0x1fe,0x4);
	dev_spi_write(0x1ff,0x10);
	dev_spi_write(0x200,0x0);
	dev_spi_write(0x201,0x25);
	dev_spi_write(0x202,0x5);
	dev_spi_write(0x203,0x70);
	dev_spi_write(0x204,0x3f);
	dev_spi_write(0x205,0x49);
	dev_spi_write(0x206,0xc5);
	dev_spi_write(0x207,0x60);
	dev_spi_write(0x208,0xc);
	dev_spi_write(0x209,0x39);
	dev_spi_write(0x20a,0x42);
	dev_spi_write(0x20b,0x70);
	dev_spi_write(0x20c,0x9b);
	dev_spi_write(0x20d,0x19);
	dev_spi_write(0x20e,0x46);
	dev_spi_write(0x20f,0x60);
	dev_spi_write(0x210,0xd);
	dev_spi_write(0x211,0x68);
	dev_spi_write(0x212,0x83);
	dev_spi_write(0x213,0x60);
	dev_spi_write(0x214,0xa2);
	dev_spi_write(0x215,0x40);
	dev_spi_write(0x216,0x2a);
	dev_spi_write(0x217,0x43);
	dev_spi_write(0x218,0xa);
	dev_spi_write(0x219,0x60);
	dev_spi_write(0x21a,0x70);
	dev_spi_write(0x21b,0xbd);
	dev_spi_write(0x21c,0xf8);
	dev_spi_write(0x21d,0xb5);
	dev_spi_write(0x21e,0x38);
	dev_spi_write(0x21f,0x4a);
	dev_spi_write(0x220,0x38);
	dev_spi_write(0x221,0x4e);
	dev_spi_write(0x222,0x0);
	dev_spi_write(0x223,0x20);
	dev_spi_write(0x224,0xa);
	dev_spi_write(0x225,0x21);
	dev_spi_write(0x226,0x1);
	dev_spi_write(0x227,0x23);
	dev_spi_write(0x228,0x10);
	dev_spi_write(0x229,0x60);
	dev_spi_write(0x22a,0xc);
	dev_spi_write(0x22b,0x3e);
	dev_spi_write(0x22c,0x50);
	dev_spi_write(0x22d,0x60);
	dev_spi_write(0x22e,0x14);
	dev_spi_write(0x22f,0x25);
	dev_spi_write(0x230,0x71);
	dev_spi_write(0x231,0x60);
	dev_spi_write(0x232,0x4f);
	dev_spi_write(0x233,0xf4);
	dev_spi_write(0x234,0x80);
	dev_spi_write(0x235,0x44);
	dev_spi_write(0x236,0x30);
	dev_spi_write(0x237,0x60);
	dev_spi_write(0x238,0x4);
	dev_spi_write(0x239,0x27);
	dev_spi_write(0x23a,0xb3);
	dev_spi_write(0x23b,0x60);
	dev_spi_write(0x23c,0x32);
	dev_spi_write(0x23d,0x4a);
	dev_spi_write(0x23e,0xf0);
	dev_spi_write(0x23f,0x60);
	dev_spi_write(0x240,0x2d);
	dev_spi_write(0x241,0x49);
	dev_spi_write(0x242,0x50);
	dev_spi_write(0x243,0x60);
	dev_spi_write(0x244,0x90);
	dev_spi_write(0x245,0x60);
	dev_spi_write(0x246,0xd0);
	dev_spi_write(0x247,0x60);
	dev_spi_write(0x248,0x10);
	dev_spi_write(0x249,0x70);
	dev_spi_write(0x24a,0x50);
	dev_spi_write(0x24b,0x70);
	dev_spi_write(0x24c,0xd);
	dev_spi_write(0x24d,0x82);
	dev_spi_write(0x24e,0x8);
	dev_spi_write(0x24f,0x60);
	dev_spi_write(0x250,0x48);
	dev_spi_write(0x251,0x60);
	dev_spi_write(0x252,0x88);
	dev_spi_write(0x253,0x60);
	dev_spi_write(0x254,0xcb);
	dev_spi_write(0x255,0x60);
	dev_spi_write(0x256,0x48);
	dev_spi_write(0x257,0x61);
	dev_spi_write(0x258,0xc);
	dev_spi_write(0x259,0x83);
	dev_spi_write(0x25a,0x7f);
	dev_spi_write(0x25b,0x1e);
	dev_spi_write(0x25c,0x2);
	dev_spi_write(0x25d,0xf1);
	dev_spi_write(0x25e,0x10);
	dev_spi_write(0x25f,0x2);
	dev_spi_write(0x260,0x1);
	dev_spi_write(0x261,0xf1);
	dev_spi_write(0x262,0x1c);
	dev_spi_write(0x263,0x1);
	dev_spi_write(0x264,0xed);
	dev_spi_write(0x265,0xd1);
	dev_spi_write(0x266,0xf8);
	dev_spi_write(0x267,0xbd);
	dev_spi_write(0x268,0x26);
	dev_spi_write(0x269,0x49);
	dev_spi_write(0x26a,0x25);
	dev_spi_write(0x26b,0x48);
	dev_spi_write(0x26c,0x2d);
	dev_spi_write(0x26d,0xe9);
	dev_spi_write(0x26e,0xf0);
	dev_spi_write(0x26f,0x41);
	dev_spi_write(0x270,0xc);
	dev_spi_write(0x271,0x39);
	dev_spi_write(0x272,0x3);
	dev_spi_write(0x273,0x68);
	dev_spi_write(0x274,0x44);
	dev_spi_write(0x275,0x68);
	dev_spi_write(0x276,0x8a);
	dev_spi_write(0x277,0x68);
	dev_spi_write(0x278,0x5b);
	dev_spi_write(0x279,0x1c);
	dev_spi_write(0x27a,0x9a);
	dev_spi_write(0x27b,0x42);
	dev_spi_write(0x27c,0x8e);
	dev_spi_write(0x27d,0xbf);
	dev_spi_write(0x27e,0x0);
	dev_spi_write(0x27f,0x27);
	dev_spi_write(0x280,0xf);
	dev_spi_write(0x281,0x68);
	dev_spi_write(0x282,0x0);
	dev_spi_write(0x283,0x23);
	dev_spi_write(0x284,0xdf);
	dev_spi_write(0x285,0xf8);
	dev_spi_write(0x286,0x74);
	dev_spi_write(0x287,0xc0);
	dev_spi_write(0x288,0x0);
	dev_spi_write(0x289,0x25);
	dev_spi_write(0x28a,0x1);
	dev_spi_write(0x28b,0x22);
	dev_spi_write(0x28c,0x3);
	dev_spi_write(0x28d,0x60);
	dev_spi_write(0x28e,0x2);
	dev_spi_write(0x28f,0xfa);
	dev_spi_write(0x290,0x5);
	dev_spi_write(0x291,0xf3);
	dev_spi_write(0x292,0x1f);
	dev_spi_write(0x293,0x42);
	dev_spi_write(0x294,0x5);
	dev_spi_write(0x295,0xd0);
	dev_spi_write(0x296,0x5c);
	dev_spi_write(0x297,0xf8);
	dev_spi_write(0x298,0x25);
	dev_spi_write(0x299,0x60);
	dev_spi_write(0x29a,0x4);
	dev_spi_write(0x29b,0xf0);
	dev_spi_write(0x29c,0x1);
	dev_spi_write(0x29d,0x3);
	dev_spi_write(0x29e,0x86);
	dev_spi_write(0x29f,0xf8);
	dev_spi_write(0x2a0,0x58);
	dev_spi_write(0x2a1,0x3e);
	dev_spi_write(0x2a2,0x6d);
	dev_spi_write(0x2a3,0x1c);
	dev_spi_write(0x2a4,0x4);
	dev_spi_write(0x2a5,0x2d);
	dev_spi_write(0x2a6,0xf2);
	dev_spi_write(0x2a7,0xd3);
	dev_spi_write(0x2a8,0xf7);
	dev_spi_write(0x2a9,0xb1);
	dev_spi_write(0x2aa,0xcb);
	dev_spi_write(0x2ab,0x68);
	dev_spi_write(0x2ac,0x64);
	dev_spi_write(0x2ad,0x1c);
	dev_spi_write(0x2ae,0xa3);
	dev_spi_write(0x2af,0x42);
	dev_spi_write(0x2b0,0x38);
	dev_spi_write(0x2b1,0xbf);
	dev_spi_write(0x2b2,0x0);
	dev_spi_write(0x2b3,0x24);
	dev_spi_write(0x2b4,0x10);
	dev_spi_write(0x2b5,0x4d);
	dev_spi_write(0x2b6,0x44);
	dev_spi_write(0x2b7,0x60);
	dev_spi_write(0x2b8,0x4);
	dev_spi_write(0x2b9,0xf0);
	dev_spi_write(0x2ba,0x1);
	dev_spi_write(0x2bb,0xe);
	dev_spi_write(0x2bc,0x0);
	dev_spi_write(0x2bd,0x23);
	dev_spi_write(0x2be,0x2);
	dev_spi_write(0x2bf,0xfa);
	dev_spi_write(0x2c0,0x3);
	dev_spi_write(0x2c1,0xf0);
	dev_spi_write(0x2c2,0x7);
	dev_spi_write(0x2c3,0x42);
	dev_spi_write(0x2c4,0xd);
	dev_spi_write(0x2c5,0xd0);
	dev_spi_write(0x2c6,0x5c);
	dev_spi_write(0x2c7,0xf8);
	dev_spi_write(0x2c8,0x23);
	dev_spi_write(0x2c9,0x80);
	dev_spi_write(0x2ca,0x58);
	dev_spi_write(0x2cb,0x1);
	dev_spi_write(0x2cc,0xa0);
	dev_spi_write(0x2cd,0xeb);
	dev_spi_write(0x2ce,0x83);
	dev_spi_write(0x2cf,0x0);
	dev_spi_write(0x2d0,0x40);
	dev_spi_write(0x2d1,0x19);
	dev_spi_write(0x2d2,0x46);
	dev_spi_write(0x2d3,0x68);
	dev_spi_write(0x2d4,0x0);
	dev_spi_write(0x2d5,0x68);
	dev_spi_write(0x2d6,0x8);
	dev_spi_write(0x2d7,0xeb);
	dev_spi_write(0x2d8,0x8e);
	dev_spi_write(0x2d9,0x8);
	dev_spi_write(0x2da,0x4);
	dev_spi_write(0x2db,0xfb);
	dev_spi_write(0x2dc,0x6);
	dev_spi_write(0x2dd,0x0);
	dev_spi_write(0x2de,0xc8);
	dev_spi_write(0x2df,0xf8);
	dev_spi_write(0x2e0,0x50);
	dev_spi_write(0x2e1,0x3);
	dev_spi_write(0x2e2,0x5b);
	dev_spi_write(0x2e3,0x1c);
	dev_spi_write(0x2e4,0x4);
	dev_spi_write(0x2e5,0x2b);
	dev_spi_write(0x2e6,0xea);
	dev_spi_write(0x2e7,0xd3);
	dev_spi_write(0x2e8,0x48);
	dev_spi_write(0x2e9,0x68);
	dev_spi_write(0x2ea,0x80);
	dev_spi_write(0x2eb,0x8);
	dev_spi_write(0x2ec,0x2);
	dev_spi_write(0x2ed,0xd0);
	dev_spi_write(0x2ee,0x0);
	dev_spi_write(0x2ef,0xbf);
	dev_spi_write(0x2f0,0x40);
	dev_spi_write(0x2f1,0x1e);
	dev_spi_write(0x2f2,0xfc);
	dev_spi_write(0x2f3,0xd1);
	dev_spi_write(0x2f4,0xbd);
	dev_spi_write(0x2f5,0xe8);
	dev_spi_write(0x2f6,0xf0);
	dev_spi_write(0x2f7,0x81);
	dev_spi_write(0x2f8,0x2c);
	dev_spi_write(0x2f9,0x22);
	dev_spi_write(0x2fa,0x1);
	dev_spi_write(0x2fb,0x20);
	dev_spi_write(0x2fc,0xbc);
	dev_spi_write(0x2fd,0x77);
	dev_spi_write(0x2fe,0x2);
	dev_spi_write(0x2ff,0x0);
	dev_spi_write(0x300,0xbc);
	dev_spi_write(0x301,0x23);
	dev_spi_write(0x302,0x1);
	dev_spi_write(0x303,0x20);
	dev_spi_write(0x304,0x74);
	dev_spi_write(0x305,0x23);
	dev_spi_write(0x306,0x1);
	dev_spi_write(0x307,0x20);
	dev_spi_write(0x308,0xfc);
	dev_spi_write(0x309,0x22);
	dev_spi_write(0x30a,0x1);
	dev_spi_write(0x30b,0x20);
	dev_spi_write(0x30c,0x2d);
	dev_spi_write(0x30d,0xe9);
	dev_spi_write(0x30e,0xf0);
	dev_spi_write(0x30f,0x41);
	dev_spi_write(0x310,0xd);
	dev_spi_write(0x311,0x46);
	dev_spi_write(0x312,0x5e);
	dev_spi_write(0x313,0x49);
	dev_spi_write(0x314,0x4);
	dev_spi_write(0x315,0x46);
	dev_spi_write(0x316,0x1e);
	dev_spi_write(0x317,0x46);
	dev_spi_write(0x318,0xa3);
	dev_spi_write(0x319,0x0);
	dev_spi_write(0x31a,0x8);
	dev_spi_write(0x31b,0x46);
	dev_spi_write(0x31c,0xc7);
	dev_spi_write(0x31d,0x5c);
	dev_spi_write(0x31e,0xc9);
	dev_spi_write(0x31f,0x18);
	dev_spi_write(0x320,0xbd);
	dev_spi_write(0x321,0x42);
	dev_spi_write(0x322,0x8);
	dev_spi_write(0x323,0xd0);
	dev_spi_write(0x324,0x89);
	dev_spi_write(0x325,0x78);
	dev_spi_write(0x326,0x8d);
	dev_spi_write(0x327,0x42);
	dev_spi_write(0x328,0x18);
	dev_spi_write(0x329,0xbf);
	dev_spi_write(0x32a,0x4);
	dev_spi_write(0x32b,0x27);
	dev_spi_write(0x32c,0x14);
	dev_spi_write(0x32d,0xd1);
	dev_spi_write(0x32e,0x1);
	dev_spi_write(0x32f,0x21);
	dev_spi_write(0x330,0x1);
	dev_spi_write(0x331,0xeb);
	dev_spi_write(0x332,0x44);
	dev_spi_write(0x333,0x1);
	dev_spi_write(0x334,0x0);
	dev_spi_write(0x335,0xe0);
	dev_spi_write(0x336,0x61);
	dev_spi_write(0x337,0x0);
	dev_spi_write(0x338,0xcf);
	dev_spi_write(0x339,0xb2);
	dev_spi_write(0x33a,0x4);
	dev_spi_write(0x33b,0x2f);
	dev_spi_write(0x33c,0xc);
	dev_spi_write(0x33d,0xd0);
	dev_spi_write(0x33e,0x54);
	dev_spi_write(0x33f,0x49);
	dev_spi_write(0x340,0x0);
	dev_spi_write(0x341,0xeb);
	dev_spi_write(0x342,0x47);
	dev_spi_write(0x343,0x0);
	dev_spi_write(0x344,0xa);
	dev_spi_write(0x345,0x5d);
	dev_spi_write(0x346,0x41);
	dev_spi_write(0x347,0x78);
	dev_spi_write(0x348,0x90);
	dev_spi_write(0x349,0x46);
	dev_spi_write(0x34a,0x4);
	dev_spi_write(0x34b,0x29);
	dev_spi_write(0x34c,0x5);
	dev_spi_write(0x34d,0xd0);
	dev_spi_write(0x34e,0x33);
	dev_spi_write(0x34f,0x46);
	dev_spi_write(0x350,0x20);
	dev_spi_write(0x351,0x46);
	dev_spi_write(0x352,0xdd);
	dev_spi_write(0x353,0xf7);
	dev_spi_write(0x354,0x7d);
	dev_spi_write(0x355,0xf9);
	dev_spi_write(0x356,0x0);
	dev_spi_write(0x357,0xe0);
	dev_spi_write(0x358,0x90);
	dev_spi_write(0x359,0x46);
	dev_spi_write(0x35a,0x20);
	dev_spi_write(0x35b,0x46);
	dev_spi_write(0x35c,0x29);
	dev_spi_write(0x35d,0x46);
	dev_spi_write(0x35e,0x33);
	dev_spi_write(0x35f,0x46);
	dev_spi_write(0x360,0x42);
	dev_spi_write(0x361,0x46);
	dev_spi_write(0x362,0xdd);
	dev_spi_write(0x363,0xf7);
	dev_spi_write(0x364,0x75);
	dev_spi_write(0x365,0xf9);
	dev_spi_write(0x366,0x4);
	dev_spi_write(0x367,0x2f);
	dev_spi_write(0x368,0x10);
	dev_spi_write(0x369,0xd0);
	dev_spi_write(0x36a,0x4b);
	dev_spi_write(0x36b,0x4b);
	dev_spi_write(0x36c,0x49);
	dev_spi_write(0x36d,0x49);
	dev_spi_write(0x36e,0xc);
	dev_spi_write(0x36f,0x20);
	dev_spi_write(0x370,0x14);
	dev_spi_write(0x371,0xfb);
	dev_spi_write(0x372,0x0);
	dev_spi_write(0x373,0xf0);
	dev_spi_write(0x374,0x0);
	dev_spi_write(0x375,0xeb);
	dev_spi_write(0x376,0x85);
	dev_spi_write(0x377,0x2);
	dev_spi_write(0x378,0x13);
	dev_spi_write(0x379,0xf8);
	dev_spi_write(0x37a,0x17);
	dev_spi_write(0x37b,0x30);
	dev_spi_write(0x37c,0x8a);
	dev_spi_write(0x37d,0x58);
	dev_spi_write(0x37e,0x0);
	dev_spi_write(0x37f,0xeb);
	dev_spi_write(0x380,0x83);
	dev_spi_write(0x381,0x0);
	dev_spi_write(0x382,0x92);
	dev_spi_write(0x383,0xf8);
	dev_spi_write(0x384,0x2);
	dev_spi_write(0x385,0x26);
	dev_spi_write(0x386,0x8);
	dev_spi_write(0x387,0x58);
	dev_spi_write(0x388,0x80);
	dev_spi_write(0x389,0xf8);
	dev_spi_write(0x38a,0x2);
	dev_spi_write(0x38b,0x26);
	dev_spi_write(0x38c,0xbd);
	dev_spi_write(0x38d,0xe8);
	dev_spi_write(0x38e,0xf0);
	dev_spi_write(0x38f,0x81);
	dev_spi_write(0x390,0xf8);
	dev_spi_write(0x391,0xb5);
	dev_spi_write(0x392,0x42);
	dev_spi_write(0x393,0x4b);
	dev_spi_write(0x394,0x4f);
	dev_spi_write(0x395,0xf4);
	dev_spi_write(0x396,0x25);
	dev_spi_write(0x397,0x74);
	dev_spi_write(0x398,0xdc);
	dev_spi_write(0x399,0x22);
	dev_spi_write(0x39a,0x10);
	dev_spi_write(0x39b,0xfb);
	dev_spi_write(0x39c,0x4);
	dev_spi_write(0x39d,0xf4);
	dev_spi_write(0x39e,0x11);
	dev_spi_write(0x39f,0xfb);
	dev_spi_write(0x3a0,0x2);
	dev_spi_write(0x3a1,0x42);
	dev_spi_write(0x3a2,0x3f);
	dev_spi_write(0x3a3,0x4c);
	dev_spi_write(0x3a4,0xd2);
	dev_spi_write(0x3a5,0x18);
	dev_spi_write(0x3a6,0x92);
	dev_spi_write(0x3a7,0xf8);
	dev_spi_write(0x3a8,0xbc);
	dev_spi_write(0x3a9,0x60);
	dev_spi_write(0x3aa,0x1);
	dev_spi_write(0x3ab,0x2e);
	dev_spi_write(0x3ac,0x10);
	dev_spi_write(0x3ad,0xd1);
	dev_spi_write(0x3ae,0x3d);
	dev_spi_write(0x3af,0x4d);
	dev_spi_write(0x3b0,0x92);
	dev_spi_write(0x3b1,0xf9);
	dev_spi_write(0x3b2,0xc4);
	dev_spi_write(0x3b3,0x70);
	dev_spi_write(0x3b4,0x3);
	dev_spi_write(0x3b5,0x23);
	dev_spi_write(0x3b6,0x10);
	dev_spi_write(0x3b7,0xfb);
	dev_spi_write(0x3b8,0x3);
	dev_spi_write(0x3b9,0x13);
	dev_spi_write(0x3ba,0xea);
	dev_spi_write(0x3bb,0x56);
	dev_spi_write(0x3bc,0x25);
	dev_spi_write(0x3bd,0x78);
	dev_spi_write(0x3be,0x23);
	dev_spi_write(0x3bf,0x46);
	dev_spi_write(0x3c0,0xa2);
	dev_spi_write(0x3c1,0xeb);
	dev_spi_write(0x3c2,0x47);
	dev_spi_write(0x3c3,0x2);
	dev_spi_write(0x3c4,0x52);
	dev_spi_write(0x3c5,0x19);
	dev_spi_write(0x3c6,0x52);
	dev_spi_write(0x3c7,0xb2);
	dev_spi_write(0x3c8,0x0);
	dev_spi_write(0x3c9,0x2a);
	dev_spi_write(0x3ca,0x48);
	dev_spi_write(0x3cb,0xbf);
	dev_spi_write(0x3cc,0x0);
	dev_spi_write(0x3cd,0x22);
	dev_spi_write(0x3ce,0x1a);
	dev_spi_write(0x3cf,0x70);
	dev_spi_write(0x3d0,0xdd);
	dev_spi_write(0x3d1,0xf7);
	dev_spi_write(0x3d2,0x6c);
	dev_spi_write(0x3d3,0xfd);
	dev_spi_write(0x3d4,0x1);
	dev_spi_write(0x3d5,0x2e);
	dev_spi_write(0x3d6,0x8);
	dev_spi_write(0x3d7,0xbf);
	dev_spi_write(0x3d8,0x25);
	dev_spi_write(0x3d9,0x70);
	dev_spi_write(0x3da,0xf8);
	dev_spi_write(0x3db,0xbd);
	dev_spi_write(0x3dc,0x70);
	dev_spi_write(0x3dd,0xb5);
	dev_spi_write(0x3de,0x5);
	dev_spi_write(0x3df,0x46);
	dev_spi_write(0x3e0,0xc);
	dev_spi_write(0x3e1,0x46);
	dev_spi_write(0x3e2,0xdd);
	dev_spi_write(0x3e3,0xf7);
	dev_spi_write(0x3e4,0xe5);
	dev_spi_write(0x3e5,0xfd);
	dev_spi_write(0x3e6,0x2d);
	dev_spi_write(0x3e7,0x4b);
	dev_spi_write(0x3e8,0x2a);
	dev_spi_write(0x3e9,0x4a);
	dev_spi_write(0x3ea,0x4f);
	dev_spi_write(0x3eb,0xf4);
	dev_spi_write(0x3ec,0x25);
	dev_spi_write(0x3ed,0x76);
	dev_spi_write(0x3ee,0x15);
	dev_spi_write(0x3ef,0xfb);
	dev_spi_write(0x3f0,0x6);
	dev_spi_write(0x3f1,0xf6);
	dev_spi_write(0x3f2,0xc);
	dev_spi_write(0x3f3,0x21);
	dev_spi_write(0x3f4,0xdc);
	dev_spi_write(0x3f5,0x20);
	dev_spi_write(0x3f6,0x15);
	dev_spi_write(0x3f7,0xfb);
	dev_spi_write(0x3f8,0x1);
	dev_spi_write(0x3f9,0xf1);
	dev_spi_write(0x3fa,0x14);
	dev_spi_write(0x3fb,0xfb);
	dev_spi_write(0x3fc,0x0);
	dev_spi_write(0x3fd,0x60);
	dev_spi_write(0x3fe,0x1);
	dev_spi_write(0x3ff,0xeb);
	dev_spi_write(0x400,0x84);
	dev_spi_write(0x401,0x1);
	dev_spi_write(0x402,0xc0);
	dev_spi_write(0x403,0x18);
	dev_spi_write(0x404,0x54);
	dev_spi_write(0x405,0x58);
	dev_spi_write(0x406,0x90);
	dev_spi_write(0x407,0xf8);
	dev_spi_write(0x408,0x42);
	dev_spi_write(0x409,0x10);
	dev_spi_write(0x40a,0x90);
	dev_spi_write(0x40b,0xf8);
	dev_spi_write(0x40c,0x74);
	dev_spi_write(0x40d,0x20);
	dev_spi_write(0x40e,0xd4);
	dev_spi_write(0x40f,0xf8);
	dev_spi_write(0x410,0x3c);
	dev_spi_write(0x411,0x66);
	dev_spi_write(0x412,0x52);
	dev_spi_write(0x413,0x18);
	dev_spi_write(0x414,0x92);
	dev_spi_write(0x415,0x1e);
	dev_spi_write(0x416,0x6);
	dev_spi_write(0x417,0x21);
	dev_spi_write(0x418,0xd2);
	dev_spi_write(0x419,0xb2);
	dev_spi_write(0x41a,0xd);
	dev_spi_write(0x41b,0x46);
	dev_spi_write(0x41c,0xb2);
	dev_spi_write(0x41d,0xfb);
	dev_spi_write(0x41e,0xf1);
	dev_spi_write(0x41f,0xf1);
	dev_spi_write(0x420,0x11);
	dev_spi_write(0x421,0xfb);
	dev_spi_write(0x422,0x5);
	dev_spi_write(0x423,0xf3);
	dev_spi_write(0x424,0xd2);
	dev_spi_write(0x425,0x1a);
	dev_spi_write(0x426,0x6f);
	dev_spi_write(0x427,0xf0);
	dev_spi_write(0x428,0x2);
	dev_spi_write(0x429,0x3);
	dev_spi_write(0x42a,0xd2);
	dev_spi_write(0x42b,0xb2);
	dev_spi_write(0x42c,0x9b);
	dev_spi_write(0x42d,0x1a);
	dev_spi_write(0x42e,0x63);
	dev_spi_write(0x42f,0xf3);
	dev_spi_write(0x430,0x12);
	dev_spi_write(0x431,0x46);
	dev_spi_write(0x432,0xc4);
	dev_spi_write(0x433,0xf8);
	dev_spi_write(0x434,0x3c);
	dev_spi_write(0x435,0x66);
	dev_spi_write(0x436,0x90);
	dev_spi_write(0x437,0xf8);
	dev_spi_write(0x438,0x42);
	dev_spi_write(0x439,0x0);
	dev_spi_write(0x43a,0xd4);
	dev_spi_write(0x43b,0xf8);
	dev_spi_write(0x43c,0x3c);
	dev_spi_write(0x43d,0x26);
	dev_spi_write(0x43e,0x0);
	dev_spi_write(0x43f,0x1d);
	dev_spi_write(0x440,0x90);
	dev_spi_write(0x441,0xfb);
	dev_spi_write(0x442,0xf5);
	dev_spi_write(0x443,0xf3);
	dev_spi_write(0x444,0x4f);
	dev_spi_write(0x445,0xf4);
	dev_spi_write(0x446,0x0);
	dev_spi_write(0x447,0x20);
	dev_spi_write(0x448,0xc9);
	dev_spi_write(0x449,0x1a);
	dev_spi_write(0x44a,0x0);
	dev_spi_write(0x44b,0xeb);
	dev_spi_write(0x44c,0xc1);
	dev_spi_write(0x44d,0x40);
	dev_spi_write(0x44e,0xc0);
	dev_spi_write(0x44f,0xc);
	dev_spi_write(0x450,0x60);
	dev_spi_write(0x451,0xf3);
	dev_spi_write(0x452,0xd7);
	dev_spi_write(0x453,0x42);
	dev_spi_write(0x454,0xc4);
	dev_spi_write(0x455,0xf8);
	dev_spi_write(0x456,0x3c);
	dev_spi_write(0x457,0x26);
	dev_spi_write(0x458,0x70);
	dev_spi_write(0x459,0xbd);
	dev_spi_write(0x45a,0x38);
	dev_spi_write(0x45b,0xb5);
	dev_spi_write(0x45c,0xf);
	dev_spi_write(0x45d,0x4a);
	dev_spi_write(0x45e,0x12);
	dev_spi_write(0x45f,0x4c);
	dev_spi_write(0x460,0x4f);
	dev_spi_write(0x461,0xf4);
	dev_spi_write(0x462,0x25);
	dev_spi_write(0x463,0x75);
	dev_spi_write(0x464,0xdc);
	dev_spi_write(0x465,0x23);
	dev_spi_write(0x466,0x10);
	dev_spi_write(0x467,0xfb);
	dev_spi_write(0x468,0x5);
	dev_spi_write(0x469,0xf5);
	dev_spi_write(0x46a,0xb1);
	dev_spi_write(0x46b,0x32);
	dev_spi_write(0x46c,0x11);
	dev_spi_write(0x46d,0xfb);
	dev_spi_write(0x46e,0x3);
	dev_spi_write(0x46f,0x53);
	dev_spi_write(0x470,0xd2);
	dev_spi_write(0x471,0x5c);
	dev_spi_write(0x472,0x94);
	dev_spi_write(0x473,0xf9);
	dev_spi_write(0x474,0x1);
	dev_spi_write(0x475,0x50);
	dev_spi_write(0x476,0x3);
	dev_spi_write(0x477,0x2a);
	dev_spi_write(0x478,0x3);
	dev_spi_write(0x479,0xd0);
	dev_spi_write(0x47a,0x94);
	dev_spi_write(0x47b,0xf9);
	dev_spi_write(0x47c,0x1);
	dev_spi_write(0x47d,0x20);
	dev_spi_write(0x47e,0x92);
	dev_spi_write(0x47f,0x1f);
	dev_spi_write(0x480,0x62);
	dev_spi_write(0x481,0x70);
	dev_spi_write(0x482,0xdd);
	dev_spi_write(0x483,0xf7);
	dev_spi_write(0x484,0xdb);
	dev_spi_write(0x485,0xff);
	dev_spi_write(0x486,0x65);
	dev_spi_write(0x487,0x70);
	dev_spi_write(0x488,0x38);
	dev_spi_write(0x489,0xbd);
	dev_spi_write(0x48a,0xc0);
	dev_spi_write(0x48b,0x46);
	dev_spi_write(0x48c,0xfe);
	dev_spi_write(0x48d,0xd5);
	dev_spi_write(0x48e,0x0);
	dev_spi_write(0x48f,0x20);
	dev_spi_write(0x490,0xb6);
	dev_spi_write(0x491,0x1);
	dev_spi_write(0x492,0x1);
	dev_spi_write(0x493,0x20);
	dev_spi_write(0x494,0xa8);
	dev_spi_write(0x495,0x75);
	dev_spi_write(0x496,0x2);
	dev_spi_write(0x497,0x0);
	dev_spi_write(0x498,0x6);
	dev_spi_write(0x499,0xd6);
	dev_spi_write(0x49a,0x0);
	dev_spi_write(0x49b,0x20);
	dev_spi_write(0x49c,0xe0);
	dev_spi_write(0x49d,0xab);
	dev_spi_write(0x49e,0x0);
	dev_spi_write(0x49f,0x20);
	dev_spi_write(0x4a0,0x24);
	dev_spi_write(0x4a1,0x1f);
	dev_spi_write(0x4a2,0x1);
	dev_spi_write(0x4a3,0x20);
	dev_spi_write(0x4a4,0x8c);
	dev_spi_write(0x4a5,0x23);
	dev_spi_write(0x4a6,0x1);
	dev_spi_write(0x4a7,0x20);
	dev_spi_write(0x4a8,0x36);
	dev_spi_write(0x4a9,0xd6);
	dev_spi_write(0x4aa,0x0);
	dev_spi_write(0x4ab,0x20);
	dev_spi_write(0x4ac,0xf8);
	dev_spi_write(0x4ad,0xb5);
	dev_spi_write(0x4ae,0x17);
	dev_spi_write(0x4af,0x46);
	dev_spi_write(0x4b0,0x5f);
	dev_spi_write(0x4b1,0x4a);
	dev_spi_write(0x4b2,0x6);
	dev_spi_write(0x4b3,0x46);
	dev_spi_write(0x4b4,0x5b);
	dev_spi_write(0x4b5,0x1d);
	dev_spi_write(0x4b6,0x4f);
	dev_spi_write(0x4b7,0xf0);
	dev_spi_write(0x4b8,0x2);
	dev_spi_write(0x4b9,0xc);
	dev_spi_write(0x4ba,0x8);
	dev_spi_write(0x4bb,0x46);
	dev_spi_write(0x4bc,0x0);
	dev_spi_write(0x4bd,0x2f);
	dev_spi_write(0x4be,0x5f);
	dev_spi_write(0x4bf,0xfa);
	dev_spi_write(0x4c0,0x83);
	dev_spi_write(0x4c1,0xfe);
	dev_spi_write(0x4c2,0xc0);
	dev_spi_write(0x4c3,0xf2);
	dev_spi_write(0x4c4,0x0);
	dev_spi_write(0x4c5,0xc);
	dev_spi_write(0x4c6,0x4a);
	dev_spi_write(0x4c7,0xd1);
	dev_spi_write(0x4c8,0x58);
	dev_spi_write(0x4c9,0x4b);
	dev_spi_write(0x4ca,0x15);
	dev_spi_write(0x4cb,0x21);
	dev_spi_write(0x4cc,0x11);
	dev_spi_write(0x4cd,0xfb);
	dev_spi_write(0x4ce,0x0);
	dev_spi_write(0x4cf,0xf1);
	dev_spi_write(0x4d0,0x5b);
	dev_spi_write(0x4d1,0x5c);
	dev_spi_write(0x4d2,0x0);
	dev_spi_write(0x4d3,0x25);
	dev_spi_write(0x4d4,0xc3);
	dev_spi_write(0x4d5,0xf3);
	dev_spi_write(0x4d6,0x40);
	dev_spi_write(0x4d7,0x4);
	dev_spi_write(0x4d8,0x3);
	dev_spi_write(0x4d9,0xf0);
	dev_spi_write(0x4da,0x1);
	dev_spi_write(0x4db,0x1);
	dev_spi_write(0x4dc,0xc1);
	dev_spi_write(0x4dd,0xf1);
	dev_spi_write(0x4de,0x3);
	dev_spi_write(0x4df,0x1);
	dev_spi_write(0x4e0,0xc3);
	dev_spi_write(0x4e1,0xf3);
	dev_spi_write(0x4e2,0x80);
	dev_spi_write(0x4e3,0x3);
	dev_spi_write(0x4e4,0x9);
	dev_spi_write(0x4e5,0x1b);
	dev_spi_write(0x4e6,0xc9);
	dev_spi_write(0x4e7,0x1a);
	dev_spi_write(0x4e8,0xc9);
	dev_spi_write(0x4e9,0xb2);
	dev_spi_write(0x4ea,0x2);
	dev_spi_write(0x4eb,0x29);
	dev_spi_write(0x4ec,0xa8);
	dev_spi_write(0x4ed,0xbf);
	dev_spi_write(0x4ee,0x1);
	dev_spi_write(0x4ef,0x25);
	dev_spi_write(0x4f0,0x1);
	dev_spi_write(0x4f1,0x24);
	dev_spi_write(0x4f2,0x1);
	dev_spi_write(0x4f3,0x2e);
	dev_spi_write(0x4f4,0x1c);
	dev_spi_write(0x4f5,0xbf);
	dev_spi_write(0x4f6,0x0);
	dev_spi_write(0x4f7,0x2d);
	dev_spi_write(0x4f8,0x0);
	dev_spi_write(0x4f9,0x24);
	dev_spi_write(0x4fa,0x0);
	dev_spi_write(0x4fb,0x23);
	dev_spi_write(0x4fc,0x0);
	dev_spi_write(0x4fd,0x2e);
	dev_spi_write(0x4fe,0x1c);
	dev_spi_write(0x4ff,0xbf);
	dev_spi_write(0x500,0x0);
	dev_spi_write(0x501,0x2d);
	dev_spi_write(0x502,0x1);
	dev_spi_write(0x503,0x23);
	dev_spi_write(0x504,0x83);
	dev_spi_write(0x505,0xf0);
	dev_spi_write(0x506,0x1);
	dev_spi_write(0x507,0x3);
	dev_spi_write(0x508,0x7c);
	dev_spi_write(0x509,0xb1);
	dev_spi_write(0x50a,0x81);
	dev_spi_write(0x50b,0x0);
	dev_spi_write(0x50c,0x1);
	dev_spi_write(0x50d,0xeb);
	dev_spi_write(0x50e,0xc0);
	dev_spi_write(0x50f,0x1);
	dev_spi_write(0x510,0x1);
	dev_spi_write(0x511,0xeb);
	dev_spi_write(0x512,0x87);
	dev_spi_write(0x513,0x1);
	dev_spi_write(0x514,0x51);
	dev_spi_write(0x515,0x58);
	dev_spi_write(0x516,0x0);
	dev_spi_write(0x517,0x25);
	dev_spi_write(0x518,0x81);
	dev_spi_write(0x519,0xf8);
	dev_spi_write(0x51a,0x64);
	dev_spi_write(0x51b,0x5d);
	dev_spi_write(0x51c,0x66);
	dev_spi_write(0x51d,0x46);
	dev_spi_write(0x51e,0x76);
	dev_spi_write(0x51f,0x1e);
	dev_spi_write(0x520,0xfd);
	dev_spi_write(0x521,0xd1);
	dev_spi_write(0x522,0x0);
	dev_spi_write(0x523,0xbf);
	dev_spi_write(0x524,0x0);
	dev_spi_write(0x525,0xbf);
	dev_spi_write(0x526,0x81);
	dev_spi_write(0x527,0xf8);
	dev_spi_write(0x528,0x66);
	dev_spi_write(0x529,0x5d);
	dev_spi_write(0x52a,0x81);
	dev_spi_write(0x52b,0x0);
	dev_spi_write(0x52c,0x1);
	dev_spi_write(0x52d,0xeb);
	dev_spi_write(0x52e,0xc0);
	dev_spi_write(0x52f,0x1);
	dev_spi_write(0x530,0x1);
	dev_spi_write(0x531,0xeb);
	dev_spi_write(0x532,0x87);
	dev_spi_write(0x533,0x1);
	dev_spi_write(0x534,0x50);
	dev_spi_write(0x535,0x58);
	dev_spi_write(0x536,0x0);
	dev_spi_write(0x537,0x21);
	dev_spi_write(0x538,0x43);
	dev_spi_write(0x539,0xb1);
	dev_spi_write(0x53a,0x80);
	dev_spi_write(0x53b,0xf8);
	dev_spi_write(0x53c,0x84);
	dev_spi_write(0x53d,0x1d);
	dev_spi_write(0x53e,0x62);
	dev_spi_write(0x53f,0x46);
	dev_spi_write(0x540,0x52);
	dev_spi_write(0x541,0x1e);
	dev_spi_write(0x542,0xfd);
	dev_spi_write(0x543,0xd1);
	dev_spi_write(0x544,0x0);
	dev_spi_write(0x545,0xbf);
	dev_spi_write(0x546,0x0);
	dev_spi_write(0x547,0xbf);
	dev_spi_write(0x548,0x80);
	dev_spi_write(0x549,0xf8);
	dev_spi_write(0x54a,0x86);
	dev_spi_write(0x54b,0x1d);
	dev_spi_write(0x54c,0x80);
	dev_spi_write(0x54d,0xf8);
	dev_spi_write(0x54e,0x62);
	dev_spi_write(0x54f,0x1d);
	dev_spi_write(0x550,0xc);
	dev_spi_write(0x551,0xb1);
	dev_spi_write(0x552,0x80);
	dev_spi_write(0x553,0xf8);
	dev_spi_write(0x554,0x88);
	dev_spi_write(0x555,0xe1);
	dev_spi_write(0x556,0xb);
	dev_spi_write(0x557,0xb1);
	dev_spi_write(0x558,0x80);
	dev_spi_write(0x559,0xf8);
	dev_spi_write(0x55a,0x8c);
	dev_spi_write(0x55b,0xe1);
	dev_spi_write(0x55c,0x19);
	dev_spi_write(0x55d,0xe0);
	dev_spi_write(0x55e,0x81);
	dev_spi_write(0x55f,0x0);
	dev_spi_write(0x560,0x1);
	dev_spi_write(0x561,0xeb);
	dev_spi_write(0x562,0xc0);
	dev_spi_write(0x563,0x1);
	dev_spi_write(0x564,0x1);
	dev_spi_write(0x565,0xeb);
	dev_spi_write(0x566,0x87);
	dev_spi_write(0x567,0x1);
	dev_spi_write(0x568,0x50);
	dev_spi_write(0x569,0x58);
	dev_spi_write(0x56a,0x0);
	dev_spi_write(0x56b,0x21);
	dev_spi_write(0x56c,0x80);
	dev_spi_write(0x56d,0xf8);
	dev_spi_write(0x56e,0x64);
	dev_spi_write(0x56f,0x1d);
	dev_spi_write(0x570,0x62);
	dev_spi_write(0x571,0x46);
	dev_spi_write(0x572,0x52);
	dev_spi_write(0x573,0x1e);
	dev_spi_write(0x574,0xfd);
	dev_spi_write(0x575,0xd1);
	dev_spi_write(0x576,0x0);
	dev_spi_write(0x577,0xbf);
	dev_spi_write(0x578,0x0);
	dev_spi_write(0x579,0xbf);
	dev_spi_write(0x57a,0x80);
	dev_spi_write(0x57b,0xf8);
	dev_spi_write(0x57c,0x66);
	dev_spi_write(0x57d,0x1d);
	dev_spi_write(0x57e,0x80);
	dev_spi_write(0x57f,0xf8);
	dev_spi_write(0x580,0x74);
	dev_spi_write(0x581,0x1d);
	dev_spi_write(0x582,0x80);
	dev_spi_write(0x583,0xf8);
	dev_spi_write(0x584,0x76);
	dev_spi_write(0x585,0x1d);
	dev_spi_write(0x586,0x80);
	dev_spi_write(0x587,0xf8);
	dev_spi_write(0x588,0x62);
	dev_spi_write(0x589,0x1d);
	dev_spi_write(0x58a,0x80);
	dev_spi_write(0x58b,0xf8);
	dev_spi_write(0x58c,0x88);
	dev_spi_write(0x58d,0xe1);
	dev_spi_write(0x58e,0x80);
	dev_spi_write(0x58f,0xf8);
	dev_spi_write(0x590,0x88);
	dev_spi_write(0x591,0xe2);
	dev_spi_write(0x592,0x80);
	dev_spi_write(0x593,0xf8);
	dev_spi_write(0x594,0x60);
	dev_spi_write(0x595,0x1d);
	dev_spi_write(0x596,0x62);
	dev_spi_write(0x597,0x46);
	dev_spi_write(0x598,0x52);
	dev_spi_write(0x599,0x1e);
	dev_spi_write(0x59a,0xfd);
	dev_spi_write(0x59b,0xd1);
	dev_spi_write(0x59c,0x0);
	dev_spi_write(0x59d,0xbf);
	dev_spi_write(0x59e,0x0);
	dev_spi_write(0x59f,0xbf);
	dev_spi_write(0x5a0,0x1);
	dev_spi_write(0x5a1,0x22);
	dev_spi_write(0x5a2,0x80);
	dev_spi_write(0x5a3,0xf8);
	dev_spi_write(0x5a4,0x60);
	dev_spi_write(0x5a5,0x2d);
	dev_spi_write(0x5a6,0xbc);
	dev_spi_write(0x5a7,0xf1);
	dev_spi_write(0x5a8,0x1);
	dev_spi_write(0x5a9,0xc);
	dev_spi_write(0x5aa,0xfc);
	dev_spi_write(0x5ab,0xd1);
	dev_spi_write(0x5ac,0x0);
	dev_spi_write(0x5ad,0xbf);
	dev_spi_write(0x5ae,0x0);
	dev_spi_write(0x5af,0xbf);
	dev_spi_write(0x5b0,0x80);
	dev_spi_write(0x5b1,0xf8);
	dev_spi_write(0x5b2,0x60);
	dev_spi_write(0x5b3,0x1d);
	dev_spi_write(0x5b4,0xf8);
	dev_spi_write(0x5b5,0xbd);
	dev_spi_write(0x5b6,0x2d);
	dev_spi_write(0x5b7,0xe9);
	dev_spi_write(0x5b8,0xf8);
	dev_spi_write(0x5b9,0x43);
	dev_spi_write(0x5ba,0xdf);
	dev_spi_write(0x5bb,0xf8);
	dev_spi_write(0x5bc,0x78);
	dev_spi_write(0x5bd,0x80);
	dev_spi_write(0x5be,0xdf);
	dev_spi_write(0x5bf,0xf8);
	dev_spi_write(0x5c0,0x78);
	dev_spi_write(0x5c1,0x90);
	dev_spi_write(0x5c2,0x6);
	dev_spi_write(0x5c3,0x46);
	dev_spi_write(0x5c4,0x0);
	dev_spi_write(0x5c5,0x25);
	dev_spi_write(0x5c6,0x3);
	dev_spi_write(0x5c7,0x24);
	dev_spi_write(0x5c8,0x77);
	dev_spi_write(0x5c9,0x0);
	dev_spi_write(0x5ca,0x78);
	dev_spi_write(0x5cb,0x19);
	dev_spi_write(0x5cc,0xc0);
	dev_spi_write(0x5cd,0xb2);
	dev_spi_write(0x5ce,0x19);
	dev_spi_write(0x5cf,0xf8);
	dev_spi_write(0x5d0,0x10);
	dev_spi_write(0x5d1,0x20);
	dev_spi_write(0x5d2,0x4);
	dev_spi_write(0x5d3,0x2a);
	dev_spi_write(0x5d4,0xa);
	dev_spi_write(0x5d5,0xd0);
	dev_spi_write(0x5d6,0x16);
	dev_spi_write(0x5d7,0xfb);
	dev_spi_write(0x5d8,0x4);
	dev_spi_write(0x5d9,0x50);
	dev_spi_write(0x5da,0x40);
	dev_spi_write(0x5db,0x44);
	dev_spi_write(0x5dc,0x90);
	dev_spi_write(0x5dd,0xf9);
	dev_spi_write(0x5de,0x1);
	dev_spi_write(0x5df,0x30);
	dev_spi_write(0x5e0,0x7f);
	dev_spi_write(0x5e1,0x2b);
	dev_spi_write(0x5e2,0x3);
	dev_spi_write(0x5e3,0xd0);
	dev_spi_write(0x5e4,0x31);
	dev_spi_write(0x5e5,0x46);
	dev_spi_write(0x5e6,0x1);
	dev_spi_write(0x5e7,0x20);
	dev_spi_write(0x5e8,0xff);
	dev_spi_write(0x5e9,0xf7);
	dev_spi_write(0x5ea,0x60);
	dev_spi_write(0x5eb,0xff);
	dev_spi_write(0x5ec,0x6d);
	dev_spi_write(0x5ed,0x1c);
	dev_spi_write(0x5ee,0x2);
	dev_spi_write(0x5ef,0x2d);
	dev_spi_write(0x5f0,0xeb);
	dev_spi_write(0x5f1,0xdb);
	dev_spi_write(0x5f2,0x12);
	dev_spi_write(0x5f3,0x48);
	dev_spi_write(0x5f4,0xc2);
	dev_spi_write(0x5f5,0x5d);
	dev_spi_write(0x5f6,0x4);
	dev_spi_write(0x5f7,0x2a);
	dev_spi_write(0x5f8,0x9);
	dev_spi_write(0x5f9,0xd0);
	dev_spi_write(0x5fa,0x16);
	dev_spi_write(0x5fb,0xfb);
	dev_spi_write(0x5fc,0x4);
	dev_spi_write(0x5fd,0xf0);
	dev_spi_write(0x5fe,0x18);
	dev_spi_write(0x5ff,0xf9);
	dev_spi_write(0x600,0x0);
	dev_spi_write(0x601,0x30);
	dev_spi_write(0x602,0x7f);
	dev_spi_write(0x603,0x2b);
	dev_spi_write(0x604,0x3);
	dev_spi_write(0x605,0xd0);
	dev_spi_write(0x606,0x31);
	dev_spi_write(0x607,0x46);
	dev_spi_write(0x608,0x0);
	dev_spi_write(0x609,0x20);
	dev_spi_write(0x60a,0xff);
	dev_spi_write(0x60b,0xf7);
	dev_spi_write(0x60c,0x4f);
	dev_spi_write(0x60d,0xff);
	dev_spi_write(0x60e,0xbd);
	dev_spi_write(0x60f,0xe8);
	dev_spi_write(0x610,0xf8);
	dev_spi_write(0x611,0x83);
	dev_spi_write(0x612,0x8);
	dev_spi_write(0x613,0x4a);
	dev_spi_write(0x614,0x7f);
	dev_spi_write(0x615,0x21);
	dev_spi_write(0x616,0x2);
	dev_spi_write(0x617,0x20);
	dev_spi_write(0x618,0x2);
	dev_spi_write(0x619,0xf8);
	dev_spi_write(0x61a,0x1);
	dev_spi_write(0x61b,0x1b);
	dev_spi_write(0x61c,0x2);
	dev_spi_write(0x61d,0xf8);
	dev_spi_write(0x61e,0x1);
	dev_spi_write(0x61f,0x1b);
	dev_spi_write(0x620,0x40);
	dev_spi_write(0x621,0x1e);
	dev_spi_write(0x622,0x2);
	dev_spi_write(0x623,0xf8);
	dev_spi_write(0x624,0x1);
	dev_spi_write(0x625,0x1b);
	dev_spi_write(0x626,0xf7);
	dev_spi_write(0x627,0xd1);
	dev_spi_write(0x628,0x70);
	dev_spi_write(0x629,0x47);
	dev_spi_write(0x62a,0xc0);
	dev_spi_write(0x62b,0x46);
	dev_spi_write(0x62c,0x32);
	dev_spi_write(0x62d,0xd4);
	dev_spi_write(0x62e,0x0);
	dev_spi_write(0x62f,0x20);
	dev_spi_write(0x630,0xa8);
	dev_spi_write(0x631,0x75);
	dev_spi_write(0x632,0x2);
	dev_spi_write(0x633,0x0);
	dev_spi_write(0x634,0x94);
	dev_spi_write(0x635,0x23);
	dev_spi_write(0x636,0x1);
	dev_spi_write(0x637,0x20);
	dev_spi_write(0x638,0xfe);
	dev_spi_write(0x639,0xd5);
	dev_spi_write(0x63a,0x0);
	dev_spi_write(0x63b,0x20);
	dev_spi_write(0x63c,0x58);
	dev_spi_write(0x63d,0xd6);
	dev_spi_write(0x63e,0x0);
	dev_spi_write(0x63f,0x20);
	dev_spi_write(0x640,0x55);
	dev_spi_write(0x641,0x48);
	dev_spi_write(0x642,0x10);
	dev_spi_write(0x643,0xb5);
	dev_spi_write(0x644,0x0);
	dev_spi_write(0x645,0x78);
	dev_spi_write(0x646,0xc);
	dev_spi_write(0x647,0x46);
	dev_spi_write(0x648,0xfe);
	dev_spi_write(0x649,0xf7);
	dev_spi_write(0x64a,0x17);
	dev_spi_write(0x64b,0xfd);
	dev_spi_write(0x64c,0x0);
	dev_spi_write(0x64d,0x20);
	dev_spi_write(0x64e,0x20);
	dev_spi_write(0x64f,0x70);
	dev_spi_write(0x650,0x10);
	dev_spi_write(0x651,0xbd);
	dev_spi_write(0x652,0x51);
	dev_spi_write(0x653,0x48);
	dev_spi_write(0x654,0x2d);
	dev_spi_write(0x655,0xe9);
	dev_spi_write(0x656,0xf8);
	dev_spi_write(0x657,0x4f);
	dev_spi_write(0x658,0x7);
	dev_spi_write(0x659,0x78);
	dev_spi_write(0x65a,0x51);
	dev_spi_write(0x65b,0x4e);
	dev_spi_write(0x65c,0x4f);
	dev_spi_write(0x65d,0x48);
	dev_spi_write(0x65e,0x0);
	dev_spi_write(0x65f,0x22);
	dev_spi_write(0x660,0xd);
	dev_spi_write(0x661,0x46);
	dev_spi_write(0x662,0x3c);
	dev_spi_write(0x663,0x1);
	dev_spi_write(0x664,0xc6);
	dev_spi_write(0x665,0xeb);
	dev_spi_write(0x666,0x82);
	dev_spi_write(0x667,0x1);
	dev_spi_write(0x668,0xb);
	dev_spi_write(0x669,0x68);
	dev_spi_write(0x66a,0x42);
	dev_spi_write(0x66b,0xf3);
	dev_spi_write(0x66c,0x5d);
	dev_spi_write(0x66d,0xc);
	dev_spi_write(0x66e,0x2);
	dev_spi_write(0x66f,0xf0);
	dev_spi_write(0x670,0x1);
	dev_spi_write(0x671,0x1);
	dev_spi_write(0x672,0x52);
	dev_spi_write(0x673,0x1c);
	dev_spi_write(0x674,0xc9);
	dev_spi_write(0x675,0x0);
	dev_spi_write(0x676,0x4);
	dev_spi_write(0x677,0x2a);
	dev_spi_write(0x678,0x1);
	dev_spi_write(0x679,0xeb);
	dev_spi_write(0x67a,0x8c);
	dev_spi_write(0x67b,0x1);
	dev_spi_write(0x67c,0x21);
	dev_spi_write(0x67d,0x44);
	dev_spi_write(0x67e,0x1);
	dev_spi_write(0x67f,0x44);
	dev_spi_write(0x680,0xcb);
	dev_spi_write(0x681,0x67);
	dev_spi_write(0x682,0xef);
	dev_spi_write(0x683,0xdb);
	dev_spi_write(0x684,0xdf);
	dev_spi_write(0x685,0xf8);
	dev_spi_write(0x686,0x20);
	dev_spi_write(0x687,0x81);
	dev_spi_write(0x688,0x90);
	dev_spi_write(0x689,0xf8);
	dev_spi_write(0x68a,0xc2);
	dev_spi_write(0x68b,0x20);
	dev_spi_write(0x68c,0x45);
	dev_spi_write(0x68d,0x49);
	dev_spi_write(0x68e,0xd8);
	dev_spi_write(0x68f,0xf8);
	dev_spi_write(0x690,0x50);
	dev_spi_write(0x691,0x37);
	dev_spi_write(0x692,0x98);
	dev_spi_write(0x693,0x47);
	dev_spi_write(0x694,0x45);
	dev_spi_write(0x695,0x4a);
	dev_spi_write(0x696,0xd6);
	dev_spi_write(0x697,0x19);
	dev_spi_write(0x698,0xd4);
	dev_spi_write(0x699,0x19);
	dev_spi_write(0x69a,0x42);
	dev_spi_write(0x69b,0x49);
	dev_spi_write(0x69c,0xd8);
	dev_spi_write(0x69d,0xf8);
	dev_spi_write(0x69e,0x68);
	dev_spi_write(0x69f,0x39);
	dev_spi_write(0x6a0,0x30);
	dev_spi_write(0x6a1,0x79);
	dev_spi_write(0x6a2,0x94);
	dev_spi_write(0x6a3,0xf8);
	dev_spi_write(0x6a4,0x0);
	dev_spi_write(0x6a5,0x90);
	dev_spi_write(0x6a6,0x96);
	dev_spi_write(0x6a7,0xf8);
	dev_spi_write(0x6a8,0x8);
	dev_spi_write(0x6a9,0xb0);
	dev_spi_write(0x6aa,0x96);
	dev_spi_write(0x6ab,0xf8);
	dev_spi_write(0x6ac,0xc);
	dev_spi_write(0x6ad,0xa0);
	dev_spi_write(0x6ae,0x0);
	dev_spi_write(0x6af,0x90);
	dev_spi_write(0x6b0,0x38);
	dev_spi_write(0x6b1,0x46);
	dev_spi_write(0x6b2,0x98);
	dev_spi_write(0x6b3,0x47);
	dev_spi_write(0x6b4,0x20);
	dev_spi_write(0x6b5,0x46);
	dev_spi_write(0x6b6,0x1);
	dev_spi_write(0x6b7,0x78);
	dev_spi_write(0x6b8,0x49);
	dev_spi_write(0x6b9,0x45);
	dev_spi_write(0x6ba,0xb);
	dev_spi_write(0x6bb,0xd1);
	dev_spi_write(0x6bc,0x31);
	dev_spi_write(0x6bd,0x79);
	dev_spi_write(0x6be,0x0);
	dev_spi_write(0x6bf,0x9a);
	dev_spi_write(0x6c0,0x91);
	dev_spi_write(0x6c1,0x42);
	dev_spi_write(0x6c2,0x7);
	dev_spi_write(0x6c3,0xd1);
	dev_spi_write(0x6c4,0x31);
	dev_spi_write(0x6c5,0x7a);
	dev_spi_write(0x6c6,0x59);
	dev_spi_write(0x6c7,0x45);
	dev_spi_write(0x6c8,0x4);
	dev_spi_write(0x6c9,0xd1);
	dev_spi_write(0x6ca,0x31);
	dev_spi_write(0x6cb,0x7b);
	dev_spi_write(0x6cc,0x51);
	dev_spi_write(0x6cd,0x45);
	dev_spi_write(0x6ce,0x8);
	dev_spi_write(0x6cf,0xbf);
	dev_spi_write(0x6d0,0x0);
	dev_spi_write(0x6d1,0x24);
	dev_spi_write(0x6d2,0x0);
	dev_spi_write(0x6d3,0xd0);
	dev_spi_write(0x6d4,0x1);
	dev_spi_write(0x6d5,0x24);
	dev_spi_write(0x6d6,0x90);
	dev_spi_write(0x6d7,0xf8);
	dev_spi_write(0x6d8,0xcc);
	dev_spi_write(0x6d9,0x62);
	dev_spi_write(0x6da,0x0);
	dev_spi_write(0x6db,0x2e);
	dev_spi_write(0x6dc,0x3d);
	dev_spi_write(0x6dd,0xd1);
	dev_spi_write(0x6de,0xd8);
	dev_spi_write(0x6df,0xf8);
	dev_spi_write(0x6e0,0x60);
	dev_spi_write(0x6e1,0x29);
	dev_spi_write(0x6e2,0x38);
	dev_spi_write(0x6e3,0x46);
	dev_spi_write(0x6e4,0x29);
	dev_spi_write(0x6e5,0x46);
	dev_spi_write(0x6e6,0x90);
	dev_spi_write(0x6e7,0x47);
	dev_spi_write(0x6e8,0x28);
	dev_spi_write(0x6e9,0x78);
	dev_spi_write(0x6ea,0x0);
	dev_spi_write(0x6eb,0x28);
	dev_spi_write(0x6ec,0x48);
	dev_spi_write(0x6ed,0xd1);
	dev_spi_write(0x6ee,0xd8);
	dev_spi_write(0x6ef,0xf8);
	dev_spi_write(0x6f0,0x70);
	dev_spi_write(0x6f1,0x29);
	dev_spi_write(0x6f2,0x38);
	dev_spi_write(0x6f3,0x46);
	dev_spi_write(0x6f4,0x29);
	dev_spi_write(0x6f5,0x46);
	dev_spi_write(0x6f6,0x90);
	dev_spi_write(0x6f7,0x47);
	dev_spi_write(0x6f8,0x28);
	dev_spi_write(0x6f9,0x78);
	dev_spi_write(0x6fa,0x0);
	dev_spi_write(0x6fb,0x28);
	dev_spi_write(0x6fc,0x40);
	dev_spi_write(0x6fd,0xd1);
	dev_spi_write(0x6fe,0xd8);
	dev_spi_write(0x6ff,0xf8);
	dev_spi_write(0x700,0x38);
	dev_spi_write(0x701,0x26);
	dev_spi_write(0x702,0x38);
	dev_spi_write(0x703,0x46);
	dev_spi_write(0x704,0x29);
	dev_spi_write(0x705,0x46);
	dev_spi_write(0x706,0x90);
	dev_spi_write(0x707,0x47);
	dev_spi_write(0x708,0x28);
	dev_spi_write(0x709,0x78);
	dev_spi_write(0x70a,0x0);
	dev_spi_write(0x70b,0x28);
	dev_spi_write(0x70c,0x38);
	dev_spi_write(0x70d,0xd1);
	dev_spi_write(0x70e,0xd8);
	dev_spi_write(0x70f,0xf8);
	dev_spi_write(0x710,0x3c);
	dev_spi_write(0x711,0x26);
	dev_spi_write(0x712,0x38);
	dev_spi_write(0x713,0x46);
	dev_spi_write(0x714,0x29);
	dev_spi_write(0x715,0x46);
	dev_spi_write(0x716,0x90);
	dev_spi_write(0x717,0x47);
	dev_spi_write(0x718,0x28);
	dev_spi_write(0x719,0x78);
	dev_spi_write(0x71a,0x88);
	dev_spi_write(0x71b,0xbb);
	dev_spi_write(0x71c,0xd8);
	dev_spi_write(0x71d,0xf8);
	dev_spi_write(0x71e,0x50);
	dev_spi_write(0x71f,0x16);
	dev_spi_write(0x720,0x38);
	dev_spi_write(0x721,0x46);
	dev_spi_write(0x722,0x88);
	dev_spi_write(0x723,0x47);
	dev_spi_write(0x724,0xd8);
	dev_spi_write(0x725,0xf8);
	dev_spi_write(0x726,0x54);
	dev_spi_write(0x727,0x16);
	dev_spi_write(0x728,0x38);
	dev_spi_write(0x729,0x46);
	dev_spi_write(0x72a,0x88);
	dev_spi_write(0x72b,0x47);
	dev_spi_write(0x72c,0xd8);
	dev_spi_write(0x72d,0xf8);
	dev_spi_write(0x72e,0x58);
	dev_spi_write(0x72f,0x16);
	dev_spi_write(0x730,0x38);
	dev_spi_write(0x731,0x46);
	dev_spi_write(0x732,0x88);
	dev_spi_write(0x733,0x47);
	dev_spi_write(0x734,0x1e);
	dev_spi_write(0x735,0x48);
	dev_spi_write(0x736,0x0);
	dev_spi_write(0x737,0x78);
	dev_spi_write(0x738,0x10);
	dev_spi_write(0x739,0xb3);
	dev_spi_write(0x73a,0x1);
	dev_spi_write(0x73b,0x28);
	dev_spi_write(0x73c,0x18);
	dev_spi_write(0x73d,0xbf);
	dev_spi_write(0x73e,0x1);
	dev_spi_write(0x73f,0x2c);
	dev_spi_write(0x740,0x1e);
	dev_spi_write(0x741,0xd1);
	dev_spi_write(0x742,0x1c);
	dev_spi_write(0x743,0x48);
	dev_spi_write(0x744,0x3);
	dev_spi_write(0x745,0x88);
	dev_spi_write(0x746,0x0);
	dev_spi_write(0x747,0x21);
	dev_spi_write(0x748,0x1);
	dev_spi_write(0x749,0x26);
	dev_spi_write(0x74a,0xa);
	dev_spi_write(0x74b,0x46);
	dev_spi_write(0x74c,0x6);
	dev_spi_write(0x74d,0xfa);
	dev_spi_write(0x74e,0x7);
	dev_spi_write(0x74f,0xf0);
	dev_spi_write(0x750,0xc0);
	dev_spi_write(0x751,0xb2);
	dev_spi_write(0x752,0xfe);
	dev_spi_write(0x753,0xf7);
	dev_spi_write(0x754,0xd);
	dev_spi_write(0x755,0xff);
	dev_spi_write(0x756,0xbd);
	dev_spi_write(0x757,0xe8);
	dev_spi_write(0x758,0xf8);
	dev_spi_write(0x759,0x8f);
	dev_spi_write(0x75a,0x6a);
	dev_spi_write(0x75b,0x88);
	dev_spi_write(0x75c,0x8);
	dev_spi_write(0x75d,0x23);
	dev_spi_write(0x75e,0x1);
	dev_spi_write(0x75f,0x21);
	dev_spi_write(0x760,0x6c);
	dev_spi_write(0x761,0x68);
	dev_spi_write(0x762,0x2b);
	dev_spi_write(0x763,0x70);
	dev_spi_write(0x764,0x42);
	dev_spi_write(0x765,0xf4);
	dev_spi_write(0x766,0x80);
	dev_spi_write(0x767,0x42);
	dev_spi_write(0x768,0x1);
	dev_spi_write(0x769,0xfa);
	dev_spi_write(0x76a,0x7);
	dev_spi_write(0x76b,0xf3);
	dev_spi_write(0x76c,0x6a);
	dev_spi_write(0x76d,0x80);
	dev_spi_write(0x76e,0x23);
	dev_spi_write(0x76f,0x43);
	dev_spi_write(0x770,0x6b);
	dev_spi_write(0x771,0x60);
	dev_spi_write(0x772,0x90);
	dev_spi_write(0x773,0xf8);
	dev_spi_write(0x774,0xcc);
	dev_spi_write(0x775,0x2);
	dev_spi_write(0x776,0x6a);
	dev_spi_write(0x777,0x68);
	dev_spi_write(0x778,0x0);
	dev_spi_write(0x779,0x1d);
	dev_spi_write(0x77a,0x81);
	dev_spi_write(0x77b,0x40);
	dev_spi_write(0x77c,0x11);
	dev_spi_write(0x77d,0x43);
	dev_spi_write(0x77e,0x69);
	dev_spi_write(0x77f,0x60);
	dev_spi_write(0x780,0xbd);
	dev_spi_write(0x781,0xe8);
	dev_spi_write(0x782,0xf8);
	dev_spi_write(0x783,0x8f);
	dev_spi_write(0x784,0x4);
	dev_spi_write(0x785,0x48);
	dev_spi_write(0x786,0x0);
	dev_spi_write(0x787,0x78);
	dev_spi_write(0x788,0x2);
	dev_spi_write(0x789,0x28);
	dev_spi_write(0x78a,0xa4);
	dev_spi_write(0x78b,0xbf);
	dev_spi_write(0x78c,0x4);
	dev_spi_write(0x78d,0x20);
	dev_spi_write(0x78e,0x8);
	dev_spi_write(0x78f,0x70);
	dev_spi_write(0x790,0x1);
	dev_spi_write(0x791,0xda);
	dev_spi_write(0x792,0x0);
	dev_spi_write(0x793,0xf0);
	dev_spi_write(0x794,0x38);
	dev_spi_write(0x795,0xb8);
	dev_spi_write(0x796,0x70);
	dev_spi_write(0x797,0x47);
	dev_spi_write(0x798,0xb4);
	dev_spi_write(0x799,0x3);
	dev_spi_write(0x79a,0x0);
	dev_spi_write(0x79b,0xa2);
	dev_spi_write(0x79c,0xb4);
	dev_spi_write(0x79d,0x1);
	dev_spi_write(0x79e,0x1);
	dev_spi_write(0x79f,0x20);
	dev_spi_write(0x7a0,0x4b);
	dev_spi_write(0x7a1,0xfc);
	dev_spi_write(0x7a2,0xff);
	dev_spi_write(0x7a3,0x5d);
	dev_spi_write(0x7a4,0x18);
	dev_spi_write(0x7a5,0xff);
	dev_spi_write(0x7a6,0x0);
	dev_spi_write(0x7a7,0x20);
	dev_spi_write(0x7a8,0x90);
	dev_spi_write(0x7a9,0xd6);
	dev_spi_write(0x7aa,0x0);
	dev_spi_write(0x7ab,0x20);
	dev_spi_write(0x7ac,0xd4);
	dev_spi_write(0x7ad,0xfb);
	dev_spi_write(0x7ae,0x0);
	dev_spi_write(0x7af,0x20);
	dev_spi_write(0x7b0,0xcd);
	dev_spi_write(0x7b1,0x23);
	dev_spi_write(0x7b2,0x1);
	dev_spi_write(0x7b3,0x20);
	dev_spi_write(0x7b4,0xc8);
	dev_spi_write(0x7b5,0x23);
	dev_spi_write(0x7b6,0x1);
	dev_spi_write(0x7b7,0x20);
	dev_spi_write(0x7b8,0x3a);
	dev_spi_write(0x7b9,0xb1);
	dev_spi_write(0x7ba,0x3);
	dev_spi_write(0x7bb,0x46);
	dev_spi_write(0x7bc,0x10);
	dev_spi_write(0x7bd,0x46);
	dev_spi_write(0x7be,0x13);
	dev_spi_write(0x7bf,0xf8);
	dev_spi_write(0x7c0,0x1);
	dev_spi_write(0x7c1,0x2b);
	dev_spi_write(0x7c2,0x40);
	dev_spi_write(0x7c3,0x1e);
	dev_spi_write(0x7c4,0x1);
	dev_spi_write(0x7c5,0xf8);
	dev_spi_write(0x7c6,0x1);
	dev_spi_write(0x7c7,0x2b);
	dev_spi_write(0x7c8,0xf9);
	dev_spi_write(0x7c9,0xd1);
	dev_spi_write(0x7ca,0x70);
	dev_spi_write(0x7cb,0x47);
	dev_spi_write(0x7cc,0x38);
	dev_spi_write(0x7cd,0xb5);
	dev_spi_write(0x7ce,0x5);
	dev_spi_write(0x7cf,0x46);
	dev_spi_write(0x7d0,0xc);
	dev_spi_write(0x7d1,0x46);
	dev_spi_write(0x7d2,0x28);
	dev_spi_write(0x7d3,0x68);
	dev_spi_write(0x7d4,0x21);
	dev_spi_write(0x7d5,0x68);
	dev_spi_write(0x7d6,0xc);
	dev_spi_write(0x7d7,0x22);
	dev_spi_write(0x7d8,0xff);
	dev_spi_write(0x7d9,0xf7);
	dev_spi_write(0x7da,0xee);
	dev_spi_write(0x7db,0xff);
	dev_spi_write(0x7dc,0x68);
	dev_spi_write(0x7dd,0x68);
	dev_spi_write(0x7de,0x61);
	dev_spi_write(0x7df,0x68);
	dev_spi_write(0x7e0,0x5);
	dev_spi_write(0x7e1,0x22);
	dev_spi_write(0x7e2,0xff);
	dev_spi_write(0x7e3,0xf7);
	dev_spi_write(0x7e4,0xe9);
	dev_spi_write(0x7e5,0xff);
	dev_spi_write(0x7e6,0xa8);
	dev_spi_write(0x7e7,0x68);
	dev_spi_write(0x7e8,0xa1);
	dev_spi_write(0x7e9,0x68);
	dev_spi_write(0x7ea,0x18);
	dev_spi_write(0x7eb,0x22);
	dev_spi_write(0x7ec,0xff);
	dev_spi_write(0x7ed,0xf7);
	dev_spi_write(0x7ee,0xe4);
	dev_spi_write(0x7ef,0xff);
	dev_spi_write(0x7f0,0xe8);
	dev_spi_write(0x7f1,0x68);
	dev_spi_write(0x7f2,0xe1);
	dev_spi_write(0x7f3,0x68);
	dev_spi_write(0x7f4,0xd2);
	dev_spi_write(0x7f5,0x22);
	dev_spi_write(0x7f6,0xff);
	dev_spi_write(0x7f7,0xf7);
	dev_spi_write(0x7f8,0xdf);
	dev_spi_write(0x7f9,0xff);
	dev_spi_write(0x7fa,0x28);
	dev_spi_write(0x7fb,0x69);
	dev_spi_write(0x7fc,0x21);
	dev_spi_write(0x7fd,0x69);
	dev_spi_write(0x7fe,0x96);
	dev_spi_write(0x7ff,0x22);
	dev_spi_write(0x800,0xff);
	dev_spi_write(0x801,0xf7);
	dev_spi_write(0x802,0xda);
	dev_spi_write(0x803,0xff);
	dev_spi_write(0x804,0x38);
	dev_spi_write(0x805,0xbd);
	dev_spi_write(0x806,0xb0);
	dev_spi_write(0x807,0xb5);
	dev_spi_write(0x808,0x3b);
	dev_spi_write(0x809,0x49);
	dev_spi_write(0x80a,0x3c);
	dev_spi_write(0x80b,0x4d);
	dev_spi_write(0x80c,0x0);
	dev_spi_write(0x80d,0xf0);
	dev_spi_write(0x80e,0x1);
	dev_spi_write(0x80f,0x2);
	dev_spi_write(0x810,0x4);
	dev_spi_write(0x811,0x27);
	dev_spi_write(0x812,0x12);
	dev_spi_write(0x813,0x4);
	dev_spi_write(0x814,0x8);
	dev_spi_write(0x815,0x70);
	dev_spi_write(0x816,0x55);
	dev_spi_write(0x817,0xf8);
	dev_spi_write(0x818,0x4);
	dev_spi_write(0x819,0x4b);
	dev_spi_write(0x81a,0xd4);
	dev_spi_write(0x81b,0xf8);
	dev_spi_write(0x81c,0x80);
	dev_spi_write(0x81d,0x1b);
	dev_spi_write(0x81e,0x21);
	dev_spi_write(0x81f,0xf4);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 10713 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 10713 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x20);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 10725 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 10725 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 10726 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x80);
	dev_spi_write(0x21,0x31);
	dev_spi_write(0x22,0x11);
	dev_spi_write(0x23,0x43);
	dev_spi_write(0x24,0xc4);
	dev_spi_write(0x25,0xf8);
	dev_spi_write(0x26,0x80);
	dev_spi_write(0x27,0x1b);
	dev_spi_write(0x28,0xd4);
	dev_spi_write(0x29,0xf8);
	dev_spi_write(0x2a,0x48);
	dev_spi_write(0x2b,0x3b);
	dev_spi_write(0x2c,0x7f);
	dev_spi_write(0x2d,0x1e);
	dev_spi_write(0x2e,0x80);
	dev_spi_write(0x2f,0xea);
	dev_spi_write(0x30,0x3);
	dev_spi_write(0x31,0x1);
	dev_spi_write(0x32,0x1);
	dev_spi_write(0x33,0xf0);
	dev_spi_write(0x34,0x1);
	dev_spi_write(0x35,0x1);
	dev_spi_write(0x36,0x81);
	dev_spi_write(0x37,0xea);
	dev_spi_write(0x38,0x3);
	dev_spi_write(0x39,0x1);
	dev_spi_write(0x3a,0xc4);
	dev_spi_write(0x3b,0xf8);
	dev_spi_write(0x3c,0x48);
	dev_spi_write(0x3d,0x1b);
	dev_spi_write(0x3e,0xea);
	dev_spi_write(0x3f,0xd1);
	dev_spi_write(0x40,0x1);
	dev_spi_write(0x41,0x28);
	dev_spi_write(0x42,0x19);
	dev_spi_write(0x43,0xbf);
	dev_spi_write(0x44,0x2f);
	dev_spi_write(0x45,0x48);
	dev_spi_write(0x46,0x0);
	dev_spi_write(0x47,0x21);
	dev_spi_write(0x48,0x2);
	dev_spi_write(0x49,0x21);
	dev_spi_write(0x4a,0x2f);
	dev_spi_write(0x4b,0x48);
	dev_spi_write(0x4c,0x2c);
	dev_spi_write(0x4d,0x4a);
	dev_spi_write(0x4e,0x11);
	dev_spi_write(0x4f,0x70);
	dev_spi_write(0x50,0x2e);
	dev_spi_write(0x51,0x49);
	dev_spi_write(0x52,0xff);
	dev_spi_write(0x53,0xf7);
	dev_spi_write(0x54,0xbb);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x56,0xb0);
	dev_spi_write(0x57,0xbd);
	dev_spi_write(0x58,0x8c);
	dev_spi_write(0x59,0x46);
	dev_spi_write(0x5a,0x2d);
	dev_spi_write(0x5b,0x49);
	dev_spi_write(0x5c,0xf8);
	dev_spi_write(0x5d,0xb5);
	dev_spi_write(0x5e,0x9);
	dev_spi_write(0x5f,0x5c);
	dev_spi_write(0x60,0x1);
	dev_spi_write(0x61,0x29);
	dev_spi_write(0x62,0x12);
	dev_spi_write(0x63,0xd1);
	dev_spi_write(0x64,0x2b);
	dev_spi_write(0x65,0x4e);
	dev_spi_write(0x66,0x45);
	dev_spi_write(0x67,0x1);
	dev_spi_write(0x68,0x2);
	dev_spi_write(0x69,0x23);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x6b,0x24);
	dev_spi_write(0x6c,0x62);
	dev_spi_write(0x6d,0x19);
	dev_spi_write(0x6e,0x2);
	dev_spi_write(0x6f,0x27);
	dev_spi_write(0x70,0x92);
	dev_spi_write(0x71,0x19);
	dev_spi_write(0x72,0xb2);
	dev_spi_write(0x73,0xf9);
	dev_spi_write(0x74,0x0);
	dev_spi_write(0x75,0x10);
	dev_spi_write(0x76,0x7f);
	dev_spi_write(0x77,0x1e);
	dev_spi_write(0x78,0x4f);
	dev_spi_write(0x79,0xea);
	dev_spi_write(0x7a,0x41);
	dev_spi_write(0x7b,0x1);
	dev_spi_write(0x7c,0x22);
	dev_spi_write(0x7d,0xf8);
	dev_spi_write(0x7e,0x10);
	dev_spi_write(0x7f,0x1b);
	dev_spi_write(0x80,0xf7);
	dev_spi_write(0x81,0xd1);
	dev_spi_write(0x82,0x5b);
	dev_spi_write(0x83,0x1e);
	dev_spi_write(0x84,0x4);
	dev_spi_write(0x85,0xf1);
	dev_spi_write(0x86,0x8);
	dev_spi_write(0x87,0x4);
	dev_spi_write(0x88,0xf0);
	dev_spi_write(0x89,0xd1);
	dev_spi_write(0x8a,0x61);
	dev_spi_write(0x8b,0x46);
	dev_spi_write(0x8c,0xe0);
	dev_spi_write(0x8d,0xf7);
	dev_spi_write(0x8e,0x4c);
	dev_spi_write(0x8f,0xfa);
	dev_spi_write(0x90,0xf8);
	dev_spi_write(0x91,0xbd);
	dev_spi_write(0x92,0x98);
	dev_spi_write(0x93,0xb5);
	dev_spi_write(0x94,0x20);
	dev_spi_write(0x95,0x4c);
	dev_spi_write(0x96,0x0);
	dev_spi_write(0x97,0x21);
	dev_spi_write(0x98,0x84);
	dev_spi_write(0x99,0xf8);
	dev_spi_write(0x9a,0x24);
	dev_spi_write(0x9b,0x10);
	dev_spi_write(0x9c,0x20);
	dev_spi_write(0x9d,0x48);
	dev_spi_write(0x9e,0x84);
	dev_spi_write(0x9f,0xf8);
	dev_spi_write(0xa0,0x25);
	dev_spi_write(0xa1,0x10);
	dev_spi_write(0xa2,0x3);
	dev_spi_write(0xa3,0x22);
	dev_spi_write(0xa4,0x84);
	dev_spi_write(0xa5,0xf8);
	dev_spi_write(0xa6,0x29);
	dev_spi_write(0xa7,0x10);
	dev_spi_write(0xa8,0x1c);
	dev_spi_write(0xa9,0x4b);
	dev_spi_write(0xaa,0x84);
	dev_spi_write(0xab,0xf8);
	dev_spi_write(0xac,0x2a);
	dev_spi_write(0xad,0x10);
	dev_spi_write(0xae,0xa);
	dev_spi_write(0xaf,0x21);
	dev_spi_write(0xb0,0x40);
	dev_spi_write(0xb1,0x1e);
	dev_spi_write(0xb2,0x10);
	dev_spi_write(0xb3,0xf8);
	dev_spi_write(0xb4,0x1);
	dev_spi_write(0xb5,0x4f);
	dev_spi_write(0xb6,0x5);
	dev_spi_write(0xb7,0x27);
	dev_spi_write(0xb8,0x7f);
	dev_spi_write(0xb9,0x1e);
	dev_spi_write(0xba,0x3);
	dev_spi_write(0xbb,0xf8);
	dev_spi_write(0xbc,0x1);
	dev_spi_write(0xbd,0x4b);
	dev_spi_write(0xbe,0xfb);
	dev_spi_write(0xbf,0xd1);
	dev_spi_write(0xc0,0x49);
	dev_spi_write(0xc1,0x1e);
	dev_spi_write(0xc2,0xf6);
	dev_spi_write(0xc3,0xd1);
	dev_spi_write(0xc4,0x52);
	dev_spi_write(0xc5,0x1e);
	dev_spi_write(0xc6,0x0);
	dev_spi_write(0xc7,0xf1);
	dev_spi_write(0xc8,0x1);
	dev_spi_write(0xc9,0x0);
	dev_spi_write(0xca,0xf0);
	dev_spi_write(0xcb,0xd1);
	dev_spi_write(0xcc,0x98);
	dev_spi_write(0xcd,0xbd);
	dev_spi_write(0xce,0xa);
	dev_spi_write(0xcf,0x4a);
	dev_spi_write(0xd0,0x80);
	dev_spi_write(0xd1,0xb5);
	dev_spi_write(0xd2,0x12);
	dev_spi_write(0xd3,0x78);
	dev_spi_write(0xd4,0x1);
	dev_spi_write(0xd5,0x2a);
	dev_spi_write(0xd6,0xc);
	dev_spi_write(0xd7,0xd1);
	dev_spi_write(0xd8,0x12);
	dev_spi_write(0xd9,0x4b);
	dev_spi_write(0xda,0x42);
	dev_spi_write(0xdb,0x10);
	dev_spi_write(0xdc,0x9a);
	dev_spi_write(0xdd,0x5c);
	dev_spi_write(0xde,0x92);
	dev_spi_write(0xdf,0x1e);
	dev_spi_write(0xe0,0xd7);
	dev_spi_write(0xe1,0xb2);
	dev_spi_write(0xe2,0x1f);
	dev_spi_write(0xe3,0xb1);
	dev_spi_write(0xe4,0x1);
	dev_spi_write(0xe5,0x2f);
	dev_spi_write(0xe6,0x4);
	dev_spi_write(0xe7,0xd1);
	dev_spi_write(0xe8,0x5);
	dev_spi_write(0xe9,0x22);
	dev_spi_write(0xea,0x0);
	dev_spi_write(0xeb,0xe0);
	dev_spi_write(0xec,0x7);
	dev_spi_write(0xed,0x22);
	dev_spi_write(0xee,0xe);
	dev_spi_write(0xef,0x4b);
	dev_spi_write(0xf0,0x1a);
	dev_spi_write(0xf1,0x70);
	dev_spi_write(0xf2,0xd7);
	dev_spi_write(0xf3,0xf7);
	dev_spi_write(0xf4,0x17);
	dev_spi_write(0xf5,0xf8);
	dev_spi_write(0xf6,0x80);
	dev_spi_write(0xf7,0xbd);
	dev_spi_write(0xf8,0xd1);
	dev_spi_write(0xf9,0x23);
	dev_spi_write(0xfa,0x1);
	dev_spi_write(0xfb,0x20);
	dev_spi_write(0xfc,0xbc);
	dev_spi_write(0xfd,0x77);
	dev_spi_write(0xfe,0x2);
	dev_spi_write(0xff,0x0);
	dev_spi_write(0x100,0xdd);
	dev_spi_write(0x101,0xb);
	dev_spi_write(0x102,0x1);
	dev_spi_write(0x103,0x20);
	dev_spi_write(0x104,0x58);
	dev_spi_write(0x105,0x30);
	dev_spi_write(0x106,0x3);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x108,0x44);
	dev_spi_write(0x109,0x30);
	dev_spi_write(0x10a,0x3);
	dev_spi_write(0x10b,0x0);
	dev_spi_write(0x10c,0x30);
	dev_spi_write(0x10d,0x30);
	dev_spi_write(0x10e,0x3);
	dev_spi_write(0x10f,0x0);
	dev_spi_write(0x110,0xac);
	dev_spi_write(0x111,0xfe);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x113,0x20);
	dev_spi_write(0x114,0x28);
	dev_spi_write(0x115,0xfd);
	dev_spi_write(0x116,0x0);
	dev_spi_write(0x117,0x20);
	dev_spi_write(0x118,0x4a);
	dev_spi_write(0x119,0xc);
	dev_spi_write(0x11a,0x1);
	dev_spi_write(0x11b,0x20);
	dev_spi_write(0x11c,0xfb);
	dev_spi_write(0x11d,0x20);
	dev_spi_write(0x11e,0x1);
	dev_spi_write(0x11f,0x20);
	dev_spi_write(0x120,0xf);
	dev_spi_write(0x121,0x30);
	dev_spi_write(0x122,0x3);
	dev_spi_write(0x123,0x0);
	dev_spi_write(0x124,0xa2);
	dev_spi_write(0x125,0x1);
	dev_spi_write(0x126,0x1);
	dev_spi_write(0x127,0x20);
	dev_spi_write(0x128,0xd4);
	dev_spi_write(0x129,0x1e);
	dev_spi_write(0x12a,0x1);
	dev_spi_write(0x12b,0x20);
	dev_spi_write(0x12c,0x98);
	dev_spi_write(0x12d,0xb5);
	dev_spi_write(0x12e,0xe5);
	dev_spi_write(0x12f,0xf7);
	dev_spi_write(0x130,0xa5);
	dev_spi_write(0x131,0xfe);
	dev_spi_write(0x132,0x37);
	dev_spi_write(0x133,0x48);
	dev_spi_write(0x134,0x37);
	dev_spi_write(0x135,0x4a);
	dev_spi_write(0x136,0x0);
	dev_spi_write(0x137,0x27);
	dev_spi_write(0x138,0x4f);
	dev_spi_write(0x139,0xf6);
	dev_spi_write(0x13a,0xdf);
	dev_spi_write(0x13b,0x73);
	dev_spi_write(0x13c,0x40);
	dev_spi_write(0x13d,0x1e);
	dev_spi_write(0x13e,0x10);
	dev_spi_write(0x13f,0xf8);
	dev_spi_write(0x140,0x1);
	dev_spi_write(0x141,0x1f);
	dev_spi_write(0x142,0x1);
	dev_spi_write(0x143,0x29);
	dev_spi_write(0x144,0x9);
	dev_spi_write(0x145,0xd1);
	dev_spi_write(0x146,0x0);
	dev_spi_write(0x147,0x2f);
	dev_spi_write(0x148,0x14);
	dev_spi_write(0x149,0xbf);
	dev_spi_write(0x14a,0x2);
	dev_spi_write(0x14b,0xf1);
	dev_spi_write(0x14c,0xb8);
	dev_spi_write(0x14d,0x4);
	dev_spi_write(0x14e,0x14);
	dev_spi_write(0x14f,0x1c);
	dev_spi_write(0x150,0x21);
	dev_spi_write(0x151,0x88);
	dev_spi_write(0x152,0x19);
	dev_spi_write(0x153,0x40);
	dev_spi_write(0x154,0x41);
	dev_spi_write(0x155,0xf4);
	dev_spi_write(0x156,0x0);
	dev_spi_write(0x157,0x51);
	dev_spi_write(0x158,0x21);
	dev_spi_write(0x159,0x80);
	dev_spi_write(0x15a,0x7f);
	dev_spi_write(0x15b,0x1c);
	dev_spi_write(0x15c,0x2);
	dev_spi_write(0x15d,0x2f);
	dev_spi_write(0x15e,0xee);
	dev_spi_write(0x15f,0xdb);
	dev_spi_write(0x160,0x98);
	dev_spi_write(0x161,0xbd);
	dev_spi_write(0x162,0xf8);
	dev_spi_write(0x163,0xb5);
	dev_spi_write(0x164,0x2c);
	dev_spi_write(0x165,0x4b);
	dev_spi_write(0x166,0x98);
	dev_spi_write(0x167,0x78);
	dev_spi_write(0x168,0xdc);
	dev_spi_write(0x169,0x78);
	dev_spi_write(0x16a,0x84);
	dev_spi_write(0x16b,0x42);
	dev_spi_write(0x16c,0xc8);
	dev_spi_write(0x16d,0xbf);
	dev_spi_write(0x16e,0x4);
	dev_spi_write(0x16f,0x1c);
	dev_spi_write(0x170,0x2a);
	dev_spi_write(0x171,0x48);
	dev_spi_write(0x172,0x42);
	dev_spi_write(0x173,0x1d);
	dev_spi_write(0x174,0x5);
	dev_spi_write(0x175,0x78);
	dev_spi_write(0x176,0x11);
	dev_spi_write(0x177,0x78);
	dev_spi_write(0x178,0xa9);
	dev_spi_write(0x179,0x42);
	dev_spi_write(0x17a,0xb4);
	dev_spi_write(0x17b,0xbf);
	dev_spi_write(0x17c,0x2f);
	dev_spi_write(0x17d,0x1c);
	dev_spi_write(0x17e,0xf);
	dev_spi_write(0x17f,0x1c);
	dev_spi_write(0x180,0x90);
	dev_spi_write(0x181,0x7a);
	dev_spi_write(0x182,0x52);
	dev_spi_write(0x183,0x79);
	dev_spi_write(0x184,0x90);
	dev_spi_write(0x185,0x42);
	dev_spi_write(0x186,0xb4);
	dev_spi_write(0x187,0xbf);
	dev_spi_write(0x188,0x16);
	dev_spi_write(0x189,0x1c);
	dev_spi_write(0x18a,0x6);
	dev_spi_write(0x18b,0x1c);
	dev_spi_write(0x18c,0xbe);
	dev_spi_write(0x18d,0x42);
	dev_spi_write(0x18e,0x4);
	dev_spi_write(0x18f,0xda);
	dev_spi_write(0x190,0xa9);
	dev_spi_write(0x191,0x42);
	dev_spi_write(0x192,0xb8);
	dev_spi_write(0x193,0xbf);
	dev_spi_write(0x194,0x29);
	dev_spi_write(0x195,0x1c);
	dev_spi_write(0x196,0xa);
	dev_spi_write(0x197,0x46);
	dev_spi_write(0x198,0x1);
	dev_spi_write(0x199,0xe0);
	dev_spi_write(0x19a,0x90);
	dev_spi_write(0x19b,0x42);
	dev_spi_write(0x19c,0x0);
	dev_spi_write(0x19d,0xda);
	dev_spi_write(0x19e,0x10);
	dev_spi_write(0x19f,0x46);
	dev_spi_write(0x1a0,0x1a);
	dev_spi_write(0x1a1,0x79);
	dev_spi_write(0x1a2,0x59);
	dev_spi_write(0x1a3,0x79);
	dev_spi_write(0x1a4,0x9);
	dev_spi_write(0x1a5,0x38);
	dev_spi_write(0x1a6,0xc5);
	dev_spi_write(0x1a7,0xb2);
	dev_spi_write(0x1a8,0x91);
	dev_spi_write(0x1a9,0x42);
	dev_spi_write(0x1aa,0xc8);
	dev_spi_write(0x1ab,0xbf);
	dev_spi_write(0x1ac,0x11);
	dev_spi_write(0x1ad,0x1c);
	dev_spi_write(0x1ae,0x1c);
	dev_spi_write(0x1af,0x48);
	dev_spi_write(0x1b0,0x2);
	dev_spi_write(0x1b1,0x78);
	dev_spi_write(0x1b2,0x40);
	dev_spi_write(0x1b3,0x79);
	dev_spi_write(0x1b4,0x90);
	dev_spi_write(0x1b5,0x42);
	dev_spi_write(0x1b6,0xb8);
	dev_spi_write(0x1b7,0xbf);
	dev_spi_write(0x1b8,0x10);
	dev_spi_write(0x1b9,0x1c);
	dev_spi_write(0x1ba,0xa1);
	dev_spi_write(0x1bb,0x42);
	dev_spi_write(0x1bc,0xa0);
	dev_spi_write(0x1bd,0xf1);
	dev_spi_write(0x1be,0x9);
	dev_spi_write(0x1bf,0x0);
	dev_spi_write(0x1c0,0xc2);
	dev_spi_write(0x1c1,0xb2);
	dev_spi_write(0x1c2,0xc8);
	dev_spi_write(0x1c3,0xbf);
	dev_spi_write(0x1c4,0x21);
	dev_spi_write(0x1c5,0x1c);
	dev_spi_write(0x1c6,0x17);
	dev_spi_write(0x1c7,0x48);
	dev_spi_write(0x1c8,0x4);
	dev_spi_write(0x1c9,0x78);
	dev_spi_write(0x1ca,0x7);
	dev_spi_write(0x1cb,0x29);
	dev_spi_write(0x1cc,0x18);
	dev_spi_write(0x1cd,0xbf);
	dev_spi_write(0x1ce,0x44);
	dev_spi_write(0x1cf,0x5c);
	dev_spi_write(0x1d0,0xaa);
	dev_spi_write(0x1d1,0x42);
	dev_spi_write(0x1d2,0xb8);
	dev_spi_write(0x1d3,0xbf);
	dev_spi_write(0x1d4,0x2a);
	dev_spi_write(0x1d5,0x1c);
	dev_spi_write(0x1d6,0x14);
	dev_spi_write(0x1d7,0x48);
	dev_spi_write(0x1d8,0xd3);
	dev_spi_write(0x1d9,0xf8);
	dev_spi_write(0x1da,0xb0);
	dev_spi_write(0x1db,0x11);
	dev_spi_write(0x1dc,0x0);
	dev_spi_write(0x1dd,0x78);
	dev_spi_write(0x1de,0xa1);
	dev_spi_write(0x1df,0xfb);
	dev_spi_write(0x1e0,0x0);
	dev_spi_write(0x1e1,0x1);
	dev_spi_write(0x1e2,0xc6);
	dev_spi_write(0x1e3,0xe);
	dev_spi_write(0x1e4,0x7);
	dev_spi_write(0x1e5,0xf);
	dev_spi_write(0x1e6,0x4b);
	dev_spi_write(0x1e7,0x1);
	dev_spi_write(0x1e8,0x45);
	dev_spi_write(0x1e9,0x1);
	dev_spi_write(0x1ea,0x9);
	dev_spi_write(0x1eb,0x1);
	dev_spi_write(0x1ec,0x1e);
	dev_spi_write(0x1ed,0x43);
	dev_spi_write(0x1ee,0x0);
	dev_spi_write(0x1ef,0x1);
	dev_spi_write(0x1f0,0x39);
	dev_spi_write(0x1f1,0x43);
	dev_spi_write(0x1f2,0x40);
	dev_spi_write(0x1f3,0x19);
	dev_spi_write(0x1f4,0x41);
	dev_spi_write(0x1f5,0xeb);
	dev_spi_write(0x1f6,0x6);
	dev_spi_write(0x1f7,0x1);
	dev_spi_write(0x1f8,0x0);
	dev_spi_write(0x1f9,0xf0);
	dev_spi_write(0x1fa,0x64);
	dev_spi_write(0x1fb,0xfa);
	dev_spi_write(0x1fc,0xc8);
	dev_spi_write(0x1fd,0x22);
	dev_spi_write(0x1fe,0x0);
	dev_spi_write(0x1ff,0x23);
	dev_spi_write(0x200,0x14);
	dev_spi_write(0x201,0xfb);
	dev_spi_write(0x202,0x2);
	dev_spi_write(0x203,0xf2);
	dev_spi_write(0x204,0xff);
	dev_spi_write(0x205,0xf7);
	dev_spi_write(0x206,0x94);
	dev_spi_write(0x207,0xfa);
	dev_spi_write(0x208,0xe5);
	dev_spi_write(0x209,0xf7);
	dev_spi_write(0x20a,0x79);
	dev_spi_write(0x20b,0xff);
	dev_spi_write(0x20c,0xf8);
	dev_spi_write(0x20d,0xbd);
	dev_spi_write(0x20e,0xc0);
	dev_spi_write(0x20f,0x46);
	dev_spi_write(0x210,0x9e);
	dev_spi_write(0x211,0x13);
	dev_spi_write(0x212,0x1);
	dev_spi_write(0x213,0x20);
	dev_spi_write(0x214,0x6);
	dev_spi_write(0x215,0x7);
	dev_spi_write(0x216,0x6);
	dev_spi_write(0x217,0xa8);
	dev_spi_write(0x218,0xb4);
	dev_spi_write(0x219,0x1);
	dev_spi_write(0x21a,0x1);
	dev_spi_write(0x21b,0x20);
	dev_spi_write(0x21c,0x3c);
	dev_spi_write(0x21d,0x1b);
	dev_spi_write(0x21e,0x1);
	dev_spi_write(0x21f,0x20);
	dev_spi_write(0x220,0xeb);
	dev_spi_write(0x221,0x1c);
	dev_spi_write(0x222,0x1);
	dev_spi_write(0x223,0x20);
	dev_spi_write(0x224,0xac);
	dev_spi_write(0x225,0x78);
	dev_spi_write(0x226,0x2);
	dev_spi_write(0x227,0x0);
	dev_spi_write(0x228,0x2f);
	dev_spi_write(0x229,0x1f);
	dev_spi_write(0x22a,0x1);
	dev_spi_write(0x22b,0x20);
	dev_spi_write(0x22c,0xa);
	dev_spi_write(0x22d,0x46);
	dev_spi_write(0x22e,0x2d);
	dev_spi_write(0x22f,0xe9);
	dev_spi_write(0x230,0xf8);
	dev_spi_write(0x231,0x4f);
	dev_spi_write(0x232,0x0);
	dev_spi_write(0x233,0x21);
	dev_spi_write(0x234,0x4f);
	dev_spi_write(0x235,0xf0);
	dev_spi_write(0x236,0xaa);
	dev_spi_write(0x237,0xa);
	dev_spi_write(0x238,0xa0);
	dev_spi_write(0x239,0xf1);
	dev_spi_write(0x23a,0xaa);
	dev_spi_write(0x23b,0x8);
	dev_spi_write(0x23c,0xf);
	dev_spi_write(0x23d,0x46);
	dev_spi_write(0x23e,0xd3);
	dev_spi_write(0x23f,0x46);
	dev_spi_write(0x240,0x0);
	dev_spi_write(0x241,0x92);
	dev_spi_write(0x242,0x8);
	dev_spi_write(0x243,0xf1);
	dev_spi_write(0x244,0xaa);
	dev_spi_write(0x245,0x8);
	dev_spi_write(0x246,0x98);
	dev_spi_write(0x247,0xf8);
	dev_spi_write(0x248,0xa6);
	dev_spi_write(0x249,0x20);
	dev_spi_write(0x24a,0x4);
	dev_spi_write(0x24b,0x2a);
	dev_spi_write(0x24c,0x56);
	dev_spi_write(0x24d,0xda);
	dev_spi_write(0x24e,0x98);
	dev_spi_write(0x24f,0xf8);
	dev_spi_write(0x250,0x4);
	dev_spi_write(0x251,0x60);
	dev_spi_write(0x252,0x0);
	dev_spi_write(0x253,0x2e);
	dev_spi_write(0x254,0x52);
	dev_spi_write(0x255,0xd0);
	dev_spi_write(0x256,0x76);
	dev_spi_write(0x257,0x1e);
	dev_spi_write(0x258,0x72);
	dev_spi_write(0x259,0x1c);
	dev_spi_write(0x25a,0x5f);
	dev_spi_write(0x25b,0xfa);
	dev_spi_write(0x25c,0x86);
	dev_spi_write(0x25d,0xf9);
	dev_spi_write(0x25e,0xd2);
	dev_spi_write(0x25f,0xb2);
	dev_spi_write(0x260,0x6);
	dev_spi_write(0x261,0x2a);
	dev_spi_write(0x262,0x48);
	dev_spi_write(0x263,0xda);
	dev_spi_write(0x264,0x5b);
	dev_spi_write(0x265,0x46);
	dev_spi_write(0x266,0x3);
	dev_spi_write(0x267,0xfb);
	dev_spi_write(0x268,0x7);
	dev_spi_write(0x269,0x3);
	dev_spi_write(0x26a,0x1c);
	dev_spi_write(0x26b,0x7c);
	dev_spi_write(0x26c,0x0);
	dev_spi_write(0x26d,0x23);
	dev_spi_write(0x26e,0x37);
	dev_spi_write(0x26f,0xe0);
	dev_spi_write(0x270,0x63);
	dev_spi_write(0x271,0x18);
	dev_spi_write(0x272,0x1b);
	dev_spi_write(0x273,0x18);
	dev_spi_write(0x274,0xdb);
	dev_spi_write(0x275,0x7d);
	dev_spi_write(0x276,0x9);
	dev_spi_write(0x277,0x25);
	dev_spi_write(0x278,0x19);
	dev_spi_write(0x279,0xfb);
	dev_spi_write(0x27a,0x5);
	dev_spi_write(0x27b,0xf5);
	dev_spi_write(0x27c,0x5e);
	dev_spi_write(0x27d,0x19);
	dev_spi_write(0x27e,0x76);
	dev_spi_write(0x27f,0x18);
	dev_spi_write(0x280,0x36);
	dev_spi_write(0x281,0x18);
	dev_spi_write(0x282,0x96);
	dev_spi_write(0x283,0xf9);
	dev_spi_write(0x284,0x22);
	dev_spi_write(0x285,0xe0);
	dev_spi_write(0x286,0x2);
	dev_spi_write(0x287,0xeb);
	dev_spi_write(0x288,0xc2);
	dev_spi_write(0x289,0xc);
	dev_spi_write(0x28a,0xed);
	dev_spi_write(0x28b,0x18);
	dev_spi_write(0x28c,0x6d);
	dev_spi_write(0x28d,0x18);
	dev_spi_write(0x28e,0x5e);
	dev_spi_write(0x28f,0x18);
	dev_spi_write(0x290,0x2d);
	dev_spi_write(0x291,0x18);
	dev_spi_write(0x292,0x66);
	dev_spi_write(0x293,0x44);
	dev_spi_write(0x294,0x36);
	dev_spi_write(0x295,0x18);
	dev_spi_write(0x296,0x86);
	dev_spi_write(0x297,0xf8);
	dev_spi_write(0x298,0x22);
	dev_spi_write(0x299,0xe0);
	dev_spi_write(0x29a,0x95);
	dev_spi_write(0x29b,0xf9);
	dev_spi_write(0x29c,0x58);
	dev_spi_write(0x29d,0x60);
	dev_spi_write(0x29e,0x5d);
	dev_spi_write(0x29f,0x18);
	dev_spi_write(0x2a0,0xb);
	dev_spi_write(0x2a1,0xfb);
	dev_spi_write(0x2a2,0x7);
	dev_spi_write(0x2a3,0xf1);
	dev_spi_write(0x2a4,0x5);
	dev_spi_write(0x2a5,0xeb);
	dev_spi_write(0x2a6,0xc);
	dev_spi_write(0x2a7,0x3);
	dev_spi_write(0x2a8,0x1b);
	dev_spi_write(0x2a9,0x18);
	dev_spi_write(0x2aa,0xd);
	dev_spi_write(0x2ab,0x18);
	dev_spi_write(0x2ac,0x83);
	dev_spi_write(0x2ad,0xf8);
	dev_spi_write(0x2ae,0x58);
	dev_spi_write(0x2af,0x60);
	dev_spi_write(0x2b0,0xab);
	dev_spi_write(0x2b1,0x7d);
	dev_spi_write(0x2b2,0x64);
	dev_spi_write(0x2b3,0x1c);
	dev_spi_write(0x2b4,0xe4);
	dev_spi_write(0x2b5,0xb2);
	dev_spi_write(0x2b6,0x19);
	dev_spi_write(0x2b7,0xe0);
	dev_spi_write(0x2b8,0x3);
	dev_spi_write(0x2b9,0x24);
	dev_spi_write(0x2ba,0x19);
	dev_spi_write(0x2bb,0xfb);
	dev_spi_write(0x2bc,0x4);
	dev_spi_write(0x2bd,0x34);
	dev_spi_write(0x2be,0x64);
	dev_spi_write(0x2bf,0x18);
	dev_spi_write(0x2c0,0x24);
	dev_spi_write(0x2c1,0x18);
	dev_spi_write(0x2c2,0x94);
	dev_spi_write(0x2c3,0xf8);
	dev_spi_write(0x2c4,0x8e);
	dev_spi_write(0x2c5,0x60);
	dev_spi_write(0x2c6,0x2);
	dev_spi_write(0x2c7,0xeb);
	dev_spi_write(0x2c8,0x42);
	dev_spi_write(0x2c9,0x5);
	dev_spi_write(0x2ca,0xec);
	dev_spi_write(0x2cb,0x18);
	dev_spi_write(0x2cc,0x64);
	dev_spi_write(0x2cd,0x18);
	dev_spi_write(0x2ce,0x5d);
	dev_spi_write(0x2cf,0x1c);
	dev_spi_write(0x2d0,0xa);
	dev_spi_write(0x2d1,0xfb);
	dev_spi_write(0x2d2,0x7);
	dev_spi_write(0x2d3,0xf1);
	dev_spi_write(0x2d4,0xeb);
	dev_spi_write(0x2d5,0xb2);
	dev_spi_write(0x2d6,0x24);
	dev_spi_write(0x2d7,0x18);
	dev_spi_write(0x2d8,0xd);
	dev_spi_write(0x2d9,0x18);
	dev_spi_write(0x2da,0x84);
	dev_spi_write(0x2db,0xf8);
	dev_spi_write(0x2dc,0x8e);
	dev_spi_write(0x2dd,0x60);
	dev_spi_write(0x2de,0x2c);
	dev_spi_write(0x2df,0x7c);
	dev_spi_write(0x2e0,0x9c);
	dev_spi_write(0x2e1,0x42);
	dev_spi_write(0x2e2,0xe9);
	dev_spi_write(0x2e3,0xdc);
	dev_spi_write(0x2e4,0xa);
	dev_spi_write(0x2e5,0xfb);
	dev_spi_write(0x2e6,0x7);
	dev_spi_write(0x2e7,0x3);
	dev_spi_write(0x2e8,0x9b);
	dev_spi_write(0x2e9,0x7d);
	dev_spi_write(0x2ea,0x0);
	dev_spi_write(0x2eb,0x24);
	dev_spi_write(0x2ec,0xa3);
	dev_spi_write(0x2ed,0x42);
	dev_spi_write(0x2ee,0xbf);
	dev_spi_write(0x2ef,0xdc);
	dev_spi_write(0x2f0,0x52);
	dev_spi_write(0x2f1,0x1c);
	dev_spi_write(0x2f2,0x6);
	dev_spi_write(0x2f3,0x2a);
	dev_spi_write(0x2f4,0xb6);
	dev_spi_write(0x2f5,0xdb);
	dev_spi_write(0x2f6,0x6);
	dev_spi_write(0x2f7,0x22);
	dev_spi_write(0x2f8,0x88);
	dev_spi_write(0x2f9,0xf8);
	dev_spi_write(0x2fa,0x4);
	dev_spi_write(0x2fb,0x20);
	dev_spi_write(0x2fc,0x7f);
	dev_spi_write(0x2fd,0x1c);
	dev_spi_write(0x2fe,0xaa);
	dev_spi_write(0x2ff,0x31);
	dev_spi_write(0x300,0x6);
	dev_spi_write(0x301,0x2f);
	dev_spi_write(0x302,0x9e);
	dev_spi_write(0x303,0xdb);
	dev_spi_write(0x304,0x0);
	dev_spi_write(0x305,0x99);
	dev_spi_write(0x306,0xe2);
	dev_spi_write(0x307,0xf7);
	dev_spi_write(0x308,0x5d);
	dev_spi_write(0x309,0xfe);
	dev_spi_write(0x30a,0xbd);
	dev_spi_write(0x30b,0xe8);
	dev_spi_write(0x30c,0xf8);
	dev_spi_write(0x30d,0x8f);
	dev_spi_write(0x30e,0x0);
	dev_spi_write(0x30f,0x0);
	dev_spi_write(0x310,0x10);
	dev_spi_write(0x311,0xb5);
	dev_spi_write(0x312,0x30);
	dev_spi_write(0x313,0x4a);
	dev_spi_write(0x314,0x2e);
	dev_spi_write(0x315,0x4c);
	dev_spi_write(0x316,0x13);
	dev_spi_write(0x317,0x78);
	dev_spi_write(0x318,0x54);
	dev_spi_write(0x319,0xf8);
	dev_spi_write(0x31a,0x20);
	dev_spi_write(0x31b,0x40);
	dev_spi_write(0x31c,0x84);
	dev_spi_write(0x31d,0xf8);
	dev_spi_write(0x31e,0x58);
	dev_spi_write(0x31f,0x3e);
	dev_spi_write(0x320,0x6);
	dev_spi_write(0x321,0x20);
	dev_spi_write(0x322,0xc0);
	dev_spi_write(0x323,0xf2);
	dev_spi_write(0x324,0x0);
	dev_spi_write(0x325,0x0);
	dev_spi_write(0x326,0x3);
	dev_spi_write(0x327,0x46);
	dev_spi_write(0x328,0x5b);
	dev_spi_write(0x329,0x1e);
	dev_spi_write(0x32a,0xfd);
	dev_spi_write(0x32b,0xd1);
	dev_spi_write(0x32c,0x53);
	dev_spi_write(0x32d,0x78);
	dev_spi_write(0x32e,0x4);
	dev_spi_write(0x32f,0xeb);
	dev_spi_write(0x330,0x83);
	dev_spi_write(0x331,0x3);
	dev_spi_write(0x332,0xc3);
	dev_spi_write(0x333,0xf8);
	dev_spi_write(0x334,0xc0);
	dev_spi_write(0x335,0x13);
	dev_spi_write(0x336,0x40);
	dev_spi_write(0x337,0x1e);
	dev_spi_write(0x338,0xfd);
	dev_spi_write(0x339,0xd1);
	dev_spi_write(0x33a,0x50);
	dev_spi_write(0x33b,0x78);
	dev_spi_write(0x33c,0x84);
	dev_spi_write(0x33d,0xf8);
	dev_spi_write(0x33e,0x58);
	dev_spi_write(0x33f,0xe);
	dev_spi_write(0x340,0x10);
	dev_spi_write(0x341,0xbd);
	dev_spi_write(0x342,0xf8);
	dev_spi_write(0x343,0xb5);
	dev_spi_write(0x344,0xdd);
	dev_spi_write(0x345,0xf8);
	dev_spi_write(0x346,0x18);
	dev_spi_write(0x347,0xc0);
	dev_spi_write(0x348,0x7);
	dev_spi_write(0x349,0x46);
	dev_spi_write(0x34a,0x14);
	dev_spi_write(0x34b,0x46);
	dev_spi_write(0x34c,0x1d);
	dev_spi_write(0x34d,0x46);
	dev_spi_write(0x34e,0xe);
	dev_spi_write(0x34f,0x46);
	dev_spi_write(0x350,0xcd);
	dev_spi_write(0x351,0xf8);
	dev_spi_write(0x352,0x0);
	dev_spi_write(0x353,0xc0);
	dev_spi_write(0x354,0xe9);
	dev_spi_write(0x355,0xf7);
	dev_spi_write(0x356,0x3c);
	dev_spi_write(0x357,0xfc);
	dev_spi_write(0x358,0x55);
	dev_spi_write(0x359,0xea);
	dev_spi_write(0x35a,0x4);
	dev_spi_write(0x35b,0x0);
	dev_spi_write(0x35c,0x37);
	dev_spi_write(0x35d,0xd1);
	dev_spi_write(0x35e,0x1e);
	dev_spi_write(0x35f,0x4b);
	dev_spi_write(0x360,0x1e);
	dev_spi_write(0x361,0x4a);
	dev_spi_write(0x362,0x3);
	dev_spi_write(0x363,0xeb);
	dev_spi_write(0x364,0x67);
	dev_spi_write(0x365,0x1);
	dev_spi_write(0x366,0x73);
	dev_spi_write(0x367,0x31);
	dev_spi_write(0x368,0x8);
	dev_spi_write(0x369,0x78);
	dev_spi_write(0x36a,0xb3);
	dev_spi_write(0x36b,0xf8);
	dev_spi_write(0x36c,0x9e);
	dev_spi_write(0x36d,0x41);
	dev_spi_write(0x36e,0x12);
	dev_spi_write(0x36f,0x5c);
	dev_spi_write(0x370,0x38);
	dev_spi_write(0x371,0x46);
	dev_spi_write(0x372,0x54);
	dev_spi_write(0x373,0x43);
	dev_spi_write(0x374,0x47);
	dev_spi_write(0x375,0xb1);
	dev_spi_write(0x376,0x1);
	dev_spi_write(0x377,0x2f);
	dev_spi_write(0x378,0x8);
	dev_spi_write(0x379,0xbf);
	dev_spi_write(0x37a,0x0);
	dev_spi_write(0x37b,0x25);
	dev_spi_write(0x37c,0x5);
	dev_spi_write(0x37d,0xd0);
	dev_spi_write(0x37e,0x2);
	dev_spi_write(0x37f,0x2f);
	dev_spi_write(0x380,0xc);
	dev_spi_write(0x381,0xbf);
	dev_spi_write(0x382,0x3);
	dev_spi_write(0x383,0x25);
	dev_spi_write(0x384,0x2);
	dev_spi_write(0x385,0x25);
	dev_spi_write(0x386,0x0);
	dev_spi_write(0x387,0xe0);
	dev_spi_write(0x388,0x1);
	dev_spi_write(0x389,0x25);
	dev_spi_write(0x38a,0x15);
	dev_spi_write(0x38b,0x4a);
	dev_spi_write(0x38c,0xd2);
	dev_spi_write(0x38d,0x5d);
	dev_spi_write(0x38e,0x1);
	dev_spi_write(0x38f,0x2a);
	dev_spi_write(0x390,0x2);
	dev_spi_write(0x391,0xd0);
	dev_spi_write(0x392,0x91);
	dev_spi_write(0x393,0xf8);
	dev_spi_write(0x394,0x7e);
	dev_spi_write(0x395,0x30);
	dev_spi_write(0x396,0x23);
	dev_spi_write(0x397,0xb1);
	dev_spi_write(0x398,0x79);
	dev_spi_write(0x399,0x8);
	dev_spi_write(0x39a,0x2);
	dev_spi_write(0x39b,0xd3);
	dev_spi_write(0x39c,0x28);
	dev_spi_write(0x39d,0x46);
	dev_spi_write(0x39e,0x41);
	dev_spi_write(0x39f,0x1c);
	dev_spi_write(0x3a0,0xcd);
	dev_spi_write(0x3a1,0xb2);
	dev_spi_write(0x3a2,0xd6);
	dev_spi_write(0x3a3,0xf8);
	dev_spi_write(0x3a4,0x1);
	dev_spi_write(0x3a5,0x10);
	dev_spi_write(0x3a6,0x27);
	dev_spi_write(0x3a7,0x9);
	dev_spi_write(0x3a8,0xa);
	dev_spi_write(0x3a9,0x1);
	dev_spi_write(0x3aa,0xb2);
	dev_spi_write(0x3ab,0xfb);
	dev_spi_write(0x3ac,0xf4);
	dev_spi_write(0x3ad,0xf2);
	dev_spi_write(0x3ae,0x7);
	dev_spi_write(0x3af,0xfb);
	dev_spi_write(0x3b0,0x12);
	dev_spi_write(0x3b1,0x11);
	dev_spi_write(0x3b2,0xff);
	dev_spi_write(0x3b3,0xf7);
	dev_spi_write(0x3b4,0xad);
	dev_spi_write(0x3b5,0xff);
	dev_spi_write(0x3b6,0x30);
	dev_spi_write(0x3b7,0x78);
	dev_spi_write(0x3b8,0x48);
	dev_spi_write(0x3b9,0xb1);
	dev_spi_write(0x3ba,0xd6);
	dev_spi_write(0x3bb,0xf8);
	dev_spi_write(0x3bc,0x6);
	dev_spi_write(0x3bd,0x0);
	dev_spi_write(0x3be,0x1);
	dev_spi_write(0x3bf,0x1);
	dev_spi_write(0x3c0,0xb1);
	dev_spi_write(0x3c1,0xfb);
	dev_spi_write(0x3c2,0xf4);
	dev_spi_write(0x3c3,0xf1);
	dev_spi_write(0x3c4,0x7);
	dev_spi_write(0x3c5,0xfb);
	dev_spi_write(0x3c6,0x11);
	dev_spi_write(0x3c7,0x1);
	dev_spi_write(0x3c8,0x28);
	dev_spi_write(0x3c9,0x46);
	dev_spi_write(0x3ca,0xff);
	dev_spi_write(0x3cb,0xf7);
	dev_spi_write(0x3cc,0xa1);
	dev_spi_write(0x3cd,0xff);
	dev_spi_write(0x3ce,0xf8);
	dev_spi_write(0x3cf,0xbd);
	dev_spi_write(0x3d0,0xbc);
	dev_spi_write(0x3d1,0x77);
	dev_spi_write(0x3d2,0x2);
	dev_spi_write(0x3d3,0x0);
	dev_spi_write(0x3d4,0x96);
	dev_spi_write(0x3d5,0x19);
	dev_spi_write(0x3d6,0x1);
	dev_spi_write(0x3d7,0x20);
	dev_spi_write(0x3d8,0xb4);
	dev_spi_write(0x3d9,0x1);
	dev_spi_write(0x3da,0x1);
	dev_spi_write(0x3db,0x20);
	dev_spi_write(0x3dc,0x3b);
	dev_spi_write(0x3dd,0x78);
	dev_spi_write(0x3de,0x2);
	dev_spi_write(0x3df,0x0);
	dev_spi_write(0x3e0,0x98);
	dev_spi_write(0x3e1,0xfe);
	dev_spi_write(0x3e2,0x0);
	dev_spi_write(0x3e3,0x20);
	dev_spi_write(0x3e4,0xf8);
	dev_spi_write(0x3e5,0xb5);
	dev_spi_write(0x3e6,0xc);
	dev_spi_write(0x3e7,0x46);
	dev_spi_write(0x3e8,0x4f);
	dev_spi_write(0x3e9,0xf0);
	dev_spi_write(0x3ea,0x22);
	dev_spi_write(0x3eb,0x41);
	dev_spi_write(0x3ec,0x91);
	dev_spi_write(0x3ed,0xf8);
	dev_spi_write(0x3ee,0xb5);
	dev_spi_write(0x3ef,0x3);
	dev_spi_write(0x3f0,0x91);
	dev_spi_write(0x3f1,0xf8);
	dev_spi_write(0x3f2,0xb4);
	dev_spi_write(0x3f3,0x73);
	dev_spi_write(0x3f4,0x1);
	dev_spi_write(0x3f5,0x28);
	dev_spi_write(0x3f6,0xd);
	dev_spi_write(0x3f7,0xd0);
	dev_spi_write(0x3f8,0x24);
	dev_spi_write(0x3f9,0x48);
	dev_spi_write(0x3fa,0x2);
	dev_spi_write(0x3fb,0x68);
	dev_spi_write(0x3fc,0x0);
	dev_spi_write(0x3fd,0x21);
	dev_spi_write(0x3fe,0x1);
	dev_spi_write(0x3ff,0x23);
	dev_spi_write(0x400,0x3);
	dev_spi_write(0x401,0xfa);
	dev_spi_write(0x402,0x1);
	dev_spi_write(0x403,0xf5);
	dev_spi_write(0x404,0x2f);
	dev_spi_write(0x405,0x42);
	dev_spi_write(0x406,0x1c);
	dev_spi_write(0x407,0xbf);
	dev_spi_write(0x408,0xaa);
	dev_spi_write(0x409,0x43);
	dev_spi_write(0x40a,0x2);
	dev_spi_write(0x40b,0x60);
	dev_spi_write(0x40c,0x49);
	dev_spi_write(0x40d,0x1c);
	dev_spi_write(0x40e,0x4);
	dev_spi_write(0x40f,0x29);
	dev_spi_write(0x410,0xf6);
	dev_spi_write(0x411,0xdb);
	dev_spi_write(0x412,0xb);
	dev_spi_write(0x413,0xe0);
	dev_spi_write(0x414,0x0);
	dev_spi_write(0x415,0x25);
	dev_spi_write(0x416,0x1);
	dev_spi_write(0x417,0x26);
	dev_spi_write(0x418,0x6);
	dev_spi_write(0x419,0xfa);
	dev_spi_write(0x41a,0x5);
	dev_spi_write(0x41b,0xf0);
	dev_spi_write(0x41c,0x7);
	dev_spi_write(0x41d,0x42);
	dev_spi_write(0x41e,0x2);
	dev_spi_write(0x41f,0xd0);
	dev_spi_write(0x420,0x28);
	dev_spi_write(0x421,0x46);
	dev_spi_write(0x422,0xff);
	dev_spi_write(0x423,0xf7);
	dev_spi_write(0x424,0xd9);
	dev_spi_write(0x425,0xfa);
	dev_spi_write(0x426,0x6d);
	dev_spi_write(0x427,0x1c);
	dev_spi_write(0x428,0x4);
	dev_spi_write(0x429,0x2d);
	dev_spi_write(0x42a,0xf5);
	dev_spi_write(0x42b,0xdb);
	dev_spi_write(0x42c,0x0);
	dev_spi_write(0x42d,0x20);
	dev_spi_write(0x42e,0x20);
	dev_spi_write(0x42f,0x70);
	dev_spi_write(0x430,0x60);
	dev_spi_write(0x431,0x80);
	dev_spi_write(0x432,0xf8);
	dev_spi_write(0x433,0xbd);
	dev_spi_write(0x434,0x16);
	dev_spi_write(0x435,0x48);
	dev_spi_write(0x436,0xf0);
	dev_spi_write(0x437,0xb5);
	dev_spi_write(0x438,0x38);
	dev_spi_write(0x439,0xc8);
	dev_spi_write(0x43a,0xad);
	dev_spi_write(0x43b,0xf1);
	dev_spi_write(0x43c,0x14);
	dev_spi_write(0x43d,0xd);
	dev_spi_write(0x43e,0x6a);
	dev_spi_write(0x43f,0x46);
	dev_spi_write(0x440,0x38);
	dev_spi_write(0x441,0xc2);
	dev_spi_write(0x442,0x9);
	dev_spi_write(0x443,0xc8);
	dev_spi_write(0x444,0x82);
	dev_spi_write(0x445,0xe8);
	dev_spi_write(0x446,0x9);
	dev_spi_write(0x447,0x0);
	dev_spi_write(0x448,0xdf);
	dev_spi_write(0x449,0xf8);
	dev_spi_write(0x44a,0x48);
	dev_spi_write(0x44b,0xe0);
	dev_spi_write(0x44c,0xf);
	dev_spi_write(0x44d,0x4e);
	dev_spi_write(0x44e,0x9d);
	dev_spi_write(0x44f,0xf8);
	dev_spi_write(0x450,0x0);
	dev_spi_write(0x451,0xc0);
	dev_spi_write(0x452,0x1);
	dev_spi_write(0x453,0x27);
	dev_spi_write(0x454,0x0);
	dev_spi_write(0x455,0x22);
	dev_spi_write(0x456,0x7);
	dev_spi_write(0x457,0xfa);
	dev_spi_write(0x458,0x2);
	dev_spi_write(0x459,0xf0);
	dev_spi_write(0x45a,0x1c);
	dev_spi_write(0x45b,0xea);
	dev_spi_write(0x45c,0x0);
	dev_spi_write(0x45d,0xf);
	dev_spi_write(0x45e,0xd);
	dev_spi_write(0x45f,0xd0);
	dev_spi_write(0x460,0x3);
	dev_spi_write(0x461,0x9c);
	dev_spi_write(0x462,0x50);
	dev_spi_write(0x463,0x1);
	dev_spi_write(0x464,0x4);
	dev_spi_write(0x465,0x9b);
	dev_spi_write(0x466,0xf4);
	dev_spi_write(0x467,0x60);
	dev_spi_write(0x468,0xa0);
	dev_spi_write(0x469,0xeb);
	dev_spi_write(0x46a,0x82);
	dev_spi_write(0x46b,0x0);
	dev_spi_write(0x46c,0xb3);
	dev_spi_write(0x46d,0x60);
	dev_spi_write(0x46e,0x70);
	dev_spi_write(0x46f,0x44);
	dev_spi_write(0x470,0x84);
	dev_spi_write(0x471,0x60);
	dev_spi_write(0x472,0x1);
	dev_spi_write(0x473,0x9d);
	dev_spi_write(0x474,0x5);
	dev_spi_write(0x475,0x60);
	dev_spi_write(0x476,0xc3);
	dev_spi_write(0x477,0x60);
	dev_spi_write(0x478,0x2);
	dev_spi_write(0x479,0x9c);
	dev_spi_write(0x47a,0x44);
	dev_spi_write(0x47b,0x60);
	dev_spi_write(0x47c,0x52);
	dev_spi_write(0x47d,0x1c);
	dev_spi_write(0x47e,0x4);
	dev_spi_write(0x47f,0x2a);
	dev_spi_write(0x480,0xe9);
	dev_spi_write(0x481,0xdb);
	dev_spi_write(0x482,0x0);
	dev_spi_write(0x483,0x20);
	dev_spi_write(0x484,0x8);
	dev_spi_write(0x485,0x70);
	dev_spi_write(0x486,0x5);
	dev_spi_write(0x487,0xb0);
	dev_spi_write(0x488,0x48);
	dev_spi_write(0x489,0x80);
	dev_spi_write(0x48a,0xf0);
	dev_spi_write(0x48b,0xbd);
	dev_spi_write(0x48c,0x68);
	dev_spi_write(0x48d,0x23);
	dev_spi_write(0x48e,0x1);
	dev_spi_write(0x48f,0x20);
	dev_spi_write(0x490,0xb4);
	dev_spi_write(0x491,0x3);
	dev_spi_write(0x492,0x0);
	dev_spi_write(0x493,0xa2);
	dev_spi_write(0x494,0x2c);
	dev_spi_write(0x495,0x22);
	dev_spi_write(0x496,0x1);
	dev_spi_write(0x497,0x20);
	dev_spi_write(0x498,0x1d);
	dev_spi_write(0x499,0x48);
	dev_spi_write(0x49a,0xb0);
	dev_spi_write(0x49b,0xb5);
	dev_spi_write(0x49c,0x0);
	dev_spi_write(0x49d,0x78);
	dev_spi_write(0x49e,0x48);
	dev_spi_write(0x49f,0xbb);
	dev_spi_write(0x4a0,0x1c);
	dev_spi_write(0x4a1,0x48);
	dev_spi_write(0x4a2,0x0);
	dev_spi_write(0x4a3,0x78);
	dev_spi_write(0x4a4,0x30);
	dev_spi_write(0x4a5,0xbb);
	dev_spi_write(0x4a6,0x1d);
	dev_spi_write(0x4a7,0x48);
	dev_spi_write(0x4a8,0x1b);
	dev_spi_write(0x4a9,0x4a);
	dev_spi_write(0x4aa,0x2);
	dev_spi_write(0x4ab,0x21);
	dev_spi_write(0x4ac,0xc);
	dev_spi_write(0x4ad,0x38);
	dev_spi_write(0x4ae,0x50);
	dev_spi_write(0x4af,0xf8);
	dev_spi_write(0x4b0,0xc);
	dev_spi_write(0x4b1,0x3f);
	dev_spi_write(0x4b2,0x93);
	dev_spi_write(0x4b3,0xf8);
	dev_spi_write(0x4b4,0x40);
	dev_spi_write(0x4b5,0x47);
	dev_spi_write(0x4b6,0x93);
	dev_spi_write(0x4b7,0xf8);
	dev_spi_write(0x4b8,0x41);
	dev_spi_write(0x4b9,0x77);
	dev_spi_write(0x4ba,0xf);
	dev_spi_write(0x4bb,0xb9);
	dev_spi_write(0x4bc,0x83);
	dev_spi_write(0x4bd,0xf8);
	dev_spi_write(0x4be,0x70);
	dev_spi_write(0x4bf,0x47);
	dev_spi_write(0x4c0,0x52);
	dev_spi_write(0x4c1,0xf8);
	dev_spi_write(0x4c2,0x8);
	dev_spi_write(0x4c3,0x4b);
	dev_spi_write(0x4c4,0x94);
	dev_spi_write(0x4c5,0xf8);
	dev_spi_write(0x4c6,0x80);
	dev_spi_write(0x4c7,0x5b);
	dev_spi_write(0x4c8,0xd4);
	dev_spi_write(0x4c9,0xf8);
	dev_spi_write(0x4ca,0x80);
	dev_spi_write(0x4cb,0x3b);
	dev_spi_write(0x4cc,0x49);
	dev_spi_write(0x4cd,0x1e);
	dev_spi_write(0x4ce,0x65);
	dev_spi_write(0x4cf,0xf3);
	dev_spi_write(0x4d0,0x4d);
	dev_spi_write(0x4d1,0x33);
	dev_spi_write(0x4d2,0xc4);
	dev_spi_write(0x4d3,0xf8);
	dev_spi_write(0x4d4,0x80);
	dev_spi_write(0x4d5,0x3b);
	dev_spi_write(0x4d6,0xea);
	dev_spi_write(0x4d7,0xd1);
	dev_spi_write(0x4d8,0x11);
	dev_spi_write(0x4d9,0x4c);
	dev_spi_write(0x4da,0x4);
	dev_spi_write(0x4db,0x20);
	dev_spi_write(0x4dc,0x54);
	dev_spi_write(0x4dd,0xf8);
	dev_spi_write(0x4de,0x4);
	dev_spi_write(0x4df,0x3b);
	dev_spi_write(0x4e0,0x93);
	dev_spi_write(0x4e1,0xf8);
	dev_spi_write(0x4e2,0x71);
	dev_spi_write(0x4e3,0x27);
	dev_spi_write(0x4e4,0x93);
	dev_spi_write(0x4e5,0xf8);
	dev_spi_write(0x4e6,0x72);
	dev_spi_write(0x4e7,0x17);
	dev_spi_write(0x4e8,0x40);
	dev_spi_write(0x4e9,0x1e);
	dev_spi_write(0x4ea,0x1);
	dev_spi_write(0x4eb,0xea);
	dev_spi_write(0x4ec,0x2);
	dev_spi_write(0x4ed,0x1);
	dev_spi_write(0x4ee,0x83);
	dev_spi_write(0x4ef,0xf8);
	dev_spi_write(0x4f0,0x70);
	dev_spi_write(0x4f1,0x17);
	dev_spi_write(0x4f2,0xf3);
	dev_spi_write(0x4f3,0xd1);
	dev_spi_write(0x4f4,0xb0);
	dev_spi_write(0x4f5,0xbd);
	dev_spi_write(0x4f6,0x8);
	dev_spi_write(0x4f7,0xb5);
	dev_spi_write(0x4f8,0xd7);
	dev_spi_write(0x4f9,0xf7);
	dev_spi_write(0x4fa,0xaa);
	dev_spi_write(0x4fb,0xff);
	dev_spi_write(0x4fc,0xff);
	dev_spi_write(0x4fd,0xf7);
	dev_spi_write(0x4fe,0xcc);
	dev_spi_write(0x4ff,0xff);
	dev_spi_write(0x500,0x8);
	dev_spi_write(0x501,0xbd);
	dev_spi_write(0x502,0x8);
	dev_spi_write(0x503,0xb5);
	dev_spi_write(0x504,0xd8);
	dev_spi_write(0x505,0xf7);
	dev_spi_write(0x506,0x58);
	dev_spi_write(0x507,0xf8);
	dev_spi_write(0x508,0xff);
	dev_spi_write(0x509,0xf7);
	dev_spi_write(0x50a,0xc6);
	dev_spi_write(0x50b,0xff);
	dev_spi_write(0x50c,0x8);
	dev_spi_write(0x50d,0xbd);
	dev_spi_write(0x50e,0xc0);
	dev_spi_write(0x50f,0x46);
	dev_spi_write(0x510,0xc2);
	dev_spi_write(0x511,0x19);
	dev_spi_write(0x512,0x1);
	dev_spi_write(0x513,0x20);
	dev_spi_write(0x514,0xcf);
	dev_spi_write(0x515,0x23);
	dev_spi_write(0x516,0x1);
	dev_spi_write(0x517,0x20);
	dev_spi_write(0x518,0xbc);
	dev_spi_write(0x519,0x77);
	dev_spi_write(0x51a,0x2);
	dev_spi_write(0x51b,0x0);
	dev_spi_write(0x51c,0xa8);
	dev_spi_write(0x51d,0x75);
	dev_spi_write(0x51e,0x2);
	dev_spi_write(0x51f,0x0);
	dev_spi_write(0x520,0x9c);
	dev_spi_write(0x521,0x77);
	dev_spi_write(0x522,0x2);
	dev_spi_write(0x523,0x0);
	dev_spi_write(0x524,0xf8);
	dev_spi_write(0x525,0xb5);
	dev_spi_write(0x526,0x4f);
	dev_spi_write(0x527,0xf0);
	dev_spi_write(0x528,0x22);
	dev_spi_write(0x529,0x42);
	dev_spi_write(0x52a,0x92);
	dev_spi_write(0x52b,0xf9);
	dev_spi_write(0x52c,0xb5);
	dev_spi_write(0x52d,0x3);
	dev_spi_write(0x52e,0x92);
	dev_spi_write(0x52f,0xf8);
	dev_spi_write(0x530,0xb4);
	dev_spi_write(0x531,0xc3);
	dev_spi_write(0x532,0x2a);
	dev_spi_write(0x533,0x28);
	dev_spi_write(0x534,0x28);
	dev_spi_write(0x535,0xdc);
	dev_spi_write(0x536,0x10);
	dev_spi_write(0x537,0xf1);
	dev_spi_write(0x538,0x5);
	dev_spi_write(0x539,0xf);
	dev_spi_write(0x53a,0x25);
	dev_spi_write(0x53b,0xdb);
	dev_spi_write(0x53c,0x14);
	dev_spi_write(0x53d,0x4f);
	dev_spi_write(0x53e,0x0);
	dev_spi_write(0x53f,0x23);
	dev_spi_write(0x540,0x1);
	dev_spi_write(0x541,0x22);
	dev_spi_write(0x542,0x1e);
	dev_spi_write(0x543,0x46);
	dev_spi_write(0x544,0xb);
	dev_spi_write(0x545,0x70);
	dev_spi_write(0x546,0x1d);
	dev_spi_write(0x547,0x46);
	dev_spi_write(0x548,0x14);
	dev_spi_write(0x549,0x46);
	dev_spi_write(0x54a,0x31);
	dev_spi_write(0x54b,0x19);
	dev_spi_write(0x54c,0x49);
	dev_spi_write(0x54d,0x1e);
	dev_spi_write(0x54e,0x2);
	dev_spi_write(0x54f,0xfa);
	dev_spi_write(0x550,0x1);
	dev_spi_write(0x551,0xf1);
	dev_spi_write(0x552,0x1c);
	dev_spi_write(0x553,0xea);
	dev_spi_write(0x554,0x1);
	dev_spi_write(0x555,0xf);
	dev_spi_write(0x556,0x3);
	dev_spi_write(0x557,0xd0);
	dev_spi_write(0x558,0x5);
	dev_spi_write(0x559,0xeb);
	dev_spi_write(0x55a,0x45);
	dev_spi_write(0x55b,0x1);
	dev_spi_write(0x55c,0x9);
	dev_spi_write(0x55d,0x19);
	dev_spi_write(0x55e,0x78);
	dev_spi_write(0x55f,0x54);
	dev_spi_write(0x560,0x64);
	dev_spi_write(0x561,0x1c);
	dev_spi_write(0x562,0x3);
	dev_spi_write(0x563,0x2c);
	dev_spi_write(0x564,0xf1);
	dev_spi_write(0x565,0xdb);
	dev_spi_write(0x566,0x6d);
	dev_spi_write(0x567,0x1c);
	dev_spi_write(0x568,0xb6);
	dev_spi_write(0x569,0x1c);
	dev_spi_write(0x56a,0x2);
	dev_spi_write(0x56b,0x2d);
	dev_spi_write(0x56c,0xec);
	dev_spi_write(0x56d,0xdb);
	dev_spi_write(0x56e,0x19);
	dev_spi_write(0x56f,0x1d);
	dev_spi_write(0x570,0x2);
	dev_spi_write(0x571,0xfa);
	dev_spi_write(0x572,0x1);
	dev_spi_write(0x573,0xf1);
	dev_spi_write(0x574,0x1c);
	dev_spi_write(0x575,0xea);
	dev_spi_write(0x576,0x1);
	dev_spi_write(0x577,0xf);
	dev_spi_write(0x578,0x1c);
	dev_spi_write(0x579,0xbf);
	dev_spi_write(0x57a,0x3);
	dev_spi_write(0x57b,0xeb);
	dev_spi_write(0x57c,0x43);
	dev_spi_write(0x57d,0x1);
	dev_spi_write(0x57e,0x78);
	dev_spi_write(0x57f,0x54);
	dev_spi_write(0x580,0x5b);
	dev_spi_write(0x581,0x1c);
	dev_spi_write(0x582,0x2);
	dev_spi_write(0x583,0x2b);
	dev_spi_write(0x584,0xf3);
	dev_spi_write(0x585,0xdb);
	dev_spi_write(0x586,0xf8);
	dev_spi_write(0x587,0xbd);
	dev_spi_write(0x588,0x4);
	dev_spi_write(0x589,0x20);
	dev_spi_write(0x58a,0x8);
	dev_spi_write(0x58b,0x70);
	dev_spi_write(0x58c,0xf8);
	dev_spi_write(0x58d,0xbd);
	dev_spi_write(0x58e,0xc0);
	dev_spi_write(0x58f,0x46);
	dev_spi_write(0x590,0x94);
	dev_spi_write(0x591,0x23);
	dev_spi_write(0x592,0x1);
	dev_spi_write(0x593,0x20);
	dev_spi_write(0x594,0x14);
	dev_spi_write(0x595,0x49);
	dev_spi_write(0x596,0x13);
	dev_spi_write(0x597,0x48);
	dev_spi_write(0x598,0x9);
	dev_spi_write(0x599,0x68);
	dev_spi_write(0x59a,0x0);
	dev_spi_write(0x59b,0x88);
	dev_spi_write(0x59c,0x0);
	dev_spi_write(0x59d,0x22);
	dev_spi_write(0x59e,0x48);
	dev_spi_write(0x59f,0x43);
	dev_spi_write(0x5a0,0xc0);
	dev_spi_write(0x5a1,0xf3);
	dev_spi_write(0x5a2,0x40);
	dev_spi_write(0x5a3,0x11);
	dev_spi_write(0x5a4,0x1);
	dev_spi_write(0x5a5,0xeb);
	dev_spi_write(0x5a6,0x90);
	dev_spi_write(0x5a7,0x10);
	dev_spi_write(0x5a8,0x6);
	dev_spi_write(0x5a9,0xe0);
	dev_spi_write(0x5aa,0x13);
	dev_spi_write(0x5ab,0x21);
	dev_spi_write(0x5ac,0xc0);
	dev_spi_write(0x5ad,0xf2);
	dev_spi_write(0x5ae,0x0);
	dev_spi_write(0x5af,0x1);
	dev_spi_write(0x5b0,0x49);
	dev_spi_write(0x5b1,0x1e);
	dev_spi_write(0x5b2,0xfd);
	dev_spi_write(0x5b3,0xd1);
	dev_spi_write(0x5b4,0x0);
	dev_spi_write(0x5b5,0xbf);
	dev_spi_write(0x5b6,0x52);
	dev_spi_write(0x5b7,0x1c);
	dev_spi_write(0x5b8,0x90);
	dev_spi_write(0x5b9,0x42);
	dev_spi_write(0x5ba,0xf6);
	dev_spi_write(0x5bb,0xd8);
	dev_spi_write(0x5bc,0x70);
	dev_spi_write(0x5bd,0x47);
	dev_spi_write(0x5be,0xf8);
	dev_spi_write(0x5bf,0xb5);
	dev_spi_write(0x5c0,0xa);
	dev_spi_write(0x5c1,0x4d);
	dev_spi_write(0x5c2,0x0);
	dev_spi_write(0x5c3,0x24);
	dev_spi_write(0x5c4,0xe);
	dev_spi_write(0x5c5,0x46);
	dev_spi_write(0x5c6,0x7);
	dev_spi_write(0x5c7,0x46);
	dev_spi_write(0x5c8,0x7);
	dev_spi_write(0x5c9,0xe0);
	dev_spi_write(0x5ca,0x38);
	dev_spi_write(0x5cb,0x46);
	dev_spi_write(0x5cc,0x31);
	dev_spi_write(0x5cd,0x46);
	dev_spi_write(0x5ce,0xe5);
	dev_spi_write(0x5cf,0xf7);
	dev_spi_write(0x5d0,0x2f);
	dev_spi_write(0x5d1,0xf9);
	dev_spi_write(0x5d2,0xff);
	dev_spi_write(0x5d3,0xf7);
	dev_spi_write(0x5d4,0xdf);
	dev_spi_write(0x5d5,0xff);
	dev_spi_write(0x5d6,0x64);
	dev_spi_write(0x5d7,0x1c);
	dev_spi_write(0x5d8,0xe4);
	dev_spi_write(0x5d9,0xb2);
	dev_spi_write(0x5da,0x28);
	dev_spi_write(0x5db,0x78);
	dev_spi_write(0x5dc,0xa0);
	dev_spi_write(0x5dd,0x42);
	dev_spi_write(0x5de,0xf4);
	dev_spi_write(0x5df,0xdc);
	dev_spi_write(0x5e0,0xf8);
	dev_spi_write(0x5e1,0xbd);
	dev_spi_write(0x5e2,0xc0);
	dev_spi_write(0x5e3,0x46);
	dev_spi_write(0x5e4,0xca);
	dev_spi_write(0x5e5,0x23);
	dev_spi_write(0x5e6,0x1);
	dev_spi_write(0x5e7,0x20);
	dev_spi_write(0x5e8,0x68);
	dev_spi_write(0x5e9,0x3);
	dev_spi_write(0x5ea,0x1);
	dev_spi_write(0x5eb,0x20);
	dev_spi_write(0x5ec,0xd2);
	dev_spi_write(0x5ed,0x23);
	dev_spi_write(0x5ee,0x1);
	dev_spi_write(0x5ef,0x20);
	dev_spi_write(0x5f0,0x2d);
	dev_spi_write(0x5f1,0xe9);
	dev_spi_write(0x5f2,0xfe);
	dev_spi_write(0x5f3,0x4f);
	dev_spi_write(0x5f4,0x0);
	dev_spi_write(0x5f5,0x25);
	dev_spi_write(0x5f6,0x9b);
	dev_spi_write(0x5f7,0x46);
	dev_spi_write(0x5f8,0x91);
	dev_spi_write(0x5f9,0x46);
	dev_spi_write(0x5fa,0x80);
	dev_spi_write(0x5fb,0x46);
	dev_spi_write(0x5fc,0xc);
	dev_spi_write(0x5fd,0xaf);
	dev_spi_write(0x5fe,0x1);
	dev_spi_write(0x5ff,0x91);
	dev_spi_write(0x600,0x97);
	dev_spi_write(0x601,0xf8);
	dev_spi_write(0x602,0x0);
	dev_spi_write(0x603,0xa0);
	dev_spi_write(0x604,0x1);
	dev_spi_write(0x605,0x98);
	dev_spi_write(0x606,0x8);
	dev_spi_write(0x607,0xb9);
	dev_spi_write(0x608,0x5d);
	dev_spi_write(0x609,0x45);
	dev_spi_write(0x60a,0x19);
	dev_spi_write(0x60b,0xd1);
	dev_spi_write(0x60c,0x5);
	dev_spi_write(0x60d,0xeb);
	dev_spi_write(0x60e,0x49);
	dev_spi_write(0x60f,0x1);
	dev_spi_write(0x610,0x8);
	dev_spi_write(0x611,0xeb);
	dev_spi_write(0x612,0xc5);
	dev_spi_write(0x613,0x0);
	dev_spi_write(0x614,0x8);
	dev_spi_write(0x615,0xeb);
	dev_spi_write(0x616,0xc1);
	dev_spi_write(0x617,0x6);
	dev_spi_write(0x618,0xb0);
	dev_spi_write(0x619,0xf9);
	dev_spi_write(0x61a,0xa4);
	dev_spi_write(0x61b,0x7c);
	dev_spi_write(0x61c,0xb6);
	dev_spi_write(0x61d,0xf9);
	dev_spi_write(0x61e,0x24);
	dev_spi_write(0x61f,0x40);
	dev_spi_write(0x620,0x4a);
	dev_spi_write(0x621,0x46);
	dev_spi_write(0x622,0x2b);
	dev_spi_write(0x623,0x46);
	dev_spi_write(0x624,0x40);
	dev_spi_write(0x625,0x46);
	dev_spi_write(0x626,0x0);
	dev_spi_write(0x627,0x21);
	dev_spi_write(0x628,0xcd);
	dev_spi_write(0x629,0xf8);
	dev_spi_write(0x62a,0x0);
	dev_spi_write(0x62b,0xa0);
	dev_spi_write(0x62c,0xd3);
	dev_spi_write(0x62d,0xf7);
	dev_spi_write(0x62e,0x81);
	dev_spi_write(0x62f,0xfa);
	dev_spi_write(0x630,0xe4);
	dev_spi_write(0x631,0x1b);
	dev_spi_write(0x632,0x6f);
	dev_spi_write(0x633,0xf3);
	dev_spi_write(0x634,0xdf);
	dev_spi_write(0x635,0x34);
	dev_spi_write(0x636,0x84);
	dev_spi_write(0x637,0xf4);
	dev_spi_write(0x638,0x80);
	dev_spi_write(0x639,0x44);
	dev_spi_write(0x63a,0xa4);
	dev_spi_write(0x63b,0xf5);
	dev_spi_write(0x63c,0x80);
	dev_spi_write(0x63d,0x44);
	dev_spi_write(0x63e,0xb4);
	dev_spi_write(0x63f,0x84);
	dev_spi_write(0x640,0x6d);
	dev_spi_write(0x641,0x1c);
	dev_spi_write(0x642,0x2);
	dev_spi_write(0x643,0x2d);
	dev_spi_write(0x644,0xde);
	dev_spi_write(0x645,0xdb);
	dev_spi_write(0x646,0xbd);
	dev_spi_write(0x647,0xe8);
	dev_spi_write(0x648,0xfe);
	dev_spi_write(0x649,0x8f);
	dev_spi_write(0x64a,0x0);
	dev_spi_write(0x64b,0x0);
	dev_spi_write(0x64c,0x10);
	dev_spi_write(0x64d,0xb5);
	dev_spi_write(0x64e,0x4);
	dev_spi_write(0x64f,0x46);
	dev_spi_write(0x650,0xdb);
	dev_spi_write(0x651,0xf7);
	dev_spi_write(0x652,0xda);
	dev_spi_write(0x653,0xf9);
	dev_spi_write(0x654,0x20);
	dev_spi_write(0x655,0x46);
	dev_spi_write(0x656,0xff);
	dev_spi_write(0x657,0xf7);
	dev_spi_write(0x658,0xae);
	dev_spi_write(0x659,0xfb);
	dev_spi_write(0x65a,0x10);
	dev_spi_write(0x65b,0xbd);
	dev_spi_write(0x65c,0x10);
	dev_spi_write(0x65d,0xb5);
	dev_spi_write(0x65e,0xb);
	dev_spi_write(0x65f,0x4a);
	dev_spi_write(0x660,0xb);
	dev_spi_write(0x661,0x4c);
	dev_spi_write(0x662,0xc);
	dev_spi_write(0x663,0x21);
	dev_spi_write(0x664,0x83);
	dev_spi_write(0x665,0x18);
	dev_spi_write(0x666,0x10);
	dev_spi_write(0x667,0xfb);
	dev_spi_write(0x668,0x1);
	dev_spi_write(0x669,0x42);
	dev_spi_write(0x66a,0x93);
	dev_spi_write(0x66b,0xf8);
	dev_spi_write(0x66c,0xb8);
	dev_spi_write(0x66d,0x11);
	dev_spi_write(0x66e,0x54);
	dev_spi_write(0x66f,0x68);
	dev_spi_write(0x670,0xc1);
	dev_spi_write(0x671,0xf1);
	dev_spi_write(0x672,0x1);
	dev_spi_write(0x673,0x1);
	dev_spi_write(0x674,0x92);
	dev_spi_write(0x675,0x68);
	dev_spi_write(0x676,0x84);
	dev_spi_write(0x677,0xf8);
	dev_spi_write(0x678,0x70);
	dev_spi_write(0x679,0x17);
	dev_spi_write(0x67a,0x93);
	dev_spi_write(0x67b,0xf8);
	dev_spi_write(0x67c,0xb8);
	dev_spi_write(0x67d,0x11);
	dev_spi_write(0x67e,0xc1);
	dev_spi_write(0x67f,0xf1);
	dev_spi_write(0x680,0x1);
	dev_spi_write(0x681,0x1);
	dev_spi_write(0x682,0x82);
	dev_spi_write(0x683,0xf8);
	dev_spi_write(0x684,0x70);
	dev_spi_write(0x685,0x17);
	dev_spi_write(0x686,0xdc);
	dev_spi_write(0x687,0xf7);
	dev_spi_write(0x688,0xde);
	dev_spi_write(0x689,0xfa);
	dev_spi_write(0x68a,0x10);
	dev_spi_write(0x68b,0xbd);
	dev_spi_write(0x68c,0xb4);
	dev_spi_write(0x68d,0x1);
	dev_spi_write(0x68e,0x1);
	dev_spi_write(0x68f,0x20);
	dev_spi_write(0x690,0xa8);
	dev_spi_write(0x691,0x75);
	dev_spi_write(0x692,0x2);
	dev_spi_write(0x693,0x0);
	dev_spi_write(0x694,0x8);
	dev_spi_write(0x695,0xb5);
	dev_spi_write(0x696,0xea);
	dev_spi_write(0x697,0xf7);
	dev_spi_write(0x698,0x7b);
	dev_spi_write(0x699,0xfb);
	dev_spi_write(0x69a,0x4f);
	dev_spi_write(0x69b,0xf4);
	dev_spi_write(0x69c,0x11);
	dev_spi_write(0x69d,0x60);
	dev_spi_write(0x69e,0x0);
	dev_spi_write(0x69f,0x78);
	dev_spi_write(0x6a0,0x8);
	dev_spi_write(0x6a1,0xbd);
	dev_spi_write(0x6a2,0x38);
	dev_spi_write(0x6a3,0xb5);
	dev_spi_write(0x6a4,0x4);
	dev_spi_write(0x6a5,0x4d);
	dev_spi_write(0x6a6,0x5);
	dev_spi_write(0x6a7,0x4c);
	dev_spi_write(0x6a8,0x5);
	dev_spi_write(0x6a9,0x4b);
	dev_spi_write(0x6aa,0x2d);
	dev_spi_write(0x6ab,0x78);
	dev_spi_write(0x6ac,0x24);
	dev_spi_write(0x6ad,0x78);
	dev_spi_write(0x6ae,0x1b);
	dev_spi_write(0x6af,0x78);
	dev_spi_write(0x6b0,0xea);
	dev_spi_write(0x6b1,0xf7);
	dev_spi_write(0x6b2,0xb6);
	dev_spi_write(0x6b3,0xfb);
	dev_spi_write(0x6b4,0x38);
	dev_spi_write(0x6b5,0xbd);
	dev_spi_write(0x6b6,0xc0);
	dev_spi_write(0x6b7,0x46);
	dev_spi_write(0x6b8,0x20);
	dev_spi_write(0x6b9,0x0);
	dev_spi_write(0x6ba,0x0);
	dev_spi_write(0x6bb,0x64);
	dev_spi_write(0x6bc,0x20);
	dev_spi_write(0x6bd,0x0);
	dev_spi_write(0x6be,0x0);
	dev_spi_write(0x6bf,0x54);
	dev_spi_write(0x6c0,0x20);
	dev_spi_write(0x6c1,0x0);
	dev_spi_write(0x6c2,0x0);
	dev_spi_write(0x6c3,0x74);
	dev_spi_write(0x6c4,0x8);
	dev_spi_write(0x6c5,0xb5);
	dev_spi_write(0x6c6,0xb2);
	dev_spi_write(0x6c7,0xf1);
	dev_spi_write(0x6c8,0x20);
	dev_spi_write(0x6c9,0x3);
	dev_spi_write(0x6ca,0x27);
	dev_spi_write(0x6cb,0xbf);
	dev_spi_write(0x6cc,0x0);
	dev_spi_write(0x6cd,0xfa);
	dev_spi_write(0x6ce,0x3);
	dev_spi_write(0x6cf,0xf1);
	dev_spi_write(0x6d0,0x0);
	dev_spi_write(0x6d1,0x20);
	dev_spi_write(0x6d2,0x5b);
	dev_spi_write(0x6d3,0x42);
	dev_spi_write(0x6d4,0x91);
	dev_spi_write(0x6d5,0x40);
	dev_spi_write(0x6d6,0x3e);
	dev_spi_write(0x6d7,0xbf);
	dev_spi_write(0x6d8,0x20);
	dev_spi_write(0x6d9,0xfa);
	dev_spi_write(0x6da,0x3);
	dev_spi_write(0x6db,0xf3);
	dev_spi_write(0x6dc,0x19);
	dev_spi_write(0x6dd,0x43);
	dev_spi_write(0x6de,0x90);
	dev_spi_write(0x6df,0x40);
	dev_spi_write(0x6e0,0x8);
	dev_spi_write(0x6e1,0xbd);
	dev_spi_write(0x6e2,0x0);
	dev_spi_write(0x6e3,0x0);
	dev_spi_write(0x6e4,0x38);
	dev_spi_write(0x6e5,0xb5);
	dev_spi_write(0x6e6,0x5);
	dev_spi_write(0x6e7,0x4d);
	dev_spi_write(0x6e8,0x0);
	dev_spi_write(0x6e9,0x24);
	dev_spi_write(0x6ea,0x28);
	dev_spi_write(0x6eb,0x68);
	dev_spi_write(0x6ec,0x1);
	dev_spi_write(0x6ed,0x46);
	dev_spi_write(0x6ee,0x20);
	dev_spi_write(0x6ef,0x46);
	dev_spi_write(0x6f0,0x88);
	dev_spi_write(0x6f1,0x47);
	dev_spi_write(0x6f2,0x64);
	dev_spi_write(0x6f3,0x1c);
	dev_spi_write(0x6f4,0x4);
	dev_spi_write(0x6f5,0x2c);
	dev_spi_write(0x6f6,0xf8);
	dev_spi_write(0x6f7,0xdb);
	dev_spi_write(0x6f8,0x38);
	dev_spi_write(0x6f9,0xbd);
	dev_spi_write(0x6fa,0xc0);
	dev_spi_write(0x6fb,0x46);
	dev_spi_write(0x6fc,0xec);
	dev_spi_write(0x6fd,0xde);
	dev_spi_write(0x6fe,0x0);
	dev_spi_write(0x6ff,0x20);
	dev_spi_write(0x700,0x70);
	dev_spi_write(0x701,0x47);
	dev_spi_write(0x702,0x3);
	dev_spi_write(0x703,0x48);
	dev_spi_write(0x704,0x0);
	dev_spi_write(0x705,0x78);
	dev_spi_write(0x706,0x8);
	dev_spi_write(0x707,0xb9);
	dev_spi_write(0x708,0xee);
	dev_spi_write(0x709,0xf7);
	dev_spi_write(0x70a,0x6e);
	dev_spi_write(0x70b,0xb8);
	dev_spi_write(0x70c,0x70);
	dev_spi_write(0x70d,0x47);
	dev_spi_write(0x70e,0xc0);
	dev_spi_write(0x70f,0x46);
	dev_spi_write(0x710,0xa1);
	dev_spi_write(0x711,0x13);
	dev_spi_write(0x712,0x1);
	dev_spi_write(0x713,0x20);
	dev_spi_write(0x714,0x3);
	dev_spi_write(0x715,0x48);
	dev_spi_write(0x716,0x8);
	dev_spi_write(0x717,0x21);
	dev_spi_write(0x718,0x41);
	dev_spi_write(0x719,0x76);
	dev_spi_write(0x71a,0x9);
	dev_spi_write(0x71b,0x21);
	dev_spi_write(0x71c,0xc1);
	dev_spi_write(0x71d,0x76);
	dev_spi_write(0x71e,0x41);
	dev_spi_write(0x71f,0x77);
	dev_spi_write(0x720,0x70);
	dev_spi_write(0x721,0x47);
	dev_spi_write(0x722,0xc0);
	dev_spi_write(0x723,0x46);
	dev_spi_write(0x724,0x88);
	dev_spi_write(0x725,0x18);
	dev_spi_write(0x726,0x1);
	dev_spi_write(0x727,0x20);
	dev_spi_write(0x728,0x1);
	dev_spi_write(0x729,0x48);
	dev_spi_write(0x72a,0x0);
	dev_spi_write(0x72b,0x78);
	dev_spi_write(0x72c,0xeb);
	dev_spi_write(0x72d,0xf7);
	dev_spi_write(0x72e,0x95);
	dev_spi_write(0x72f,0xbb);
	dev_spi_write(0x730,0x82);
	dev_spi_write(0x731,0x0);
	dev_spi_write(0x732,0x0);
	dev_spi_write(0x733,0xa9);
	dev_spi_write(0x734,0x0);
	dev_spi_write(0x735,0x4);
	dev_spi_write(0x736,0x7);
	dev_spi_write(0x737,0x7);
	dev_spi_write(0x738,0x0);
	dev_spi_write(0x739,0x0);
	dev_spi_write(0x73a,0x3);
	dev_spi_write(0x73b,0x7);
	dev_spi_write(0x73c,0x0);
	dev_spi_write(0x73d,0x0);
	dev_spi_write(0x73e,0x0);
	dev_spi_write(0x73f,0x7);
	dev_spi_write(0x740,0x0);
	dev_spi_write(0x741,0x5);
	dev_spi_write(0x742,0x5);
	dev_spi_write(0x743,0x7);
	dev_spi_write(0x744,0x7);
	dev_spi_write(0x745,0x0);
	dev_spi_write(0x746,0xa);
	dev_spi_write(0x747,0xc);
	dev_spi_write(0x748,0xa);
	dev_spi_write(0x749,0x16);
	dev_spi_write(0x74a,0x14);
	dev_spi_write(0x74b,0x16);
	dev_spi_write(0x74c,0x14);
	dev_spi_write(0x74d,0x0);
	dev_spi_write(0x74e,0x16);
	dev_spi_write(0x74f,0x0);
	dev_spi_write(0x750,0x16);
	dev_spi_write(0x751,0x16);
	dev_spi_write(0x752,0x14);
	dev_spi_write(0x753,0x16);
	dev_spi_write(0x754,0x14);
	dev_spi_write(0x755,0x0);
	dev_spi_write(0x756,0x0);
	dev_spi_write(0x757,0x0);
	dev_spi_write(0x758,0x0);
	dev_spi_write(0x759,0x16);
	dev_spi_write(0x75a,0x14);
	dev_spi_write(0x75b,0x16);
	dev_spi_write(0x75c,0x14);
	dev_spi_write(0x75d,0x0);
	dev_spi_write(0x75e,0x7);
	dev_spi_write(0x75f,0x0);
	dev_spi_write(0x760,0x0);
	dev_spi_write(0x761,0x0);
	dev_spi_write(0x762,0x0);
	dev_spi_write(0x763,0x0);
	dev_spi_write(0x764,0x0);
	dev_spi_write(0x765,0x1);
	dev_spi_write(0x766,0x3);
	dev_spi_write(0x767,0x1);
	dev_spi_write(0x768,0x10);
	dev_spi_write(0x769,0xa);
	dev_spi_write(0x76a,0x10);
	dev_spi_write(0x76b,0x0);
	dev_spi_write(0x76c,0x0);
	dev_spi_write(0x76d,0x0);
	dev_spi_write(0x76e,0x0);
	dev_spi_write(0x76f,0x0);
	dev_spi_write(0x770,0x0);
	dev_spi_write(0x771,0x0);
	dev_spi_write(0x772,0x0);
	dev_spi_write(0x773,0x7);
	dev_spi_write(0x774,0x3);
	dev_spi_write(0x775,0x1);
	dev_spi_write(0x776,0x10);
	dev_spi_write(0x777,0xa);
	dev_spi_write(0x778,0x10);
	dev_spi_write(0x779,0x0);
	dev_spi_write(0x77a,0x7);
	dev_spi_write(0x77b,0x0);
	dev_spi_write(0x77c,0x1);
	dev_spi_write(0x77d,0x0);
	dev_spi_write(0x77e,0xa);
	dev_spi_write(0x77f,0x0);
	dev_spi_write(0x780,0x0);
	dev_spi_write(0x781,0x7);
	dev_spi_write(0x782,0x0);
	dev_spi_write(0x783,0x1);
	dev_spi_write(0x784,0x0);
	dev_spi_write(0x785,0xa);
	dev_spi_write(0x786,0x0);
	dev_spi_write(0x787,0x0);
	dev_spi_write(0x788,0x1);
	dev_spi_write(0x789,0x10);
	dev_spi_write(0x78a,0x1);
	dev_spi_write(0x78b,0x10);
	dev_spi_write(0x78c,0xa);
	dev_spi_write(0x78d,0x0);
	dev_spi_write(0x78e,0x0);
	dev_spi_write(0x78f,0x7);
	dev_spi_write(0x790,0x12);
	dev_spi_write(0x791,0x1);
	dev_spi_write(0x792,0x10);
	dev_spi_write(0x793,0xa);
	dev_spi_write(0x794,0x0);
	dev_spi_write(0x795,0x0);
	dev_spi_write(0x796,0x1);
	dev_spi_write(0x797,0x0);
	dev_spi_write(0x798,0xa);
	dev_spi_write(0x799,0x0);
	dev_spi_write(0x79a,0x0);
	dev_spi_write(0x79b,0x0);
	dev_spi_write(0x79c,0x0);
	dev_spi_write(0x79d,0x1);
	dev_spi_write(0x79e,0x10);
	dev_spi_write(0x79f,0xa);
	dev_spi_write(0x7a0,0x0);
	dev_spi_write(0x7a1,0x0);
	dev_spi_write(0x7a2,0x0);
	dev_spi_write(0x7a3,0x0);
	dev_spi_write(0x7a4,0x0);
	dev_spi_write(0x7a5,0x3);
	dev_spi_write(0x7a6,0x0);
	dev_spi_write(0x7a7,0x0);
	dev_spi_write(0x7a8,0x0);
	dev_spi_write(0x7a9,0x0);
	dev_spi_write(0x7aa,0x0);
	dev_spi_write(0x7ab,0x0);
	dev_spi_write(0x7ac,0x0);
	dev_spi_write(0x7ad,0x0);
	dev_spi_write(0x7ae,0x0);
	dev_spi_write(0x7af,0x0);
	dev_spi_write(0x7b0,0x0);
	dev_spi_write(0x7b1,0x0);
	dev_spi_write(0x7b2,0x0);
	dev_spi_write(0x7b3,0x0);
	dev_spi_write(0x7b4,0x0);
	dev_spi_write(0x7b5,0x0);
	dev_spi_write(0x7b6,0x0);
	dev_spi_write(0x7b7,0x0);
	dev_spi_write(0x7b8,0x0);
	dev_spi_write(0x7b9,0x0);
	dev_spi_write(0x7ba,0x12);
	dev_spi_write(0x7bb,0x0);
	dev_spi_write(0x7bc,0x0);
	dev_spi_write(0x7bd,0x0);
	dev_spi_write(0x7be,0x0);
	dev_spi_write(0x7bf,0x0);
	dev_spi_write(0x7c0,0x1);
	dev_spi_write(0x7c1,0x3);
	dev_spi_write(0x7c2,0x1);
	dev_spi_write(0x7c3,0x10);
	dev_spi_write(0x7c4,0xa);
	dev_spi_write(0x7c5,0x10);
	dev_spi_write(0x7c6,0x0);
	dev_spi_write(0x7c7,0x1);
	dev_spi_write(0x7c8,0x3);
	dev_spi_write(0x7c9,0x1);
	dev_spi_write(0x7ca,0x10);
	dev_spi_write(0x7cb,0xa);
	dev_spi_write(0x7cc,0x10);
	dev_spi_write(0x7cd,0x0);
	dev_spi_write(0x7ce,0x0);
	dev_spi_write(0x7cf,0x12);
	dev_spi_write(0x7d0,0x1);
	dev_spi_write(0x7d1,0x10);
	dev_spi_write(0x7d2,0xa);
	dev_spi_write(0x7d3,0x0);
	dev_spi_write(0x7d4,0x0);
	dev_spi_write(0x7d5,0x0);
	dev_spi_write(0x7d6,0x12);
	dev_spi_write(0x7d7,0x1);
	dev_spi_write(0x7d8,0x10);
	dev_spi_write(0x7d9,0xa);
	dev_spi_write(0x7da,0x0);
	dev_spi_write(0x7db,0x0);
	dev_spi_write(0x7dc,0x1);
	dev_spi_write(0x7dd,0x10);
	dev_spi_write(0x7de,0x1);
	dev_spi_write(0x7df,0x10);
	dev_spi_write(0x7e0,0xa);
	dev_spi_write(0x7e1,0x0);
	dev_spi_write(0x7e2,0x0);
	dev_spi_write(0x7e3,0x1);
	dev_spi_write(0x7e4,0x10);
	dev_spi_write(0x7e5,0xa);
	dev_spi_write(0x7e6,0x0);
	dev_spi_write(0x7e7,0x0);
	dev_spi_write(0x7e8,0x0);
	dev_spi_write(0x7e9,0x0);
	dev_spi_write(0x7ea,0x0);
	dev_spi_write(0x7eb,0x0);
	dev_spi_write(0x7ec,0x0);
	dev_spi_write(0x7ed,0x0);
	dev_spi_write(0x7ee,0x0);
	dev_spi_write(0x7ef,0x0);
	dev_spi_write(0x7f0,0x0);
	dev_spi_write(0x7f1,0x0);
	dev_spi_write(0x7f2,0x0);
	dev_spi_write(0x7f3,0x0);
	dev_spi_write(0x7f4,0x0);
	dev_spi_write(0x7f5,0x0);
	dev_spi_write(0x7f6,0x0);
	dev_spi_write(0x7f7,0x0);
	dev_spi_write(0x7f8,0x0);
	dev_spi_write(0x7f9,0x0);
	dev_spi_write(0x7fa,0x0);
	dev_spi_write(0x7fb,0x0);
	dev_spi_write(0x7fc,0x0);
	dev_spi_write(0x7fd,0x0);
	dev_spi_write(0x7fe,0x0);
	dev_spi_write(0x7ff,0x0);
	dev_spi_write(0x800,0x3);
	dev_spi_write(0x801,0x0);
	dev_spi_write(0x802,0x0);
	dev_spi_write(0x803,0x0);
	dev_spi_write(0x804,0x0);
	dev_spi_write(0x805,0x0);
	dev_spi_write(0x806,0x0);
	dev_spi_write(0x807,0x0);
	dev_spi_write(0x808,0x0);
	dev_spi_write(0x809,0x0);
	dev_spi_write(0x80a,0x0);
	dev_spi_write(0x80b,0x0);
	dev_spi_write(0x80c,0x0);
	dev_spi_write(0x80d,0x7);
	dev_spi_write(0x80e,0x0);
	dev_spi_write(0x80f,0x0);
	dev_spi_write(0x810,0x0);
	dev_spi_write(0x811,0x0);
	dev_spi_write(0x812,0x0);
	dev_spi_write(0x813,0x0);
	dev_spi_write(0x814,0x1);
	dev_spi_write(0x815,0x3);
	dev_spi_write(0x816,0x1);
	dev_spi_write(0x817,0x10);
	dev_spi_write(0x818,0xa);
	dev_spi_write(0x819,0x10);
	dev_spi_write(0x81a,0x0);
	dev_spi_write(0x81b,0x9);
	dev_spi_write(0x81c,0x3);
	dev_spi_write(0x81d,0x1);
	dev_spi_write(0x81e,0x10);
	dev_spi_write(0x81f,0xa);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12792 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12792 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x8);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x28);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12804 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12804 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 12805 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x1);
	dev_spi_write(0x20,0x10);
	dev_spi_write(0x21,0x0);
	dev_spi_write(0x22,0x7);
	dev_spi_write(0x23,0x0);
	dev_spi_write(0x24,0x1);
	dev_spi_write(0x25,0x0);
	dev_spi_write(0x26,0xa);
	dev_spi_write(0x27,0x0);
	dev_spi_write(0x28,0x0);
	dev_spi_write(0x29,0x1);
	dev_spi_write(0x2a,0x10);
	dev_spi_write(0x2b,0xa);
	dev_spi_write(0x2c,0x10);
	dev_spi_write(0x2d,0xa);
	dev_spi_write(0x2e,0x0);
	dev_spi_write(0x2f,0x0);
	dev_spi_write(0x30,0x0);
	dev_spi_write(0x31,0x0);
	dev_spi_write(0x32,0x0);
	dev_spi_write(0x33,0x0);
	dev_spi_write(0x34,0x0);
	dev_spi_write(0x35,0x2);
	dev_spi_write(0x36,0x0);
	dev_spi_write(0x37,0x2);
	dev_spi_write(0x38,0x6);
	dev_spi_write(0x39,0x0);
	dev_spi_write(0x3a,0x0);
	dev_spi_write(0x3b,0x0);
	dev_spi_write(0x3c,0x0);
	dev_spi_write(0x3d,0x0);
	dev_spi_write(0x3e,0x0);
	dev_spi_write(0x3f,0x0);
	dev_spi_write(0x40,0x0);
	dev_spi_write(0x41,0x2);
	dev_spi_write(0x42,0x6);
	dev_spi_write(0x43,0x0);
	dev_spi_write(0x44,0x0);
	dev_spi_write(0x45,0x0);
	dev_spi_write(0x46,0x0);
	dev_spi_write(0x47,0x0);
	dev_spi_write(0x48,0x0);
	dev_spi_write(0x49,0x0);
	dev_spi_write(0x4a,0x0);
	dev_spi_write(0x4b,0x0);
	dev_spi_write(0x4c,0x6);
	dev_spi_write(0x4d,0x0);
	dev_spi_write(0x4e,0x0);
	dev_spi_write(0x4f,0x0);
	dev_spi_write(0x50,0x7c);
	dev_spi_write(0x51,0x1c);
	dev_spi_write(0x52,0x1);
	dev_spi_write(0x53,0x20);
	dev_spi_write(0x54,0xd1);
	dev_spi_write(0x55,0x1e);
	dev_spi_write(0x56,0x1);
	dev_spi_write(0x57,0x20);
	dev_spi_write(0x58,0x84);
	dev_spi_write(0x59,0x1a);
	dev_spi_write(0x5a,0x1);
	dev_spi_write(0x5b,0x20);
	dev_spi_write(0x5c,0x26);
	dev_spi_write(0x5d,0x7);
	dev_spi_write(0x5e,0x1);
	dev_spi_write(0x5f,0x20);
	dev_spi_write(0x60,0x4a);
	dev_spi_write(0x61,0xc);
	dev_spi_write(0x62,0x1);
	dev_spi_write(0x63,0x20);
	dev_spi_write(0x64,0x14);
	dev_spi_write(0x65,0x2f);
	dev_spi_write(0x66,0x3);
	dev_spi_write(0x67,0x0);
	dev_spi_write(0x68,0x20);
	dev_spi_write(0x69,0x2f);
	dev_spi_write(0x6a,0x3);
	dev_spi_write(0x6b,0x0);
	dev_spi_write(0x6c,0x25);
	dev_spi_write(0x6d,0x2f);
	dev_spi_write(0x6e,0x3);
	dev_spi_write(0x6f,0x0);
	dev_spi_write(0x70,0x3d);
	dev_spi_write(0x71,0x2f);
	dev_spi_write(0x72,0x3);
	dev_spi_write(0x73,0x0);
	dev_spi_write(0x74,0xfb);
	dev_spi_write(0x75,0x20);
	dev_spi_write(0x76,0x1);
	dev_spi_write(0x77,0x20);
	dev_spi_write(0x78,0x0);
	dev_spi_write(0x79,0x20);
	dev_spi_write(0x7a,0x1);
	dev_spi_write(0x7b,0x20);
	dev_spi_write(0x7c,0xc);
	dev_spi_write(0x7d,0x20);
	dev_spi_write(0x7e,0x1);
	dev_spi_write(0x7f,0x20);
	dev_spi_write(0x80,0x11);
	dev_spi_write(0x81,0x20);
	dev_spi_write(0x82,0x1);
	dev_spi_write(0x83,0x20);
	dev_spi_write(0x84,0x29);
	dev_spi_write(0x85,0x20);
	dev_spi_write(0x86,0x1);
	dev_spi_write(0x87,0x20);
	dev_spi_write(0x88,0x93);
	dev_spi_write(0x89,0x21);
	dev_spi_write(0x8a,0x1);
	dev_spi_write(0x8b,0x20);
	dev_spi_write(0x8c,0x0);
	dev_spi_write(0x8d,0x0);
	dev_spi_write(0x8e,0x0);
	dev_spi_write(0x8f,0x0);
	dev_spi_write(0x90,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12936 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12936 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x71);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x30);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12948 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12948 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 12949 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12962 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12962 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x78);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12970 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12970 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 12971 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12984 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12984 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x3);
	dev_spi_write(0x193,0x1);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 12992 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 12992 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 12993 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xc0,0x80);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x2a3,0x0);
	dev_spi_write(0x2a2,0x0);
	dev_spi_write(0x2a1,0x0);
	dev_spi_write(0x2a0,0x7e);
	dev_spi_write(0x2a7,0x1);
	dev_spi_write(0x2a6,0x0);
	dev_spi_write(0x2a5,0x0);
	dev_spi_write(0x2a4,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13029 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13029 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x2);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x34);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13037 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13037 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 13038 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13051 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13051 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x72);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13059 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13059 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 13060 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13073 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13073 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0xe);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x71);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13081 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13081 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 13082 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13095 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13095 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x1);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x73);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13103 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13103 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 13104 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x12,0x1);
	dev_spi_write(0x761,0xa);
	dev_spi_write(0x12,0x2);
	dev_spi_write(0x761,0xa);
	dev_spi_write(0x12,0x4);
	dev_spi_write(0x761,0xa);
	dev_spi_write(0x12,0x8);
	dev_spi_write(0x761,0xa);
	dev_spi_write(0x12,0x0);
	dev_spi_write(0x15,0x8);
	dev_spi_write(0x43,0x0);
	dev_spi_write(0x42,0x0);
	dev_spi_write(0x41,0x0);
	dev_spi_write(0x40,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xc1,0x60);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x1);
	dev_spi_write(0x540,0x0);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0x171);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13138 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13138 0x171 : %d\n",pollIter);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x3f,0x8);
	dev_spi_write(0x28,0x1);
	dev_spi_write(0x35,0x10);
	dev_spi_write(0x36,0x40);
	dev_spi_write(0x38,0x8);
	dev_spi_write(0x39,0x20);
	dev_spi_write(0x3b,0x8);
	dev_spi_write(0x46,0x60);
	dev_spi_write(0x46,0x60);
	dev_spi_write(0x43,0x18);
	dev_spi_write(0x43,0x18);
	dev_spi_write(0x4c,0x0);
	dev_spi_write(0x3c,0xe0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x10c,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x3c,0x60);
	dev_spi_write(0x3c,0x20);
	dev_spi_write(0x3d,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x10d,0x1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x56,0x43);
	dev_spi_write(0x56,0xc3);
	dev_spi_write(0x56,0xc3);
	dev_spi_write(0x56,0xf3);
	dev_spi_write(0x57,0x2);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x7f5,0x1);
	dev_spi_write(0x7f4,0x7f);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x6d,0x1);
	dev_spi_write(0x6c,0x7f);
	dev_spi_write(0x62,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x10f,0x18);
	dev_spi_write(0x10e,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x50,0xfe);
	dev_spi_write(0x50,0xfe);
	dev_spi_write(0x50,0xfe);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x110,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x51,0x3d);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x111,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x7f,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x112,0x1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x51,0x3d);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x113,0x3);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x7f,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x114,0x1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x51,0x3d);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x115,0x3);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x51,0x2d);
	dev_spi_write(0x63,0x1);
	dev_spi_write(0x72,0x2);
	dev_spi_write(0x6f,0x5);
	dev_spi_write(0x70,0x2);
	dev_spi_write(0x71,0x2);
	dev_spi_write(0x6d,0x1);
	dev_spi_write(0x6c,0x7f);
	dev_spi_write(0x7c,0x4);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x55,0xff);
	dev_spi_write(0x59,0x1);
	dev_spi_write(0x58,0x0);
	dev_spi_write(0x59,0x1);
	dev_spi_write(0x59,0x1);
	dev_spi_write(0x5c,0x0);
	dev_spi_write(0x5d,0x4);
	dev_spi_write(0x5d,0xc);
	dev_spi_write(0x3d,0x1);
	dev_spi_write(0x53,0x3);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x65,0x22);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x53,0x3);
	dev_spi_write(0x5e,0x0);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x3e,0x0);
	dev_spi_write(0x3f,0x8);
	dev_spi_write(0x65,0x20);
	dev_spi_write(0x87,0x0);
	dev_spi_write(0x5e,0x0);
	dev_spi_write(0x87,0x0);
	dev_spi_write(0x87,0x0);
	dev_spi_write(0x3e,0x0);
	dev_spi_write(0x51,0x2d);
	dev_spi_write(0x52,0x0);
	dev_spi_write(0x65,0x0);
	dev_spi_write(0x84,0x10);
	dev_spi_write(0x84,0x90);
	dev_spi_write(0x69,0x47);
	dev_spi_write(0x45,0x20);
	dev_spi_write(0x32,0x0);
	dev_spi_write(0x49,0x38);
	dev_spi_write(0x49,0x3d);
	dev_spi_write(0x4a,0x0);
	dev_spi_write(0x4b,0x0);
	dev_spi_write(0x4d,0xc0);
	dev_spi_write(0x4a,0x4);
	dev_spi_write(0x4b,0xf);
	dev_spi_write(0x4b,0x3f);
	dev_spi_write(0x51,0x2d);
	dev_spi_write(0x40,0x40);
	dev_spi_write(0x41,0x0);
	dev_spi_write(0x43,0xf8);
	dev_spi_write(0x75,0x8);
	dev_spi_write(0x75,0xe);
	dev_spi_write(0x45,0x24);
	dev_spi_write(0x31,0x0);
	dev_spi_write(0x46,0x63);
	dev_spi_write(0x45,0x24);
	dev_spi_write(0x64,0x7);
	dev_spi_write(0x65,0x0);
	dev_spi_write(0x4e,0x0);
	dev_spi_write(0x2d,0x0);
	dev_spi_write(0x35,0xb0);
	dev_spi_write(0x3e,0x0);
	dev_spi_write(0x73,0x0);
	dev_spi_write(0x56,0xf3);
	dev_spi_write(0x58,0x4);
	dev_spi_write(0x62,0x0);
	dev_spi_write(0x66,0x0);
	dev_spi_write(0x66,0x1);
	delaySec(0.001000);
	dev_spi_write(0x66,0x3);
	delaySec(0.005000);
	dev_spi_write(0x63,0x41);
	dev_spi_write(0x63,0x1);
	delaySec(0.001000);
	rdVal = dev_spi_read(0x66);
	if ((rdVal&0x10) != 0x10)
		xil_printf("Readcheck Error in Line 13311 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x66);
	if ((rdVal&0x40) != 0x0)
		xil_printf("Readcheck Error in Line 13312 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x66,0x31);
	dev_spi_write(0x63,0x81);
	dev_spi_write(0x63,0xc1);
	dev_spi_write(0x63,0xc2);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x0);
	dev_spi_write(0x858,0x0);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x1);
	dev_spi_write(0x858,0x1);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x0);
	dev_spi_write(0x858,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x6e,0x0);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x6a,0x2);
	dev_spi_write(0x58,0x6);
	delaySec(0.001000);
	dev_spi_write(0x58,0x4);
	dev_spi_write(0x63,0xc0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xc1,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x63,0x40);
	dev_spi_write(0x63,0x0);
	dev_spi_write(0x66,0x33);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x0);
	dev_spi_write(0x540,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x10d,0x3);
	dev_spi_write(0x10c,0x1f);
	dev_spi_write(0x1ad,0x3);
	dev_spi_write(0x1ac,0x1f);
	dev_spi_write(0x24d,0x3);
	dev_spi_write(0x24c,0x1f);
	dev_spi_write(0x2ed,0x3);
	dev_spi_write(0x2ec,0x1f);
	dev_spi_write(0x421,0x1);
	dev_spi_write(0x420,0x90);
	dev_spi_write(0x4d9,0x1);
	dev_spi_write(0x4d8,0x90);
	dev_spi_write(0x591,0x1);
	dev_spi_write(0x590,0x90);
	dev_spi_write(0x649,0x1);
	dev_spi_write(0x648,0x90);
	dev_spi_write(0x701,0x1);
	dev_spi_write(0x700,0x90);
	dev_spi_write(0x7b9,0x1);
	dev_spi_write(0x7b8,0x90);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x18,0x40);
	dev_spi_write(0x86,0x1);
	dev_spi_write(0x82,0x10);
	dev_spi_write(0x83,0x1);
	dev_spi_write(0x84,0x0);
	dev_spi_write(0x84,0x1);
	dev_spi_write(0x84,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13386 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13386 0xf0 : %d\n",pollIter);
	dev_spi_write(0x193,0x12);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 13390 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 13390 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 13391 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0xc0,0x42);
	dev_spi_write(0xc0,0x40);
	dev_spi_write(0xc4,0x1);
	dev_spi_write(0x20,0x12);
	dev_spi_write(0x21,0x12);
	dev_spi_write(0x20,0x12);
	dev_spi_write(0x21,0x12);
	dev_spi_write(0x20,0x12);
	dev_spi_write(0x21,0x12);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x20);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x16,0x40);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x105,0x1);
	dev_spi_write(0x104,0x1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x20);
	dev_spi_write(0x701b,0x8);
	dev_spi_write(0x701a,0x88);
	dev_spi_write(0x701b,0x0);
	dev_spi_write(0x701a,0x0);
	dev_spi_write(0x701b,0x7);
	dev_spi_write(0x701a,0x77);
	dev_spi_write(0x701b,0x0);
	dev_spi_write(0x701a,0x0);
	dev_spi_write(0x16,0x40);
	dev_spi_write(0x701b,0x8);
	dev_spi_write(0x701a,0x88);
	dev_spi_write(0x701b,0x0);
	dev_spi_write(0x701a,0x0);
	dev_spi_write(0x701b,0x7);
	dev_spi_write(0x701a,0x77);
	dev_spi_write(0x701b,0x0);
	dev_spi_write(0x701a,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0xc0,0x40);
	dev_spi_write(0x20,0x12);
	dev_spi_write(0x21,0x12);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x60);
	dev_spi_write(0x7029,0xff);
	dev_spi_write(0x7028,0xf0);
	dev_spi_write(0x701b,0xa);
	dev_spi_write(0x701a,0xaa);
	dev_spi_write(0x701b,0x0);
	dev_spi_write(0x701a,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x16,0x20);
	dev_spi_write(0x49f1,0x92);
	dev_spi_write(0x49f0,0x0);
	dev_spi_write(0x49f3,0xea);
	dev_spi_write(0x49f2,0x0);
	dev_spi_write(0x49e3,0xe0);
	dev_spi_write(0x49e2,0x0);
	dev_spi_write(0x49b5,0x47);
	dev_spi_write(0x49b4,0x47);
	dev_spi_write(0x49ff,0xed);
	dev_spi_write(0x49fe,0xb0);
	dev_spi_write(0x49ed,0xd);
	dev_spi_write(0x49ec,0xc0);
	dev_spi_write(0x49e7,0x52);
	dev_spi_write(0x49e6,0x36);
	dev_spi_write(0x49e5,0x6e);
	dev_spi_write(0x49e4,0xb6);
	dev_spi_write(0x49df,0xa8);
	dev_spi_write(0x49de,0x28);
	dev_spi_write(0x49eb,0xa);
	dev_spi_write(0x49ea,0x1e);
	dev_spi_write(0x49e9,0x72);
	dev_spi_write(0x49e8,0x44);
	dev_spi_write(0x49fd,0xa);
	dev_spi_write(0x49fc,0x1e);
	dev_spi_write(0x49fb,0x72);
	dev_spi_write(0x49fa,0x48);
	dev_spi_write(0x49f9,0x4a);
	dev_spi_write(0x49f8,0x66);
	dev_spi_write(0x49f7,0x79);
	dev_spi_write(0x49f6,0xb6);
	dev_spi_write(0x49d9,0x6c);
	dev_spi_write(0x49d8,0x6);
	dev_spi_write(0x4201,0x10);
	dev_spi_write(0x4200,0x6b);
	dev_spi_write(0x4203,0x64);
	dev_spi_write(0x4202,0x80);
	dev_spi_write(0x4205,0x62);
	dev_spi_write(0x4204,0x0);
	dev_spi_write(0x4207,0x7b);
	dev_spi_write(0x4206,0x33);
	dev_spi_write(0x4209,0x70);
	dev_spi_write(0x4208,0xa);
	dev_spi_write(0x420b,0xbd);
	dev_spi_write(0x420a,0x68);
	dev_spi_write(0x420d,0x76);
	dev_spi_write(0x420c,0x2d);
	dev_spi_write(0x420f,0x66);
	dev_spi_write(0x420e,0xab);
	dev_spi_write(0x4211,0xd0);
	dev_spi_write(0x4210,0x8);
	dev_spi_write(0x4213,0x0);
	dev_spi_write(0x4212,0x18);
	dev_spi_write(0x4215,0x66);
	dev_spi_write(0x4214,0x2c);
	dev_spi_write(0x4217,0x3d);
	dev_spi_write(0x4216,0x15);
	dev_spi_write(0x4219,0x0);
	dev_spi_write(0x4218,0x80);
	dev_spi_write(0x421b,0x0);
	dev_spi_write(0x421a,0x2);
	dev_spi_write(0x421d,0x34);
	dev_spi_write(0x421c,0x0);
	dev_spi_write(0x421f,0x0);
	dev_spi_write(0x421e,0x0);
	dev_spi_write(0x4221,0x10);
	dev_spi_write(0x4220,0x1a);
	dev_spi_write(0x4239,0x3);
	dev_spi_write(0x4238,0x40);
	dev_spi_write(0x423b,0x0);
	dev_spi_write(0x423a,0x60);
	dev_spi_write(0x423d,0x0);
	dev_spi_write(0x423c,0x0);
	dev_spi_write(0x423f,0x0);
	dev_spi_write(0x423e,0x0);
	dev_spi_write(0x4277,0x0);
	dev_spi_write(0x4276,0x0);
	dev_spi_write(0x4279,0x0);
	dev_spi_write(0x4278,0x0);
	dev_spi_write(0x427b,0x0);
	dev_spi_write(0x427a,0x0);
	dev_spi_write(0x427d,0x0);
	dev_spi_write(0x427c,0x0);
	dev_spi_write(0x4283,0x93);
	dev_spi_write(0x4282,0xdf);
	dev_spi_write(0x4285,0xb3);
	dev_spi_write(0x4284,0xc0);
	dev_spi_write(0x428f,0x24);
	dev_spi_write(0x428e,0xa2);
	dev_spi_write(0x4291,0xcc);
	dev_spi_write(0x4290,0x34);
	dev_spi_write(0x4293,0xe3);
	dev_spi_write(0x4292,0xd7);
	dev_spi_write(0x4295,0x76);
	dev_spi_write(0x4294,0xe0);
	dev_spi_write(0x4297,0x6);
	dev_spi_write(0x4296,0xdb);
	dev_spi_write(0x4341,0x3);
	dev_spi_write(0x4340,0x51);
	dev_spi_write(0x43e7,0x0);
	dev_spi_write(0x43e6,0x80);
	dev_spi_write(0x43e9,0xfc);
	dev_spi_write(0x43e8,0x0);
	dev_spi_write(0x43eb,0x1f);
	dev_spi_write(0x43ea,0xfe);
	dev_spi_write(0x43ed,0x0);
	dev_spi_write(0x43ec,0x60);
	dev_spi_write(0x43ef,0x10);
	dev_spi_write(0x43ee,0x0);
	dev_spi_write(0x43f1,0x68);
	dev_spi_write(0x43f0,0x64);
	dev_spi_write(0x43f3,0x92);
	dev_spi_write(0x43f2,0x30);
	dev_spi_write(0x43f5,0x0);
	dev_spi_write(0x43f4,0x0);
	dev_spi_write(0x43f7,0x6d);
	dev_spi_write(0x43f6,0x83);
	dev_spi_write(0x43f9,0x6d);
	dev_spi_write(0x43f8,0xb6);
	dev_spi_write(0x43fb,0x42);
	dev_spi_write(0x43fa,0x46);
	dev_spi_write(0x43fd,0x62);
	dev_spi_write(0x43fc,0x78);
	dev_spi_write(0x43ff,0x8);
	dev_spi_write(0x43fe,0xc8);
	dev_spi_write(0x4001,0x10);
	dev_spi_write(0x4000,0x6b);
	dev_spi_write(0x4003,0x64);
	dev_spi_write(0x4002,0x80);
	dev_spi_write(0x4005,0x62);
	dev_spi_write(0x4004,0x0);
	dev_spi_write(0x4007,0x7b);
	dev_spi_write(0x4006,0x33);
	dev_spi_write(0x4009,0x70);
	dev_spi_write(0x4008,0xa);
	dev_spi_write(0x400b,0xbd);
	dev_spi_write(0x400a,0x68);
	dev_spi_write(0x400d,0x76);
	dev_spi_write(0x400c,0x2d);
	dev_spi_write(0x400f,0x66);
	dev_spi_write(0x400e,0xab);
	dev_spi_write(0x4011,0xd0);
	dev_spi_write(0x4010,0x8);
	dev_spi_write(0x4013,0x0);
	dev_spi_write(0x4012,0x18);
	dev_spi_write(0x4015,0x66);
	dev_spi_write(0x4014,0x2c);
	dev_spi_write(0x4017,0x3d);
	dev_spi_write(0x4016,0x15);
	dev_spi_write(0x4019,0x0);
	dev_spi_write(0x4018,0x80);
	dev_spi_write(0x401b,0x0);
	dev_spi_write(0x401a,0x2);
	dev_spi_write(0x401d,0x34);
	dev_spi_write(0x401c,0x0);
	dev_spi_write(0x401f,0x0);
	dev_spi_write(0x401e,0x0);
	dev_spi_write(0x4021,0x10);
	dev_spi_write(0x4020,0x1a);
	dev_spi_write(0x4039,0x3);
	dev_spi_write(0x4038,0x40);
	dev_spi_write(0x403b,0x0);
	dev_spi_write(0x403a,0x60);
	dev_spi_write(0x403d,0x0);
	dev_spi_write(0x403c,0x0);
	dev_spi_write(0x403f,0x0);
	dev_spi_write(0x403e,0x0);
	dev_spi_write(0x4077,0x0);
	dev_spi_write(0x4076,0x0);
	dev_spi_write(0x4079,0x0);
	dev_spi_write(0x4078,0x0);
	dev_spi_write(0x407b,0x0);
	dev_spi_write(0x407a,0x0);
	dev_spi_write(0x407d,0x0);
	dev_spi_write(0x407c,0x0);
	dev_spi_write(0x4083,0x93);
	dev_spi_write(0x4082,0xdf);
	dev_spi_write(0x4085,0xb3);
	dev_spi_write(0x4084,0xc0);
	dev_spi_write(0x408f,0x24);
	dev_spi_write(0x408e,0xa2);
	dev_spi_write(0x4091,0xcc);
	dev_spi_write(0x4090,0x34);
	dev_spi_write(0x4093,0xe3);
	dev_spi_write(0x4092,0xd7);
	dev_spi_write(0x4095,0x76);
	dev_spi_write(0x4094,0x60);
	dev_spi_write(0x4097,0x6);
	dev_spi_write(0x4096,0xdb);
	dev_spi_write(0x4141,0x3);
	dev_spi_write(0x4140,0x51);
	dev_spi_write(0x41e7,0x0);
	dev_spi_write(0x41e6,0x80);
	dev_spi_write(0x41e9,0xfc);
	dev_spi_write(0x41e8,0x0);
	dev_spi_write(0x41eb,0x1f);
	dev_spi_write(0x41ea,0xfe);
	dev_spi_write(0x41ed,0x0);
	dev_spi_write(0x41ec,0x0);
	dev_spi_write(0x41ef,0x10);
	dev_spi_write(0x41ee,0x0);
	dev_spi_write(0x41f1,0x68);
	dev_spi_write(0x41f0,0x64);
	dev_spi_write(0x41f3,0x92);
	dev_spi_write(0x41f2,0x30);
	dev_spi_write(0x41f5,0x0);
	dev_spi_write(0x41f4,0x0);
	dev_spi_write(0x41f7,0x6d);
	dev_spi_write(0x41f6,0x83);
	dev_spi_write(0x41f9,0x6d);
	dev_spi_write(0x41f8,0xb6);
	dev_spi_write(0x41fb,0x42);
	dev_spi_write(0x41fa,0x46);
	dev_spi_write(0x41fd,0x62);
	dev_spi_write(0x41fc,0x78);
	dev_spi_write(0x41ff,0x8);
	dev_spi_write(0x41fe,0xc8);
	dev_spi_write(0x4401,0x10);
	dev_spi_write(0x4400,0x6b);
	dev_spi_write(0x4403,0x64);
	dev_spi_write(0x4402,0x80);
	dev_spi_write(0x4405,0x62);
	dev_spi_write(0x4404,0x0);
	dev_spi_write(0x4407,0x7b);
	dev_spi_write(0x4406,0x33);
	dev_spi_write(0x4409,0x70);
	dev_spi_write(0x4408,0xa);
	dev_spi_write(0x440b,0xbd);
	dev_spi_write(0x440a,0x68);
	dev_spi_write(0x440d,0x76);
	dev_spi_write(0x440c,0x2d);
	dev_spi_write(0x440f,0x66);
	dev_spi_write(0x440e,0xab);
	dev_spi_write(0x4411,0xd0);
	dev_spi_write(0x4410,0x8);
	dev_spi_write(0x4413,0x0);
	dev_spi_write(0x4412,0x18);
	dev_spi_write(0x4415,0x66);
	dev_spi_write(0x4414,0x2c);
	dev_spi_write(0x4417,0x3d);
	dev_spi_write(0x4416,0x15);
	dev_spi_write(0x4419,0x0);
	dev_spi_write(0x4418,0x80);
	dev_spi_write(0x441b,0x0);
	dev_spi_write(0x441a,0x2);
	dev_spi_write(0x441d,0x34);
	dev_spi_write(0x441c,0x0);
	dev_spi_write(0x441f,0x0);
	dev_spi_write(0x441e,0x0);
	dev_spi_write(0x4421,0x10);
	dev_spi_write(0x4420,0x1a);
	dev_spi_write(0x4439,0x3);
	dev_spi_write(0x4438,0x40);
	dev_spi_write(0x443b,0x0);
	dev_spi_write(0x443a,0x60);
	dev_spi_write(0x443d,0x0);
	dev_spi_write(0x443c,0x0);
	dev_spi_write(0x443f,0x0);
	dev_spi_write(0x443e,0x0);
	dev_spi_write(0x4477,0x0);
	dev_spi_write(0x4476,0x0);
	dev_spi_write(0x4479,0x0);
	dev_spi_write(0x4478,0x0);
	dev_spi_write(0x447b,0x0);
	dev_spi_write(0x447a,0x0);
	dev_spi_write(0x447d,0x0);
	dev_spi_write(0x447c,0x0);
	dev_spi_write(0x4483,0x93);
	dev_spi_write(0x4482,0xdf);
	dev_spi_write(0x4485,0xb3);
	dev_spi_write(0x4484,0xc0);
	dev_spi_write(0x448f,0x24);
	dev_spi_write(0x448e,0xa2);
	dev_spi_write(0x4491,0xcc);
	dev_spi_write(0x4490,0x34);
	dev_spi_write(0x4493,0xe3);
	dev_spi_write(0x4492,0xd7);
	dev_spi_write(0x4495,0x76);
	dev_spi_write(0x4494,0x60);
	dev_spi_write(0x4497,0x6);
	dev_spi_write(0x4496,0xdb);
	dev_spi_write(0x4541,0x3);
	dev_spi_write(0x4540,0x51);
	dev_spi_write(0x45e7,0x0);
	dev_spi_write(0x45e6,0x80);
	dev_spi_write(0x45e9,0xfc);
	dev_spi_write(0x45e8,0x0);
	dev_spi_write(0x45eb,0x1f);
	dev_spi_write(0x45ea,0xfe);
	dev_spi_write(0x45ed,0x0);
	dev_spi_write(0x45ec,0x0);
	dev_spi_write(0x45ef,0x10);
	dev_spi_write(0x45ee,0x0);
	dev_spi_write(0x45f1,0x68);
	dev_spi_write(0x45f0,0x64);
	dev_spi_write(0x45f3,0x92);
	dev_spi_write(0x45f2,0x30);
	dev_spi_write(0x45f5,0x0);
	dev_spi_write(0x45f4,0x0);
	dev_spi_write(0x45f7,0x6d);
	dev_spi_write(0x45f6,0x83);
	dev_spi_write(0x45f9,0x6d);
	dev_spi_write(0x45f8,0xb6);
	dev_spi_write(0x45fb,0x42);
	dev_spi_write(0x45fa,0x46);
	dev_spi_write(0x45fd,0x62);
	dev_spi_write(0x45fc,0x78);
	dev_spi_write(0x45ff,0x8);
	dev_spi_write(0x45fe,0xc8);
	dev_spi_write(0x4601,0x10);
	dev_spi_write(0x4600,0x6b);
	dev_spi_write(0x4603,0x64);
	dev_spi_write(0x4602,0x80);
	dev_spi_write(0x4605,0x62);
	dev_spi_write(0x4604,0x0);
	dev_spi_write(0x4607,0x7b);
	dev_spi_write(0x4606,0x33);
	dev_spi_write(0x4609,0x70);
	dev_spi_write(0x4608,0xa);
	dev_spi_write(0x460b,0xbd);
	dev_spi_write(0x460a,0x68);
	dev_spi_write(0x460d,0x76);
	dev_spi_write(0x460c,0x2d);
	dev_spi_write(0x460f,0x66);
	dev_spi_write(0x460e,0xab);
	dev_spi_write(0x4611,0xd0);
	dev_spi_write(0x4610,0x8);
	dev_spi_write(0x4613,0x0);
	dev_spi_write(0x4612,0x18);
	dev_spi_write(0x4615,0x66);
	dev_spi_write(0x4614,0x2c);
	dev_spi_write(0x4617,0x3d);
	dev_spi_write(0x4616,0x15);
	dev_spi_write(0x4619,0x0);
	dev_spi_write(0x4618,0x80);
	dev_spi_write(0x461b,0x0);
	dev_spi_write(0x461a,0x2);
	dev_spi_write(0x461d,0x34);
	dev_spi_write(0x461c,0x0);
	dev_spi_write(0x461f,0x0);
	dev_spi_write(0x461e,0x0);
	dev_spi_write(0x4621,0x10);
	dev_spi_write(0x4620,0x1a);
	dev_spi_write(0x4639,0x3);
	dev_spi_write(0x4638,0x40);
	dev_spi_write(0x463b,0x0);
	dev_spi_write(0x463a,0x60);
	dev_spi_write(0x463d,0x0);
	dev_spi_write(0x463c,0x0);
	dev_spi_write(0x463f,0x0);
	dev_spi_write(0x463e,0x0);
	dev_spi_write(0x4677,0x0);
	dev_spi_write(0x4676,0x0);
	dev_spi_write(0x4679,0x0);
	dev_spi_write(0x4678,0x0);
	dev_spi_write(0x467b,0x0);
	dev_spi_write(0x467a,0x0);
	dev_spi_write(0x467d,0x0);
	dev_spi_write(0x467c,0x0);
	dev_spi_write(0x4683,0x93);
	dev_spi_write(0x4682,0xdf);
	dev_spi_write(0x4685,0xb3);
	dev_spi_write(0x4684,0xc0);
	dev_spi_write(0x468f,0x24);
	dev_spi_write(0x468e,0xa2);
	dev_spi_write(0x4691,0xcc);
	dev_spi_write(0x4690,0x34);
	dev_spi_write(0x4693,0xe3);
	dev_spi_write(0x4692,0xd7);
	dev_spi_write(0x4695,0x76);
	dev_spi_write(0x4694,0x60);
	dev_spi_write(0x4697,0x6);
	dev_spi_write(0x4696,0xdb);
	dev_spi_write(0x4741,0x3);
	dev_spi_write(0x4740,0x51);
	dev_spi_write(0x47e7,0x0);
	dev_spi_write(0x47e6,0x80);
	dev_spi_write(0x47e9,0xfc);
	dev_spi_write(0x47e8,0x0);
	dev_spi_write(0x47eb,0x1f);
	dev_spi_write(0x47ea,0xfe);
	dev_spi_write(0x47ed,0x0);
	dev_spi_write(0x47ec,0x0);
	dev_spi_write(0x47ef,0x10);
	dev_spi_write(0x47ee,0x0);
	dev_spi_write(0x47f1,0x68);
	dev_spi_write(0x47f0,0x64);
	dev_spi_write(0x47f3,0x92);
	dev_spi_write(0x47f2,0x30);
	dev_spi_write(0x47f5,0x0);
	dev_spi_write(0x47f4,0x0);
	dev_spi_write(0x47f7,0x6d);
	dev_spi_write(0x47f6,0x83);
	dev_spi_write(0x47f9,0x6d);
	dev_spi_write(0x47f8,0xb6);
	dev_spi_write(0x47fb,0x42);
	dev_spi_write(0x47fa,0x46);
	dev_spi_write(0x47fd,0x62);
	dev_spi_write(0x47fc,0x78);
	dev_spi_write(0x47ff,0x8);
	dev_spi_write(0x47fe,0xc8);
	dev_spi_write(0x16,0x40);
	dev_spi_write(0x49f1,0x82);
	dev_spi_write(0x49f0,0x40);
	dev_spi_write(0x49f3,0xe2);
	dev_spi_write(0x49f2,0x80);
	dev_spi_write(0x49e3,0xb0);
	dev_spi_write(0x49e2,0x0);
	dev_spi_write(0x49b5,0x47);
	dev_spi_write(0x49b4,0x47);
	dev_spi_write(0x49ff,0xfd);
	dev_spi_write(0x49fe,0xb0);
	dev_spi_write(0x49ed,0x1d);
	dev_spi_write(0x49ec,0xc0);
	dev_spi_write(0x49e7,0x52);
	dev_spi_write(0x49e6,0x36);
	dev_spi_write(0x49e5,0x6e);
	dev_spi_write(0x49e4,0xb6);
	dev_spi_write(0x49df,0xa8);
	dev_spi_write(0x49de,0x28);
	dev_spi_write(0x49eb,0xa);
	dev_spi_write(0x49ea,0x9e);
	dev_spi_write(0x49e9,0x72);
	dev_spi_write(0x49e8,0x44);
	dev_spi_write(0x49fd,0xa);
	dev_spi_write(0x49fc,0x9e);
	dev_spi_write(0x49fb,0x72);
	dev_spi_write(0x49fa,0x48);
	dev_spi_write(0x49f9,0x4a);
	dev_spi_write(0x49f8,0x66);
	dev_spi_write(0x49f7,0x79);
	dev_spi_write(0x49f6,0xb6);
	dev_spi_write(0x49d9,0x6c);
	dev_spi_write(0x49d8,0x6);
	dev_spi_write(0x4601,0x10);
	dev_spi_write(0x4600,0x6b);
	dev_spi_write(0x4603,0x64);
	dev_spi_write(0x4602,0x80);
	dev_spi_write(0x4605,0x62);
	dev_spi_write(0x4604,0x0);
	dev_spi_write(0x4607,0x7b);
	dev_spi_write(0x4606,0x33);
	dev_spi_write(0x4609,0x70);
	dev_spi_write(0x4608,0xa);
	dev_spi_write(0x460b,0xbd);
	dev_spi_write(0x460a,0x68);
	dev_spi_write(0x460d,0x76);
	dev_spi_write(0x460c,0x2d);
	dev_spi_write(0x460f,0x66);
	dev_spi_write(0x460e,0xab);
	dev_spi_write(0x4611,0xd0);
	dev_spi_write(0x4610,0x8);
	dev_spi_write(0x4613,0x0);
	dev_spi_write(0x4612,0x18);
	dev_spi_write(0x4615,0x66);
	dev_spi_write(0x4614,0x2c);
	dev_spi_write(0x4617,0x3d);
	dev_spi_write(0x4616,0x15);
	dev_spi_write(0x4619,0x0);
	dev_spi_write(0x4618,0x80);
	dev_spi_write(0x461b,0x0);
	dev_spi_write(0x461a,0x2);
	dev_spi_write(0x461d,0x34);
	dev_spi_write(0x461c,0x0);
	dev_spi_write(0x461f,0x0);
	dev_spi_write(0x461e,0x0);
	dev_spi_write(0x4621,0x10);
	dev_spi_write(0x4620,0x1a);
	dev_spi_write(0x4639,0x3);
	dev_spi_write(0x4638,0x40);
	dev_spi_write(0x463b,0x0);
	dev_spi_write(0x463a,0x60);
	dev_spi_write(0x463d,0x0);
	dev_spi_write(0x463c,0x0);
	dev_spi_write(0x463f,0x0);
	dev_spi_write(0x463e,0x0);
	dev_spi_write(0x4677,0x0);
	dev_spi_write(0x4676,0x0);
	dev_spi_write(0x4679,0x0);
	dev_spi_write(0x4678,0x0);
	dev_spi_write(0x467b,0x0);
	dev_spi_write(0x467a,0x0);
	dev_spi_write(0x467d,0x0);
	dev_spi_write(0x467c,0x0);
	dev_spi_write(0x4683,0x93);
	dev_spi_write(0x4682,0xdf);
	dev_spi_write(0x4685,0xb3);
	dev_spi_write(0x4684,0xc0);
	dev_spi_write(0x468f,0x24);
	dev_spi_write(0x468e,0xa2);
	dev_spi_write(0x4691,0xcc);
	dev_spi_write(0x4690,0x34);
	dev_spi_write(0x4693,0xe3);
	dev_spi_write(0x4692,0xd7);
	dev_spi_write(0x4695,0x76);
	dev_spi_write(0x4694,0x60);
	dev_spi_write(0x4697,0x6);
	dev_spi_write(0x4696,0xdb);
	dev_spi_write(0x4741,0x3);
	dev_spi_write(0x4740,0x51);
	dev_spi_write(0x47e7,0x0);
	dev_spi_write(0x47e6,0x80);
	dev_spi_write(0x47e9,0xfc);
	dev_spi_write(0x47e8,0x0);
	dev_spi_write(0x47eb,0x1f);
	dev_spi_write(0x47ea,0xfe);
	dev_spi_write(0x47ed,0x0);
	dev_spi_write(0x47ec,0x0);
	dev_spi_write(0x47ef,0x10);
	dev_spi_write(0x47ee,0x0);
	dev_spi_write(0x47f1,0x68);
	dev_spi_write(0x47f0,0x64);
	dev_spi_write(0x47f3,0x92);
	dev_spi_write(0x47f2,0x30);
	dev_spi_write(0x47f5,0x0);
	dev_spi_write(0x47f4,0x0);
	dev_spi_write(0x47f7,0x6d);
	dev_spi_write(0x47f6,0x87);
	dev_spi_write(0x47f9,0x6d);
	dev_spi_write(0x47f8,0xb6);
	dev_spi_write(0x47fb,0x42);
	dev_spi_write(0x47fa,0x46);
	dev_spi_write(0x47fd,0x62);
	dev_spi_write(0x47fc,0x7c);
	dev_spi_write(0x47ff,0x88);
	dev_spi_write(0x47fe,0xc8);
	dev_spi_write(0x4401,0x10);
	dev_spi_write(0x4400,0x6b);
	dev_spi_write(0x4403,0x64);
	dev_spi_write(0x4402,0x80);
	dev_spi_write(0x4405,0x62);
	dev_spi_write(0x4404,0x0);
	dev_spi_write(0x4407,0x7b);
	dev_spi_write(0x4406,0x33);
	dev_spi_write(0x4409,0x70);
	dev_spi_write(0x4408,0xa);
	dev_spi_write(0x440b,0xbd);
	dev_spi_write(0x440a,0x68);
	dev_spi_write(0x440d,0x76);
	dev_spi_write(0x440c,0x2d);
	dev_spi_write(0x440f,0x66);
	dev_spi_write(0x440e,0xab);
	dev_spi_write(0x4411,0xd0);
	dev_spi_write(0x4410,0x8);
	dev_spi_write(0x4413,0x0);
	dev_spi_write(0x4412,0x18);
	dev_spi_write(0x4415,0x66);
	dev_spi_write(0x4414,0x2c);
	dev_spi_write(0x4417,0x3d);
	dev_spi_write(0x4416,0x15);
	dev_spi_write(0x4419,0x0);
	dev_spi_write(0x4418,0x80);
	dev_spi_write(0x441b,0x0);
	dev_spi_write(0x441a,0x2);
	dev_spi_write(0x441d,0x34);
	dev_spi_write(0x441c,0x0);
	dev_spi_write(0x441f,0x0);
	dev_spi_write(0x441e,0x0);
	dev_spi_write(0x4421,0x10);
	dev_spi_write(0x4420,0x1a);
	dev_spi_write(0x4439,0x3);
	dev_spi_write(0x4438,0x40);
	dev_spi_write(0x443b,0x0);
	dev_spi_write(0x443a,0x60);
	dev_spi_write(0x443d,0x0);
	dev_spi_write(0x443c,0x0);
	dev_spi_write(0x443f,0x0);
	dev_spi_write(0x443e,0x0);
	dev_spi_write(0x4477,0x0);
	dev_spi_write(0x4476,0x0);
	dev_spi_write(0x4479,0x0);
	dev_spi_write(0x4478,0x0);
	dev_spi_write(0x447b,0x0);
	dev_spi_write(0x447a,0x0);
	dev_spi_write(0x447d,0x0);
	dev_spi_write(0x447c,0x0);
	dev_spi_write(0x4483,0x93);
	dev_spi_write(0x4482,0xdf);
	dev_spi_write(0x4485,0xb3);
	dev_spi_write(0x4484,0xc0);
	dev_spi_write(0x448f,0x24);
	dev_spi_write(0x448e,0xa2);
	dev_spi_write(0x4491,0xcc);
	dev_spi_write(0x4490,0x34);
	dev_spi_write(0x4493,0xe3);
	dev_spi_write(0x4492,0xd7);
	dev_spi_write(0x4495,0x76);
	dev_spi_write(0x4494,0xe0);
	dev_spi_write(0x4497,0x6);
	dev_spi_write(0x4496,0xdb);
	dev_spi_write(0x4541,0x3);
	dev_spi_write(0x4540,0x51);
	dev_spi_write(0x45e7,0x0);
	dev_spi_write(0x45e6,0x80);
	dev_spi_write(0x45e9,0xfc);
	dev_spi_write(0x45e8,0x0);
	dev_spi_write(0x45eb,0x1f);
	dev_spi_write(0x45ea,0xfe);
	dev_spi_write(0x45ed,0x0);
	dev_spi_write(0x45ec,0x0);
	dev_spi_write(0x45ef,0x10);
	dev_spi_write(0x45ee,0x0);
	dev_spi_write(0x45f1,0x68);
	dev_spi_write(0x45f0,0x64);
	dev_spi_write(0x45f3,0x92);
	dev_spi_write(0x45f2,0x30);
	dev_spi_write(0x45f5,0x0);
	dev_spi_write(0x45f4,0x0);
	dev_spi_write(0x45f7,0x6d);
	dev_spi_write(0x45f6,0x87);
	dev_spi_write(0x45f9,0x6d);
	dev_spi_write(0x45f8,0xb6);
	dev_spi_write(0x45fb,0x42);
	dev_spi_write(0x45fa,0x46);
	dev_spi_write(0x45fd,0x62);
	dev_spi_write(0x45fc,0x7c);
	dev_spi_write(0x45ff,0x88);
	dev_spi_write(0x45fe,0xc8);
	dev_spi_write(0x4001,0x10);
	dev_spi_write(0x4000,0x6b);
	dev_spi_write(0x4003,0x64);
	dev_spi_write(0x4002,0x80);
	dev_spi_write(0x4005,0x62);
	dev_spi_write(0x4004,0x0);
	dev_spi_write(0x4007,0x7b);
	dev_spi_write(0x4006,0x33);
	dev_spi_write(0x4009,0x70);
	dev_spi_write(0x4008,0xa);
	dev_spi_write(0x400b,0xbd);
	dev_spi_write(0x400a,0x68);
	dev_spi_write(0x400d,0x76);
	dev_spi_write(0x400c,0x2d);
	dev_spi_write(0x400f,0x66);
	dev_spi_write(0x400e,0xab);
	dev_spi_write(0x4011,0xd0);
	dev_spi_write(0x4010,0x8);
	dev_spi_write(0x4013,0x0);
	dev_spi_write(0x4012,0x18);
	dev_spi_write(0x4015,0x66);
	dev_spi_write(0x4014,0x2c);
	dev_spi_write(0x4017,0x3d);
	dev_spi_write(0x4016,0x15);
	dev_spi_write(0x4019,0x0);
	dev_spi_write(0x4018,0x80);
	dev_spi_write(0x401b,0x0);
	dev_spi_write(0x401a,0x2);
	dev_spi_write(0x401d,0x34);
	dev_spi_write(0x401c,0x0);
	dev_spi_write(0x401f,0x0);
	dev_spi_write(0x401e,0x0);
	dev_spi_write(0x4021,0x10);
	dev_spi_write(0x4020,0x1a);
	dev_spi_write(0x4039,0x3);
	dev_spi_write(0x4038,0x40);
	dev_spi_write(0x403b,0x0);
	dev_spi_write(0x403a,0x60);
	dev_spi_write(0x403d,0x0);
	dev_spi_write(0x403c,0x0);
	dev_spi_write(0x403f,0x0);
	dev_spi_write(0x403e,0x0);
	dev_spi_write(0x4077,0x0);
	dev_spi_write(0x4076,0x0);
	dev_spi_write(0x4079,0x0);
	dev_spi_write(0x4078,0x0);
	dev_spi_write(0x407b,0x0);
	dev_spi_write(0x407a,0x0);
	dev_spi_write(0x407d,0x0);
	dev_spi_write(0x407c,0x0);
	dev_spi_write(0x4083,0x93);
	dev_spi_write(0x4082,0xdf);
	dev_spi_write(0x4085,0xb3);
	dev_spi_write(0x4084,0xc0);
	dev_spi_write(0x408f,0x24);
	dev_spi_write(0x408e,0xa2);
	dev_spi_write(0x4091,0xcc);
	dev_spi_write(0x4090,0x34);
	dev_spi_write(0x4093,0xe3);
	dev_spi_write(0x4092,0xd7);
	dev_spi_write(0x4095,0x76);
	dev_spi_write(0x4094,0xe0);
	dev_spi_write(0x4097,0x6);
	dev_spi_write(0x4096,0xdb);
	dev_spi_write(0x4141,0x3);
	dev_spi_write(0x4140,0x51);
	dev_spi_write(0x41e7,0x0);
	dev_spi_write(0x41e6,0x80);
	dev_spi_write(0x41e9,0xfc);
	dev_spi_write(0x41e8,0x0);
	dev_spi_write(0x41eb,0x1f);
	dev_spi_write(0x41ea,0xfe);
	dev_spi_write(0x41ed,0x0);
	dev_spi_write(0x41ec,0x0);
	dev_spi_write(0x41ef,0x10);
	dev_spi_write(0x41ee,0x0);
	dev_spi_write(0x41f1,0x68);
	dev_spi_write(0x41f0,0x64);
	dev_spi_write(0x41f3,0x92);
	dev_spi_write(0x41f2,0x30);
	dev_spi_write(0x41f5,0x0);
	dev_spi_write(0x41f4,0x0);
	dev_spi_write(0x41f7,0x6d);
	dev_spi_write(0x41f6,0x83);
	dev_spi_write(0x41f9,0x6d);
	dev_spi_write(0x41f8,0xb6);
	dev_spi_write(0x41fb,0x42);
	dev_spi_write(0x41fa,0x46);
	dev_spi_write(0x41fd,0x62);
	dev_spi_write(0x41fc,0x78);
	dev_spi_write(0x41ff,0x8);
	dev_spi_write(0x41fe,0xc8);
	dev_spi_write(0x4201,0x10);
	dev_spi_write(0x4200,0x6b);
	dev_spi_write(0x4203,0x64);
	dev_spi_write(0x4202,0x80);
	dev_spi_write(0x4205,0x62);
	dev_spi_write(0x4204,0x0);
	dev_spi_write(0x4207,0x7b);
	dev_spi_write(0x4206,0x33);
	dev_spi_write(0x4209,0x70);
	dev_spi_write(0x4208,0xa);
	dev_spi_write(0x420b,0xbd);
	dev_spi_write(0x420a,0x68);
	dev_spi_write(0x420d,0x76);
	dev_spi_write(0x420c,0x2d);
	dev_spi_write(0x420f,0x66);
	dev_spi_write(0x420e,0xab);
	dev_spi_write(0x4211,0xd0);
	dev_spi_write(0x4210,0x8);
	dev_spi_write(0x4213,0x0);
	dev_spi_write(0x4212,0x18);
	dev_spi_write(0x4215,0x66);
	dev_spi_write(0x4214,0x2c);
	dev_spi_write(0x4217,0x3d);
	dev_spi_write(0x4216,0x15);
	dev_spi_write(0x4219,0x0);
	dev_spi_write(0x4218,0x80);
	dev_spi_write(0x421b,0x0);
	dev_spi_write(0x421a,0x2);
	dev_spi_write(0x421d,0x34);
	dev_spi_write(0x421c,0x0);
	dev_spi_write(0x421f,0x0);
	dev_spi_write(0x421e,0x0);
	dev_spi_write(0x4221,0x10);
	dev_spi_write(0x4220,0x1a);
	dev_spi_write(0x4239,0x3);
	dev_spi_write(0x4238,0x40);
	dev_spi_write(0x423b,0x0);
	dev_spi_write(0x423a,0x60);
	dev_spi_write(0x423d,0x0);
	dev_spi_write(0x423c,0x0);
	dev_spi_write(0x423f,0x0);
	dev_spi_write(0x423e,0x0);
	dev_spi_write(0x4277,0x0);
	dev_spi_write(0x4276,0x0);
	dev_spi_write(0x4279,0x0);
	dev_spi_write(0x4278,0x0);
	dev_spi_write(0x427b,0x0);
	dev_spi_write(0x427a,0x0);
	dev_spi_write(0x427d,0x0);
	dev_spi_write(0x427c,0x0);
	dev_spi_write(0x4283,0x93);
	dev_spi_write(0x4282,0xdf);
	dev_spi_write(0x4285,0xb3);
	dev_spi_write(0x4284,0xc0);
	dev_spi_write(0x428f,0x24);
	dev_spi_write(0x428e,0xa2);
	dev_spi_write(0x4291,0xcc);
	dev_spi_write(0x4290,0x34);
	dev_spi_write(0x4293,0xe3);
	dev_spi_write(0x4292,0xd7);
	dev_spi_write(0x4295,0x76);
	dev_spi_write(0x4294,0xe0);
	dev_spi_write(0x4297,0x6);
	dev_spi_write(0x4296,0xdb);
	dev_spi_write(0x4341,0x3);
	dev_spi_write(0x4340,0x51);
	dev_spi_write(0x43e7,0x0);
	dev_spi_write(0x43e6,0x80);
	dev_spi_write(0x43e9,0xfc);
	dev_spi_write(0x43e8,0x0);
	dev_spi_write(0x43eb,0x1f);
	dev_spi_write(0x43ea,0xfe);
	dev_spi_write(0x43ed,0x0);
	dev_spi_write(0x43ec,0x60);
	dev_spi_write(0x43ef,0x10);
	dev_spi_write(0x43ee,0x0);
	dev_spi_write(0x43f1,0x68);
	dev_spi_write(0x43f0,0x64);
	dev_spi_write(0x43f3,0x92);
	dev_spi_write(0x43f2,0x30);
	dev_spi_write(0x43f5,0x0);
	dev_spi_write(0x43f4,0x0);
	dev_spi_write(0x43f7,0x6d);
	dev_spi_write(0x43f6,0x83);
	dev_spi_write(0x43f9,0x6d);
	dev_spi_write(0x43f8,0xb6);
	dev_spi_write(0x43fb,0x42);
	dev_spi_write(0x43fa,0x46);
	dev_spi_write(0x43fd,0x62);
	dev_spi_write(0x43fc,0x78);
	dev_spi_write(0x43ff,0x8);
	dev_spi_write(0x43fe,0xc8);
	dev_spi_write(0x16,0x60);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x7007,0x0);
	dev_spi_write(0x7006,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x81,0x0);
	dev_spi_write(0x80,0x1);
	dev_spi_write(0x8c,0x1);
	dev_spi_write(0x8d,0x1);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x129,0x0);
	dev_spi_write(0x12a,0x0);
	dev_spi_write(0x12b,0x0);
	dev_spi_write(0xdc,0x0);
	dev_spi_write(0xdf,0x0);
	dev_spi_write(0xc4,0x0);
	dev_spi_write(0xc7,0x0);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0xcf,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x399,0x0);
	dev_spi_write(0x398,0x0);
	dev_spi_write(0x39b,0x0);
	dev_spi_write(0x39a,0xe1);
	dev_spi_write(0x451,0x0);
	dev_spi_write(0x450,0x0);
	dev_spi_write(0x453,0x0);
	dev_spi_write(0x452,0xe1);
	dev_spi_write(0x509,0x0);
	dev_spi_write(0x508,0x0);
	dev_spi_write(0x50b,0x0);
	dev_spi_write(0x50a,0xe1);
	dev_spi_write(0x5c1,0x0);
	dev_spi_write(0x5c0,0x0);
	dev_spi_write(0x5c3,0x0);
	dev_spi_write(0x5c2,0xe1);
	dev_spi_write(0x679,0x0);
	dev_spi_write(0x678,0x0);
	dev_spi_write(0x67b,0x0);
	dev_spi_write(0x67a,0xe1);
	dev_spi_write(0x731,0x0);
	dev_spi_write(0x730,0x0);
	dev_spi_write(0x733,0x0);
	dev_spi_write(0x732,0xe1);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x180,0x0);
	dev_spi_write(0x181,0x0);
	dev_spi_write(0x15,0x0);
	rdVal = dev_spi_read(0x13);
	dev_spi_write(0x13,(rdVal&0x3f)|0x40);
	rdVal = dev_spi_read(0x54e);
	dev_spi_write(0x54e,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x13);
	dev_spi_write(0x13,(rdVal&0x3f)|0x80);
	rdVal = dev_spi_read(0x54e);
	dev_spi_write(0x54e,(rdVal&0xfe)|0x0);
	dev_spi_write(0x13,0x40);
	dev_spi_write(0xd1,0x6);
	dev_spi_write(0x124,0x1);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x174,0x1);
	dev_spi_write(0x174,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0x10);
	dev_spi_write(0x6c,0x1);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0x80);
	dev_spi_write(0xd1,0x6);
	dev_spi_write(0x124,0x1);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x174,0x1);
	dev_spi_write(0x174,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0x20);
	dev_spi_write(0x6c,0x1);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x940,0x0);
	dev_spi_write(0x941,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x13,0xc0);
	dev_spi_write(0x545,0x6);
	dev_spi_write(0x54a,0x6);
	dev_spi_write(0x5a4,0x2c);
	dev_spi_write(0x5a5,0x18);
	dev_spi_write(0x56e,0x0);
	dev_spi_write(0x56d,0x0);
	dev_spi_write(0x56c,0x12);
	dev_spi_write(0x572,0x0);
	dev_spi_write(0x571,0x0);
	dev_spi_write(0x570,0x7);
	dev_spi_write(0x576,0x0);
	dev_spi_write(0x575,0x0);
	dev_spi_write(0x574,0x0);
	dev_spi_write(0x57e,0x0);
	dev_spi_write(0x57d,0x0);
	dev_spi_write(0x57c,0x5c);
	dev_spi_write(0x57a,0x0);
	dev_spi_write(0x579,0x0);
	dev_spi_write(0x578,0x1);
	dev_spi_write(0x596,0x0);
	dev_spi_write(0x595,0x0);
	dev_spi_write(0x594,0x7);
	dev_spi_write(0x59a,0x0);
	dev_spi_write(0x599,0x0);
	dev_spi_write(0x598,0x7);
	dev_spi_write(0x556,0x0);
	dev_spi_write(0x555,0x0);
	dev_spi_write(0x554,0x12);
	dev_spi_write(0x55a,0x0);
	dev_spi_write(0x559,0x0);
	dev_spi_write(0x558,0x7);
	dev_spi_write(0x55e,0x0);
	dev_spi_write(0x55d,0x0);
	dev_spi_write(0x55c,0x0);
	dev_spi_write(0x566,0x0);
	dev_spi_write(0x565,0x0);
	dev_spi_write(0x564,0x5c);
	dev_spi_write(0x562,0x0);
	dev_spi_write(0x561,0x0);
	dev_spi_write(0x560,0x1);
	dev_spi_write(0x58e,0x0);
	dev_spi_write(0x58d,0x0);
	dev_spi_write(0x58c,0x7);
	dev_spi_write(0x592,0x0);
	dev_spi_write(0x591,0x0);
	dev_spi_write(0x590,0x7);
	dev_spi_write(0x577,0x1);
	dev_spi_write(0x56f,0x0);
	dev_spi_write(0x5a1,0x0);
	dev_spi_write(0x55f,0x1);
	dev_spi_write(0x557,0x0);
	dev_spi_write(0x5a0,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0x10);
	dev_spi_write(0xd0,0x18);
	dev_spi_write(0xd4,0x18);
	dev_spi_write(0x13,0x20);
	dev_spi_write(0xd0,0x18);
	dev_spi_write(0xd4,0x18);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0xc0);
	dev_spi_write(0xa37,0x40);
	dev_spi_write(0xa3f,0x40);
	dev_spi_write(0xa4f,0x40);
	dev_spi_write(0xa5f,0x40);
	dev_spi_write(0xa77,0x40);
	dev_spi_write(0xa7f,0x40);
	dev_spi_write(0xa97,0x40);
	dev_spi_write(0xa9f,0x40);
	dev_spi_write(0xaa7,0x40);
	dev_spi_write(0xaaf,0x40);
	dev_spi_write(0xc37,0x40);
	dev_spi_write(0xc3f,0x40);
	dev_spi_write(0xc4f,0x40);
	dev_spi_write(0xc5f,0x40);
	dev_spi_write(0xc77,0x40);
	dev_spi_write(0xc7f,0x40);
	dev_spi_write(0xc97,0x40);
	dev_spi_write(0xc9f,0x40);
	dev_spi_write(0xca7,0x40);
	dev_spi_write(0xcaf,0x40);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14449 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14449 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x3);
	dev_spi_write(0x193,0x22);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14457 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14457 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14458 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14471 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14471 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x1);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x21);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14479 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14479 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14480 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14493 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14493 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x2f);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14501 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14501 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14502 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14517 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14517 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x7);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x2c);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14525 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14525 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14526 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14541 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14541 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x7);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x2d);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14549 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14549 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14550 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14563 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14563 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x4);
	dev_spi_write(0xa0,0x3f);
	dev_spi_write(0x193,0xd7);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14571 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14571 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14572 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14587 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14587 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x8d);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14595 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14595 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14596 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14609 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14609 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x11);
	dev_spi_write(0xa0,0x3);
	dev_spi_write(0x193,0x2e);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14617 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14617 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14618 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14631 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14631 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x4);
	dev_spi_write(0xa0,0xf);
	dev_spi_write(0x193,0x2b);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14639 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14639 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14640 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14653 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14653 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0xf0);
	dev_spi_write(0x193,0x23);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14661 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14661 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14662 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14675 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14675 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x12);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0xf);
	dev_spi_write(0xa7,0x12);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x0);
	dev_spi_write(0xa4,0x7a);
	dev_spi_write(0xab,0x77);
	dev_spi_write(0xaa,0x40);
	dev_spi_write(0xa9,0x0);
	dev_spi_write(0xa8,0x7a);
	dev_spi_write(0xaf,0xac);
	dev_spi_write(0xae,0x40);
	dev_spi_write(0xad,0x0);
	dev_spi_write(0xac,0x1b);
	dev_spi_write(0xb3,0x0);
	dev_spi_write(0xb2,0x0);
	dev_spi_write(0xb1,0x0);
	dev_spi_write(0xb0,0x27);
	dev_spi_write(0x193,0x30);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14699 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14699 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14700 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14715 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14715 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x7);
	dev_spi_write(0xa0,0x7);
	dev_spi_write(0x193,0x3a);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14723 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14723 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14724 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14737 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14737 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14745 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14745 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14746 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x309,0x5);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14765 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14765 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14773 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14773 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14774 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14787 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14787 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x36);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14795 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14795 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14796 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x1);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x2);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x4);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x8);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xcf)|0x10);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xcf)|0x20);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf0)|0x46);
	rdVal = dev_spi_read(0x61);
	dev_spi_write(0x61,(rdVal&0xf)|0x66);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xcf)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x10);
	rdVal = dev_spi_read(0x62);
	dev_spi_write(0x62,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x20);
	rdVal = dev_spi_read(0x62);
	dev_spi_write(0x62,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x40);
	rdVal = dev_spi_read(0x62);
	dev_spi_write(0x62,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x80);
	rdVal = dev_spi_read(0x62);
	dev_spi_write(0x62,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x10);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x20);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x40);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x80);
	rdVal = dev_spi_read(0x60);
	dev_spi_write(0x60,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x19);
	dev_spi_write(0x19,(rdVal&0xf)|0x0);
	rdVal = dev_spi_read(0x16);
	dev_spi_write(0x16,(rdVal&0xef)|0x10);
	rdVal = dev_spi_read(0x30);
	dev_spi_write(0x30,(rdVal&0xf0)|0x80);
	rdVal = dev_spi_read(0x30);
	dev_spi_write(0x30,(rdVal&0xf)|0x0);
	rdVal = dev_spi_read(0x31);
	dev_spi_write(0x31,(rdVal&0xf0)|0x80);
	rdVal = dev_spi_read(0x31);
	dev_spi_write(0x31,(rdVal&0xf)|0x0);
	rdVal = dev_spi_read(0x32);
	dev_spi_write(0x32,(rdVal&0xf0)|0x80);
	rdVal = dev_spi_read(0x32);
	dev_spi_write(0x32,(rdVal&0xf)|0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x11,0x3f);
	dev_spi_write(0x75,0x0);
	dev_spi_write(0x76,0x3);
	dev_spi_write(0x71,0x4);
	dev_spi_write(0x71,0x14);
	dev_spi_write(0x84,0x80);
	dev_spi_write(0x85,0x3);
	dev_spi_write(0x11,0x0);
	dev_spi_write(0x11,0x1);
	dev_spi_write(0x71,0x10);
	dev_spi_write(0x11,0x2);
	dev_spi_write(0x71,0x10);
	dev_spi_write(0x11,0x4);
	dev_spi_write(0x71,0x10);
	dev_spi_write(0x11,0x8);
	dev_spi_write(0x71,0x10);
	dev_spi_write(0x11,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14891 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14891 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x24);
	dev_spi_write(0x193,0x72);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14899 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14899 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14900 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14913 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14913 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x1);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x7);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x9);
	dev_spi_write(0xa6,0x8);
	dev_spi_write(0xa5,0x7);
	dev_spi_write(0xa4,0x6);
	dev_spi_write(0xab,0x0);
	dev_spi_write(0xaa,0x0);
	dev_spi_write(0xa9,0x0);
	dev_spi_write(0xa8,0x14);
	dev_spi_write(0x193,0x71);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 14929 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 14929 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 14930 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x11,0x3f);
	dev_spi_write(0x60,0x1);
	dev_spi_write(0x60,0x0);
	dev_spi_write(0x11,0x0);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x15a,0x2);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0xf);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x15a,0x22);
	dev_spi_write(0x1bd,0x0);
	dev_spi_write(0x1bc,0x1);
	dev_spi_write(0x70,0x27);
	dev_spi_write(0x71,0x27);
	dev_spi_write(0x72,0x27);
	dev_spi_write(0x74,0x27);
	dev_spi_write(0x75,0x27);
	dev_spi_write(0x76,0x27);
	dev_spi_write(0x78,0x27);
	dev_spi_write(0x79,0x27);
	dev_spi_write(0x7a,0x27);
	dev_spi_write(0x15a,0x26);
	dev_spi_write(0x15a,0x26);
	dev_spi_write(0x25,0x0);
	dev_spi_write(0x13,0x1);
	dev_spi_write(0x15a,0x27);
	dev_spi_write(0x15a,0x27);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x168,0x1);
	dev_spi_write(0x17c,0x1);
	dev_spi_write(0x1b1,0x0);
	dev_spi_write(0x1b0,0x10);
	dev_spi_write(0x13,0x1);
	dev_spi_write(0x158,0x1);
	dev_spi_write(0x159,0x1);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x177,0x0);
	dev_spi_write(0x176,0x1);
	dev_spi_write(0x175,0x0);
	dev_spi_write(0x174,0x80);
	dev_spi_write(0x178,0x0);
	dev_spi_write(0x18b,0x0);
	dev_spi_write(0x18a,0x1);
	dev_spi_write(0x189,0x0);
	dev_spi_write(0x188,0x80);
	dev_spi_write(0x18c,0x0);
	dev_spi_write(0x11a,0x0);
	dev_spi_write(0x119,0x0);
	dev_spi_write(0x118,0x0);
	dev_spi_write(0x126,0x0);
	dev_spi_write(0x125,0x0);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x1c5,0x3d);
	dev_spi_write(0x1c4,0xe0);
	dev_spi_write(0x29,0x0);
	dev_spi_write(0x18e,0x1);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x111,0x0);
	dev_spi_write(0x110,0x0);
	dev_spi_write(0x151,0xe);
	dev_spi_write(0x150,0x6c);
	dev_spi_write(0x1ad,0x0);
	dev_spi_write(0x1ac,0x0);
	dev_spi_write(0x162,0xf);
	dev_spi_write(0x163,0xf);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x133,0x0);
	dev_spi_write(0x132,0x0);
	dev_spi_write(0x131,0x1f);
	dev_spi_write(0x130,0xe0);
	dev_spi_write(0x135,0x0);
	dev_spi_write(0x134,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x1);
	dev_spi_write(0x540,0x0);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0x171);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15027 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15027 0x171 : %d\n",pollIter);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x14,0xff);
	dev_spi_write(0x119,0x0);
	dev_spi_write(0x118,0x1);
	dev_spi_write(0x119,0x0);
	dev_spi_write(0x118,0x0);
	dev_spi_write(0x14,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x0);
	dev_spi_write(0x540,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0x7d3,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0x320,0x0);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x13,0x1);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x105,0x0);
	dev_spi_write(0x104,0x40);
	dev_spi_write(0x10a,0x1);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0x3f);
	dev_spi_write(0x13,0x2);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x105,0x0);
	dev_spi_write(0x104,0x40);
	dev_spi_write(0x10a,0x1);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0x3f);
	dev_spi_write(0x13,0x4);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x105,0x0);
	dev_spi_write(0x104,0x40);
	dev_spi_write(0x10a,0x1);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0x3f);
	dev_spi_write(0x13,0x8);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x105,0x0);
	dev_spi_write(0x104,0x40);
	dev_spi_write(0x10a,0x1);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0x3f);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x24,0x1);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0x30c,0x0);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x11a,0x0);
	dev_spi_write(0x119,0x20);
	dev_spi_write(0x118,0x0);
	dev_spi_write(0x126,0x0);
	dev_spi_write(0x125,0x20);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xfd,0x1);
	dev_spi_write(0xfc,0x80);
	dev_spi_write(0x101,0x1);
	dev_spi_write(0x100,0x80);
	dev_spi_write(0x19d,0x1);
	dev_spi_write(0x19c,0x80);
	dev_spi_write(0x1a1,0x1);
	dev_spi_write(0x1a0,0x80);
	dev_spi_write(0x23d,0x1);
	dev_spi_write(0x23c,0x80);
	dev_spi_write(0x241,0x1);
	dev_spi_write(0x240,0x80);
	dev_spi_write(0x2dd,0x1);
	dev_spi_write(0x2dc,0x80);
	dev_spi_write(0x2e1,0x1);
	dev_spi_write(0x2e0,0x80);
	dev_spi_write(0x135,0xc);
	dev_spi_write(0x134,0x0);
	dev_spi_write(0x1d5,0xc);
	dev_spi_write(0x1d4,0x0);
	dev_spi_write(0x275,0xc);
	dev_spi_write(0x274,0x0);
	dev_spi_write(0x315,0xc);
	dev_spi_write(0x314,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x13,0xf);
	dev_spi_write(0x167,0x2);
	dev_spi_write(0x166,0x0);
	dev_spi_write(0x165,0x0);
	dev_spi_write(0x164,0x0);
	dev_spi_write(0x1b1,0x0);
	dev_spi_write(0x1b0,0x30);
	dev_spi_write(0x112,0x1);
	dev_spi_write(0x111,0x0);
	dev_spi_write(0x110,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0x7b2,0x0);
	dev_spi_write(0x7b0,0x1c);
	dev_spi_write(0x7b1,0x1c);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15136 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15136 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0xa);
	dev_spi_write(0xa2,0x10);
	dev_spi_write(0xa1,0x10);
	dev_spi_write(0xa0,0x14);
	dev_spi_write(0xa7,0x1f);
	dev_spi_write(0xa6,0x1);
	dev_spi_write(0xa5,0x1);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0xab,0x3);
	dev_spi_write(0xaa,0x3);
	dev_spi_write(0xa9,0x4);
	dev_spi_write(0xa8,0x1f);
	dev_spi_write(0xaf,0x0);
	dev_spi_write(0xae,0x0);
	dev_spi_write(0xad,0x1);
	dev_spi_write(0xac,0x1);
	dev_spi_write(0x193,0x88);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15156 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15156 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 15157 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15170 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15170 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15178 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15178 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 15179 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1f96,0x0);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1bd4,0x10);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15204 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15204 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15212 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15212 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 15213 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xc0,0xc0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x500,0x1);
	dev_spi_write(0x500,0x1);
	dev_spi_write(0x500,0x9);
	dev_spi_write(0x506,0x1);
	dev_spi_write(0x502,0x0);
	dev_spi_write(0x502,0x0);
	dev_spi_write(0x501,0x8);
	dev_spi_write(0x501,0xa);
	dev_spi_write(0x508,0x0);
	dev_spi_write(0x505,0xa0);
	dev_spi_write(0x505,0xa1);
	dev_spi_write(0x506,0x5);
	dev_spi_write(0x506,0x15);
	dev_spi_write(0x506,0x15);
	dev_spi_write(0x505,0xa1);
	dev_spi_write(0x508,0x0);
	dev_spi_write(0x508,0x0);
	dev_spi_write(0x503,0x0);
	dev_spi_write(0x502,0x0);
	dev_spi_write(0x500,0x1);
	dev_spi_write(0x500,0x3);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0xf);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x11,0x3f);
	dev_spi_write(0x63,0x80);
	dev_spi_write(0x67,0x10);
	dev_spi_write(0x77,0xc);
	dev_spi_write(0x76,0x53);
	dev_spi_write(0x82,0x80);
	dev_spi_write(0x82,0xa0);
	dev_spi_write(0x81,0x30);
	dev_spi_write(0x86,0xc0);
	dev_spi_write(0x87,0x1);
	dev_spi_write(0x84,0x85);
	dev_spi_write(0x87,0x5);
	dev_spi_write(0xf9,0x0);
	dev_spi_write(0xfa,0x6);
	dev_spi_write(0xe8,0x80);
	dev_spi_write(0x14e,0x1);
	dev_spi_write(0x14d,0x1c);
	dev_spi_write(0x14c,0x20);
	dev_spi_write(0x138,0x18);
	dev_spi_write(0x13e,0x40);
	dev_spi_write(0x4a,0x60);
	dev_spi_write(0x49,0x80);
	dev_spi_write(0x4a,0x61);
	dev_spi_write(0xc2,0xc0);
	dev_spi_write(0xc1,0x60);
	dev_spi_write(0xb6,0xc);
	dev_spi_write(0x4f,0xc);
	dev_spi_write(0x12e,0x80);
	dev_spi_write(0x12f,0x3);
	dev_spi_write(0x12e,0xf0);
	dev_spi_write(0x12f,0x3);
	dev_spi_write(0x11,0x0);
	dev_spi_write(0x10,0x3f);
	dev_spi_write(0xc1,0x5a);
	dev_spi_write(0x78,0x60);
	dev_spi_write(0xc0,0x17);
	dev_spi_write(0xd5,0x0);
	dev_spi_write(0xd5,0x8);
	dev_spi_write(0x150,0x30);
	dev_spi_write(0xf8,0x51);
	dev_spi_write(0xf9,0x50);
	dev_spi_write(0xfa,0xc);
	dev_spi_write(0xfb,0x8c);
	dev_spi_write(0xfc,0xa);
	dev_spi_write(0x168,0x2);
	dev_spi_write(0xef,0x8);
	dev_spi_write(0x178,0x71);
	dev_spi_write(0x75,0xb5);
	dev_spi_write(0x168,0x6);
	dev_spi_write(0x168,0x2);
	dev_spi_write(0x169,0xbb);
	dev_spi_write(0x74,0x7a);
	dev_spi_write(0x13c,0xfe);
	dev_spi_write(0x13d,0xff);
	dev_spi_write(0x13e,0x6b);
	dev_spi_write(0x124,0xfe);
	dev_spi_write(0x125,0xff);
	dev_spi_write(0x126,0x6b);
	dev_spi_write(0x129,0x24);
	dev_spi_write(0x130,0x76);
	dev_spi_write(0x130,0x7e);
	dev_spi_write(0x44,0x1);
	dev_spi_write(0x3c,0x1);
	dev_spi_write(0x3c,0x0);
	dev_spi_write(0x44,0x0);
	dev_spi_write(0xe8,0x0);
	dev_spi_write(0xe8,0x1);
	dev_spi_write(0x10,0x0);
	dev_spi_write(0x15,0x4);
	dev_spi_write(0x63,0x0);
	dev_spi_write(0x62,0x4);
	dev_spi_write(0x61,0x0);
	dev_spi_write(0x60,0x0);
	dev_spi_write(0x38,0xb0);
	dev_spi_write(0x28,0x4);
	dev_spi_write(0x15,0x8);
	dev_spi_write(0x63,0x0);
	dev_spi_write(0x62,0x4);
	dev_spi_write(0x61,0x0);
	dev_spi_write(0x60,0x0);
	dev_spi_write(0x38,0xb0);
	dev_spi_write(0x28,0x4);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0x6b,0x0);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x69,0x0);
	dev_spi_write(0x68,0x8);
	dev_spi_write(0x67,0x0);
	dev_spi_write(0x66,0x0);
	dev_spi_write(0x65,0x40);
	dev_spi_write(0x64,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x11,0x1);
	dev_spi_write(0xa4,0x80);
	dev_spi_write(0xa5,0x7);
	dev_spi_write(0x11,0x2);
	dev_spi_write(0xa4,0x80);
	dev_spi_write(0xa5,0x7);
	dev_spi_write(0x11,0x4);
	dev_spi_write(0xa4,0x80);
	dev_spi_write(0xa5,0x7);
	dev_spi_write(0x11,0x8);
	dev_spi_write(0xa4,0x80);
	dev_spi_write(0xa5,0x7);
	dev_spi_write(0x11,0x0);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xbf)|0x40);
	rdVal = dev_spi_read(0x170);
	dev_spi_write(0x170,(rdVal&0xfe)|0x1);
	rdVal = dev_spi_read(0x540);
	dev_spi_write(0x540,(rdVal&0xfe)|0x0);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0x171);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 15369 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 15369 0x171 : %d\n",pollIter);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xbf)|0x0);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xfe)|0x1);
	rdVal = dev_spi_read(0x5e);
	dev_spi_write(0x5e,(rdVal&0xfe)|0x1);
	rdVal = dev_spi_read(0x5d);
	dev_spi_write(0x5d,(rdVal&0x1f)|0xec);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xbf)|0x40);
	rdVal = dev_spi_read(0x170);
	dev_spi_write(0x170,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x540);
	dev_spi_write(0x540,(rdVal&0xfe)|0x0);
	dev_spi_write(0x50f,0x0);
	dev_spi_write(0x50e,0xc);
	dev_spi_write(0x50d,0x0);
	dev_spi_write(0x50c,0x0);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xbf)|0x0);
	rdVal = dev_spi_read(0x15);
	dev_spi_write(0x15,(rdVal&0xfd)|0x2);
	dev_spi_write(0xbb,0x0);
	dev_spi_write(0xba,0x0);
	dev_spi_write(0xb9,0x0);
	dev_spi_write(0xb8,0x0);
	dev_spi_write(0xbb,0x0);
	dev_spi_write(0xba,0x0);
	dev_spi_write(0xb9,0x80);
	dev_spi_write(0xb8,0x0);
	dev_spi_write(0xbb,0x0);
	dev_spi_write(0xba,0x0);
	dev_spi_write(0xb9,0x0);
	dev_spi_write(0xb8,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0x48,0x10);
	dev_spi_write(0x48,0x10);
	dev_spi_write(0x49,0x32);
	dev_spi_write(0x49,0x32);
	dev_spi_write(0x4a,0x54);
	dev_spi_write(0x4a,0x54);
	dev_spi_write(0x4b,0x76);
	dev_spi_write(0x4b,0x76);
	dev_spi_write(0x4c,0x10);
	dev_spi_write(0x4c,0x10);
	dev_spi_write(0x4d,0x32);
	dev_spi_write(0x4d,0x32);
	dev_spi_write(0x4e,0x54);
	dev_spi_write(0x4e,0x54);
	dev_spi_write(0x4f,0x76);
	dev_spi_write(0x4f,0x76);
	dev_spi_write(0x68,0x14);
	dev_spi_write(0x68,0x14);
	dev_spi_write(0x69,0x32);
	dev_spi_write(0x69,0x32);
	dev_spi_write(0x6a,0x50);
	dev_spi_write(0x6a,0x50);
	dev_spi_write(0x6b,0x76);
	dev_spi_write(0x6b,0x76);
	dev_spi_write(0x6c,0x14);
	dev_spi_write(0x6c,0x14);
	dev_spi_write(0x6d,0x32);
	dev_spi_write(0x6d,0x32);
	dev_spi_write(0x6e,0x50);
	dev_spi_write(0x6e,0x50);
	dev_spi_write(0x6f,0x76);
	dev_spi_write(0x6f,0x76);
	dev_spi_write(0x34,0x0);
	dev_spi_write(0x34,0x0);
	dev_spi_write(0x35,0x22);
	dev_spi_write(0x35,0x22);
	dev_spi_write(0x36,0x44);
	dev_spi_write(0x36,0x44);
	dev_spi_write(0x37,0x66);
	dev_spi_write(0x37,0x66);
	dev_spi_write(0x38,0x40);
	dev_spi_write(0x38,0x0);
	dev_spi_write(0x39,0x52);
	dev_spi_write(0x39,0x22);
	dev_spi_write(0x3a,0x64);
	dev_spi_write(0x3a,0x44);
	dev_spi_write(0x3b,0x76);
	dev_spi_write(0x3b,0x66);
	dev_spi_write(0x40,0x0);
	dev_spi_write(0x40,0x0);
	dev_spi_write(0x41,0x22);
	dev_spi_write(0x41,0x22);
	dev_spi_write(0x42,0x24);
	dev_spi_write(0x42,0x44);
	dev_spi_write(0x43,0x36);
	dev_spi_write(0x43,0x66);
	dev_spi_write(0x44,0x50);
	dev_spi_write(0x44,0x50);
	dev_spi_write(0x44,0x50);
	dev_spi_write(0x44,0x50);
	dev_spi_write(0x45,0xfa);
	dev_spi_write(0x45,0xfa);
	dev_spi_write(0x45,0xfa);
	dev_spi_write(0x45,0xfa);
	dev_spi_write(0x46,0xfa);
	dev_spi_write(0x46,0xfa);
	dev_spi_write(0x46,0xfa);
	dev_spi_write(0x46,0xfa);
	dev_spi_write(0x47,0x50);
	dev_spi_write(0x47,0x50);
	dev_spi_write(0x47,0x50);
	dev_spi_write(0x47,0x50);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0xcd,0x11);
	dev_spi_write(0xcd,0x11);
	dev_spi_write(0xce,0x22);
	dev_spi_write(0xce,0x22);
	dev_spi_write(0xcf,0x33);
	dev_spi_write(0xcf,0x33);
	dev_spi_write(0xd0,0x48);
	dev_spi_write(0xd0,0x88);
	dev_spi_write(0xd1,0x59);
	dev_spi_write(0xd1,0x99);
	dev_spi_write(0xd2,0x6a);
	dev_spi_write(0xd2,0xaa);
	dev_spi_write(0xd3,0x7b);
	dev_spi_write(0xd3,0xbb);
	dev_spi_write(0x60,0x10);
	dev_spi_write(0x60,0x10);
	dev_spi_write(0x61,0x34);
	dev_spi_write(0x61,0x54);
	dev_spi_write(0xbc,0xe4);
	dev_spi_write(0xbc,0xe4);
	dev_spi_write(0xbc,0xe4);
	dev_spi_write(0xbc,0xe4);
	dev_spi_write(0xbe,0x4e);
	dev_spi_write(0xbe,0x4e);
	dev_spi_write(0xbe,0x6e);
	dev_spi_write(0xbe,0xee);
	dev_spi_write(0x54,0x0);
	dev_spi_write(0x54,0x0);
	dev_spi_write(0x55,0x30);
	dev_spi_write(0x55,0x0);
	dev_spi_write(0x56,0x50);
	dev_spi_write(0x56,0x0);
	dev_spi_write(0xca,0xe4);
	dev_spi_write(0xca,0xe0);
	dev_spi_write(0xca,0xc0);
	dev_spi_write(0xca,0x0);
	dev_spi_write(0x9c,0x3);
	dev_spi_write(0x9e,0x3);
	dev_spi_write(0x9c,0x3);
	dev_spi_write(0xa0,0x2);
	dev_spi_write(0xa0,0x2);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x15,0x4);
	dev_spi_write(0x67,0x18);
	dev_spi_write(0x66,0x0);
	dev_spi_write(0x65,0x0);
	dev_spi_write(0x64,0x0);
	dev_spi_write(0x15,0x8);
	dev_spi_write(0x67,0x18);
	dev_spi_write(0x66,0x0);
	dev_spi_write(0x65,0x0);
	dev_spi_write(0x64,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x1);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x22,0x4);
	dev_spi_write(0x6f,0x2);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xe);
	dev_spi_write(0x6c,0xc);
	dev_spi_write(0x6c,0x8);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x5c,0x1f);
	dev_spi_write(0x5c,0x1f);
	dev_spi_write(0x5c,0x1b);
	dev_spi_write(0x5c,0x13);
	dev_spi_write(0x5c,0x3);
	dev_spi_write(0x21,0x3);
	dev_spi_write(0x5d,0x1);
	dev_spi_write(0x5d,0x1);
	dev_spi_write(0x24,0xf);
	dev_spi_write(0x69,0x88);
	dev_spi_write(0x69,0x88);
	dev_spi_write(0x6a,0x88);
	dev_spi_write(0x6a,0x88);
	dev_spi_write(0x40,0x1);
	dev_spi_write(0x41,0x0);
	dev_spi_write(0x46,0x1);
	dev_spi_write(0x47,0x2);
	dev_spi_write(0x4c,0x1);
	dev_spi_write(0x4d,0x5);
	dev_spi_write(0x34,0x5);
	dev_spi_write(0x84,0xf);
	dev_spi_write(0x79,0xf);
	dev_spi_write(0x42,0x1);
	dev_spi_write(0x43,0x0);
	dev_spi_write(0x48,0x1);
	dev_spi_write(0x49,0x2);
	dev_spi_write(0x4e,0x1);
	dev_spi_write(0x4f,0x5);
	dev_spi_write(0x35,0x5);
	dev_spi_write(0x9c,0xf);
	dev_spi_write(0x91,0xf);
	dev_spi_write(0x44,0x1);
	dev_spi_write(0x45,0x0);
	dev_spi_write(0x4a,0x1);
	dev_spi_write(0x4b,0x2);
	dev_spi_write(0x50,0x1);
	dev_spi_write(0x51,0x5);
	dev_spi_write(0x36,0x18);
	dev_spi_write(0xb4,0xf);
	dev_spi_write(0xa9,0xf);
	dev_spi_write(0x20,0x0);
	dev_spi_write(0x77,0x81);
	dev_spi_write(0x8f,0x81);
	dev_spi_write(0xa7,0x81);
	dev_spi_write(0x23,0x0);
	dev_spi_write(0x3c,0x2);
	dev_spi_write(0x3c,0x2);
	dev_spi_write(0x3c,0xa);
	dev_spi_write(0x3c,0xa);
	dev_spi_write(0x3c,0x2a);
	dev_spi_write(0x3c,0x3a);
	dev_spi_write(0x83,0x1);
	dev_spi_write(0x9b,0x1);
	dev_spi_write(0xb2,0x80);
	dev_spi_write(0x78,0x1);
	dev_spi_write(0x90,0x1);
	dev_spi_write(0xa8,0x1);
	dev_spi_write(0x7a,0x7);
	dev_spi_write(0x92,0x7);
	dev_spi_write(0xaa,0x7);
	dev_spi_write(0x77,0x83);
	dev_spi_write(0x8f,0x83);
	dev_spi_write(0xa7,0x83);
	dev_spi_write(0x7b,0xf);
	dev_spi_write(0x93,0xf);
	dev_spi_write(0xab,0xf);
	dev_spi_write(0xbc,0x0);
	dev_spi_write(0xbd,0x1);
	dev_spi_write(0xbe,0x2);
	dev_spi_write(0xbf,0x3);
	dev_spi_write(0xe4,0x42);
	dev_spi_write(0xe4,0x22);
	dev_spi_write(0xe5,0x83);
	dev_spi_write(0xe5,0x43);
	dev_spi_write(0xe6,0x42);
	dev_spi_write(0xe6,0x22);
	dev_spi_write(0xe7,0x83);
	dev_spi_write(0xe7,0x43);
	dev_spi_write(0xe8,0x42);
	dev_spi_write(0xe8,0x22);
	dev_spi_write(0xe9,0x83);
	dev_spi_write(0xe9,0x43);
	dev_spi_write(0x37,0x6);
	dev_spi_write(0x37,0x4);
	dev_spi_write(0x37,0x0);
	dev_spi_write(0x16,0x2);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x6d,0x7);
	dev_spi_write(0x22,0x4);
	dev_spi_write(0x6f,0x2);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6c,0xe);
	dev_spi_write(0x6c,0xc);
	dev_spi_write(0x6c,0x8);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x6e,0xf);
	dev_spi_write(0x5c,0x1f);
	dev_spi_write(0x5c,0x1f);
	dev_spi_write(0x5c,0x1b);
	dev_spi_write(0x5c,0x13);
	dev_spi_write(0x5c,0x3);
	dev_spi_write(0x21,0x3);
	dev_spi_write(0x5d,0x1);
	dev_spi_write(0x5d,0x1);
	dev_spi_write(0x24,0xf);
	dev_spi_write(0x69,0x88);
	dev_spi_write(0x69,0x88);
	dev_spi_write(0x6a,0x88);
	dev_spi_write(0x6a,0x88);
	dev_spi_write(0x40,0x1);
	dev_spi_write(0x41,0x0);
	dev_spi_write(0x46,0x1);
	dev_spi_write(0x47,0x2);
	dev_spi_write(0x4c,0x1);
	dev_spi_write(0x4d,0x5);
	dev_spi_write(0x34,0x5);
	dev_spi_write(0x84,0xf);
	dev_spi_write(0x79,0xf);
	dev_spi_write(0x42,0x1);
	dev_spi_write(0x43,0x0);
	dev_spi_write(0x48,0x1);
	dev_spi_write(0x49,0x2);
	dev_spi_write(0x4e,0x1);
	dev_spi_write(0x4f,0x5);
	dev_spi_write(0x35,0x5);
	dev_spi_write(0x9c,0xf);
	dev_spi_write(0x91,0xf);
	dev_spi_write(0x44,0x1);
	dev_spi_write(0x45,0x0);
	dev_spi_write(0x4a,0x1);
	dev_spi_write(0x4b,0x2);
	dev_spi_write(0x50,0x1);
	dev_spi_write(0x51,0x5);
	dev_spi_write(0x36,0x18);
	dev_spi_write(0xb4,0xf);
	dev_spi_write(0xa9,0xf);
	dev_spi_write(0x20,0x0);
	dev_spi_write(0x77,0x81);
	dev_spi_write(0x8f,0x81);
	dev_spi_write(0xa7,0x81);
	dev_spi_write(0x23,0x0);
	dev_spi_write(0x3c,0x2);
	dev_spi_write(0x3c,0x2);
	dev_spi_write(0x3c,0xa);
	dev_spi_write(0x3c,0xa);
	dev_spi_write(0x3c,0x2a);
	dev_spi_write(0x3c,0x3a);
	dev_spi_write(0x83,0x1);
	dev_spi_write(0x9b,0x1);
	dev_spi_write(0xb2,0x80);
	dev_spi_write(0x78,0x1);
	dev_spi_write(0x90,0x1);
	dev_spi_write(0xa8,0x1);
	dev_spi_write(0x7a,0x7);
	dev_spi_write(0x92,0x7);
	dev_spi_write(0xaa,0x7);
	dev_spi_write(0x77,0x83);
	dev_spi_write(0x8f,0x83);
	dev_spi_write(0xa7,0x83);
	dev_spi_write(0x7b,0xf);
	dev_spi_write(0x93,0xf);
	dev_spi_write(0xab,0xf);
	dev_spi_write(0xbc,0x4);
	dev_spi_write(0xbd,0x5);
	dev_spi_write(0xbe,0x6);
	dev_spi_write(0xbf,0x7);
	dev_spi_write(0xe4,0x42);
	dev_spi_write(0xe4,0x22);
	dev_spi_write(0xe5,0x83);
	dev_spi_write(0xe5,0x43);
	dev_spi_write(0xe6,0x42);
	dev_spi_write(0xe6,0x22);
	dev_spi_write(0xe7,0x83);
	dev_spi_write(0xe7,0x43);
	dev_spi_write(0xe8,0x42);
	dev_spi_write(0xe8,0x22);
	dev_spi_write(0xe9,0x83);
	dev_spi_write(0xe9,0x43);
	dev_spi_write(0x37,0x6);
	dev_spi_write(0x37,0x4);
	dev_spi_write(0x37,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x4);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6d,0xf);
	dev_spi_write(0x57,0xf);
	dev_spi_write(0x49,0xf);
	dev_spi_write(0x69,0x0);
	dev_spi_write(0x68,0x3);
	dev_spi_write(0x6b,0x0);
	dev_spi_write(0x6a,0x3);
	dev_spi_write(0x71,0x0);
	dev_spi_write(0x73,0x0);
	dev_spi_write(0x21,0x4);
	dev_spi_write(0x24,0x5e);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xfe);
	dev_spi_write(0x25,0xfc);
	dev_spi_write(0x25,0xf8);
	dev_spi_write(0x25,0xf0);
	dev_spi_write(0x20,0x3);
	dev_spi_write(0x20,0x3);
	dev_spi_write(0x64,0xff);
	dev_spi_write(0x40,0x4);
	dev_spi_write(0x40,0xc);
	dev_spi_write(0xac,0x4);
	dev_spi_write(0xac,0xc);
	dev_spi_write(0x2c,0x1);
	dev_spi_write(0x2d,0x0);
	dev_spi_write(0x2e,0x1);
	dev_spi_write(0x2f,0x0);
	dev_spi_write(0x30,0x1);
	dev_spi_write(0x31,0x2);
	dev_spi_write(0x32,0x1);
	dev_spi_write(0x33,0x2);
	dev_spi_write(0x34,0x1);
	dev_spi_write(0x35,0x2);
	dev_spi_write(0x36,0x1);
	dev_spi_write(0x37,0x2);
	dev_spi_write(0x22,0x59);
	dev_spi_write(0x23,0x59);
	dev_spi_write(0x22,0x59);
	dev_spi_write(0x23,0x59);
	dev_spi_write(0x38,0x1f);
	dev_spi_write(0x38,0x1d);
	dev_spi_write(0x38,0x19);
	dev_spi_write(0x38,0x11);
	dev_spi_write(0x38,0x1);
	dev_spi_write(0x26,0x0);
	dev_spi_write(0x42,0x7f);
	dev_spi_write(0x78,0xdf);
	dev_spi_write(0x79,0xdf);
	dev_spi_write(0x7a,0x0);
	dev_spi_write(0x7b,0x0);
	dev_spi_write(0x103,0x0);
	dev_spi_write(0x102,0x0);
	dev_spi_write(0x101,0x0);
	dev_spi_write(0x100,0xff);
	dev_spi_write(0x107,0x20);
	dev_spi_write(0x106,0x20);
	dev_spi_write(0x105,0x20);
	dev_spi_write(0x104,0x20);
	dev_spi_write(0xfb,0x0);
	dev_spi_write(0xfa,0x0);
	dev_spi_write(0xf9,0x0);
	dev_spi_write(0xf8,0xff);
	dev_spi_write(0xff,0x20);
	dev_spi_write(0xfe,0x20);
	dev_spi_write(0xfd,0x20);
	dev_spi_write(0xfc,0x20);
	dev_spi_write(0x113,0x0);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x111,0x0);
	dev_spi_write(0x110,0xff);
	dev_spi_write(0x117,0x20);
	dev_spi_write(0x116,0x20);
	dev_spi_write(0x115,0x20);
	dev_spi_write(0x114,0x20);
	dev_spi_write(0x10b,0x0);
	dev_spi_write(0x10a,0x0);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0xff);
	dev_spi_write(0x10f,0x20);
	dev_spi_write(0x10e,0x20);
	dev_spi_write(0x10d,0x20);
	dev_spi_write(0x10c,0x20);
	dev_spi_write(0x24,0x5c);
	dev_spi_write(0x3c,0x88);
	dev_spi_write(0x3c,0x88);
	dev_spi_write(0x3d,0x88);
	dev_spi_write(0x3d,0x88);
	dev_spi_write(0x26,0x0);
	dev_spi_write(0x47,0x81);
	dev_spi_write(0x55,0x81);
	dev_spi_write(0x64,0xf1);
	dev_spi_write(0x81,0xf1);
	dev_spi_write(0x83,0x1f);
	dev_spi_write(0x83,0xff);
	dev_spi_write(0x81,0xff);
	dev_spi_write(0x80,0x1f);
	dev_spi_write(0x80,0xff);
	dev_spi_write(0xa8,0x2);
	dev_spi_write(0x24,0x58);
	dev_spi_write(0x24,0x50);
	dev_spi_write(0x16,0x8);
	dev_spi_write(0x6c,0xf);
	dev_spi_write(0x6d,0xf);
	dev_spi_write(0x57,0xf);
	dev_spi_write(0x49,0xf);
	dev_spi_write(0x69,0x0);
	dev_spi_write(0x68,0x3);
	dev_spi_write(0x6b,0x0);
	dev_spi_write(0x6a,0x3);
	dev_spi_write(0x71,0x0);
	dev_spi_write(0x73,0x0);
	dev_spi_write(0x21,0x4);
	dev_spi_write(0x24,0x5e);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xff);
	dev_spi_write(0x25,0xfe);
	dev_spi_write(0x25,0xfc);
	dev_spi_write(0x25,0xf8);
	dev_spi_write(0x25,0xf0);
	dev_spi_write(0x20,0x3);
	dev_spi_write(0x20,0x3);
	dev_spi_write(0x64,0xff);
	dev_spi_write(0x40,0x4);
	dev_spi_write(0x40,0xc);
	dev_spi_write(0xac,0x4);
	dev_spi_write(0xac,0xc);
	dev_spi_write(0x2c,0x1);
	dev_spi_write(0x2d,0x0);
	dev_spi_write(0x2e,0x1);
	dev_spi_write(0x2f,0x0);
	dev_spi_write(0x30,0x1);
	dev_spi_write(0x31,0x2);
	dev_spi_write(0x32,0x1);
	dev_spi_write(0x33,0x2);
	dev_spi_write(0x34,0x1);
	dev_spi_write(0x35,0x2);
	dev_spi_write(0x36,0x1);
	dev_spi_write(0x37,0x2);
	dev_spi_write(0x22,0x59);
	dev_spi_write(0x23,0x59);
	dev_spi_write(0x22,0x59);
	dev_spi_write(0x23,0x59);
	dev_spi_write(0x38,0x1f);
	dev_spi_write(0x38,0x1d);
	dev_spi_write(0x38,0x19);
	dev_spi_write(0x38,0x11);
	dev_spi_write(0x38,0x1);
	dev_spi_write(0x26,0x0);
	dev_spi_write(0x42,0x7f);
	dev_spi_write(0x78,0xdf);
	dev_spi_write(0x79,0xdf);
	dev_spi_write(0x7a,0x0);
	dev_spi_write(0x7b,0x0);
	dev_spi_write(0x103,0x0);
	dev_spi_write(0x102,0x0);
	dev_spi_write(0x101,0x0);
	dev_spi_write(0x100,0xff);
	dev_spi_write(0x107,0x20);
	dev_spi_write(0x106,0x20);
	dev_spi_write(0x105,0x20);
	dev_spi_write(0x104,0x20);
	dev_spi_write(0xfb,0x0);
	dev_spi_write(0xfa,0x0);
	dev_spi_write(0xf9,0x0);
	dev_spi_write(0xf8,0xff);
	dev_spi_write(0xff,0x20);
	dev_spi_write(0xfe,0x20);
	dev_spi_write(0xfd,0x20);
	dev_spi_write(0xfc,0x20);
	dev_spi_write(0x113,0x0);
	dev_spi_write(0x112,0x0);
	dev_spi_write(0x111,0x0);
	dev_spi_write(0x110,0xff);
	dev_spi_write(0x117,0x20);
	dev_spi_write(0x116,0x20);
	dev_spi_write(0x115,0x20);
	dev_spi_write(0x114,0x20);
	dev_spi_write(0x10b,0x0);
	dev_spi_write(0x10a,0x0);
	dev_spi_write(0x109,0x0);
	dev_spi_write(0x108,0xff);
	dev_spi_write(0x10f,0x20);
	dev_spi_write(0x10e,0x20);
	dev_spi_write(0x10d,0x20);
	dev_spi_write(0x10c,0x20);
	dev_spi_write(0x24,0x5c);
	dev_spi_write(0x3c,0x88);
	dev_spi_write(0x3c,0x88);
	dev_spi_write(0x3d,0x88);
	dev_spi_write(0x3d,0x88);
	dev_spi_write(0x26,0x0);
	dev_spi_write(0x47,0x81);
	dev_spi_write(0x55,0x81);
	dev_spi_write(0x64,0xf0);
	dev_spi_write(0x81,0xf1);
	dev_spi_write(0x83,0x1f);
	dev_spi_write(0x83,0xff);
	dev_spi_write(0x81,0xff);
	dev_spi_write(0x80,0x1f);
	dev_spi_write(0x80,0xff);
	dev_spi_write(0xa8,0x2);
	dev_spi_write(0x24,0x58);
	dev_spi_write(0x24,0x50);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0x7c,0xc3);
	dev_spi_write(0x7c,0xc3);
	dev_spi_write(0x7d,0x3);
	dev_spi_write(0x7d,0xc3);
	dev_spi_write(0x7e,0x9);
	dev_spi_write(0x7e,0x9);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x1);
	dev_spi_write(0x120,0x0);
	dev_spi_write(0x120,0xc);
	dev_spi_write(0x120,0x3c);
	dev_spi_write(0x121,0x3);
	dev_spi_write(0x121,0xf);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0x29,0x3);
	dev_spi_write(0x29,0x3);
	dev_spi_write(0x81,0x3);
	dev_spi_write(0x81,0xc3);
	dev_spi_write(0x82,0x4);
	dev_spi_write(0x82,0x6);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x2);
	dev_spi_write(0x120,0x0);
	dev_spi_write(0x120,0xc);
	dev_spi_write(0x120,0x3c);
	dev_spi_write(0x121,0x3);
	dev_spi_write(0x121,0xf);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x10);
	dev_spi_write(0x29,0x3);
	dev_spi_write(0x29,0x3);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x13,0x40);
	dev_spi_write(0xd0,0x3);
	dev_spi_write(0x13,0x80);
	dev_spi_write(0xd0,0x3);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x12,0x1);
	dev_spi_write(0x773,0x1);
	dev_spi_write(0x773,0x1);
	dev_spi_write(0x12,0x8);
	dev_spi_write(0x773,0x1);
	dev_spi_write(0x773,0x1);
	dev_spi_write(0x12,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x101,0x0);
	dev_spi_write(0x100,0x1);
	dev_spi_write(0x103,0x0);
	dev_spi_write(0x102,0x0);
	dev_spi_write(0x105,0x2);
	dev_spi_write(0x104,0x0);
	dev_spi_write(0x107,0x0);
	dev_spi_write(0x106,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x13,0x40);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x174,0x0);
	dev_spi_write(0x13,0x80);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x174,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x13,0x10);
	dev_spi_write(0xc8,0x0);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0x13,0x20);
	dev_spi_write(0xc8,0x0);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0x13,0x10);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x13,0x20);
	dev_spi_write(0x6c,0x0);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x10);
	dev_spi_write(0x4c0,0x5);
	dev_spi_write(0x4c0,0x5);
	dev_spi_write(0x8a1,0x0);
	dev_spi_write(0x4bc,0x21);
	dev_spi_write(0x4bc,0x22);
	dev_spi_write(0x10c5,0x0);
	dev_spi_write(0x46c,0x21);
	dev_spi_write(0x46c,0x22);
	dev_spi_write(0x10bd,0x0);
	dev_spi_write(0x420,0x5);
	dev_spi_write(0x420,0x5);
	dev_spi_write(0x8c9,0x0);
	dev_spi_write(0x458,0x21);
	dev_spi_write(0x458,0x22);
	dev_spi_write(0x10c1,0x0);
	dev_spi_write(0x514,0x21);
	dev_spi_write(0x514,0x22);
	dev_spi_write(0x10f5,0x0);
	dev_spi_write(0x4e4,0x5);
	dev_spi_write(0x4e4,0x5);
	dev_spi_write(0x8a5,0x0);
	dev_spi_write(0x4c4,0x21);
	dev_spi_write(0x4c4,0x22);
	dev_spi_write(0x10c9,0x0);
	dev_spi_write(0x4f4,0x5);
	dev_spi_write(0x4f4,0x5);
	dev_spi_write(0x8cd,0x0);
	dev_spi_write(0x510,0x1);
	dev_spi_write(0x510,0x1);
	dev_spi_write(0x8ad,0x0);
	dev_spi_write(0x8ae,0x3e);
	dev_spi_write(0x50c,0x21);
	dev_spi_write(0x50c,0x22);
	dev_spi_write(0x10f1,0x0);
	dev_spi_write(0x40c,0x1);
	dev_spi_write(0x40c,0x1);
	dev_spi_write(0x8b9,0x0);
	dev_spi_write(0x8ba,0x4);
	dev_spi_write(0x40c,0x1);
	dev_spi_write(0x40c,0x1);
	dev_spi_write(0x8bd,0x0);
	dev_spi_write(0x8be,0x4);
	dev_spi_write(0x468,0x1);
	dev_spi_write(0x468,0x1);
	dev_spi_write(0x9dd,0x0);
	dev_spi_write(0x9de,0x18);
	dev_spi_write(0x468,0x1);
	dev_spi_write(0x468,0x1);
	dev_spi_write(0x9e1,0x0);
	dev_spi_write(0x9e2,0x18);
	dev_spi_write(0x454,0x5);
	dev_spi_write(0x454,0x5);
	dev_spi_write(0x905,0x0);
	dev_spi_write(0x538,0x1);
	dev_spi_write(0x538,0x1);
	dev_spi_write(0x8c1,0x0);
	dev_spi_write(0x8c2,0x48);
	dev_spi_write(0x538,0x1);
	dev_spi_write(0x538,0x1);
	dev_spi_write(0x8c5,0x0);
	dev_spi_write(0x8c6,0x48);
	dev_spi_write(0x4cc,0x1);
	dev_spi_write(0x4cc,0x1);
	dev_spi_write(0x9d5,0x0);
	dev_spi_write(0x9d6,0x2d);
	dev_spi_write(0x4cc,0x1);
	dev_spi_write(0x4cc,0x1);
	dev_spi_write(0x9d9,0x0);
	dev_spi_write(0x9da,0x2d);
	dev_spi_write(0x534,0x5);
	dev_spi_write(0x534,0x5);
	dev_spi_write(0x8b1,0x0);
	dev_spi_write(0x2bc,0x0);
	dev_spi_write(0x2c4,0x0);
	dev_spi_write(0x30c,0x0);
	dev_spi_write(0x314,0x0);
	dev_spi_write(0x2c0,0x0);
	dev_spi_write(0x2e4,0x0);
	dev_spi_write(0x334,0x0);
	dev_spi_write(0x310,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x3);
	dev_spi_write(0x6d,0x6);
	dev_spi_write(0x6d,0x2);
	dev_spi_write(0x6d,0x0);
	dev_spi_write(0x6e,0xe);
	dev_spi_write(0x6e,0xc);
	dev_spi_write(0x6e,0x8);
	dev_spi_write(0x6e,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0xc);
	dev_spi_write(0x20,0x2);
	dev_spi_write(0x20,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x3);
	dev_spi_write(0x124,0x8);
	dev_spi_write(0x128,0x8);
	dev_spi_write(0x124,0x0);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x4);
	dev_spi_write(0xeb,0xf0);
	dev_spi_write(0xeb,0xff);
	dev_spi_write(0xeb,0xf);
	dev_spi_write(0xeb,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x15,0x2);
	dev_spi_write(0xdc,0x10);
	dev_spi_write(0xdf,0x10);
	dev_spi_write(0x100,0x10);
	dev_spi_write(0xc4,0x10);
	dev_spi_write(0xc7,0x10);
	dev_spi_write(0xcc,0x10);
	dev_spi_write(0xcf,0x10);
	dev_spi_write(0xd8,0x10);
	dev_spi_write(0xd4,0x10);
	dev_spi_write(0xdc,0x0);
	dev_spi_write(0xdf,0x0);
	dev_spi_write(0x100,0x0);
	dev_spi_write(0xc4,0x0);
	dev_spi_write(0xc7,0x0);
	dev_spi_write(0xcc,0x0);
	dev_spi_write(0xcf,0x0);
	dev_spi_write(0xd8,0x0);
	dev_spi_write(0xd4,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x1);
	dev_spi_write(0x540,0x0);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0x171);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16148 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16148 0x171 : %d\n",pollIter);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x0);
	dev_spi_write(0x858,0x0);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x1);
	dev_spi_write(0x858,0x1);
	dev_spi_write(0x85b,0x0);
	dev_spi_write(0x85a,0x0);
	dev_spi_write(0x859,0x0);
	dev_spi_write(0x858,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x1);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x6e,0x0);
	dev_spi_write(0x6a,0x0);
	dev_spi_write(0x6a,0x2);
	dev_spi_write(0x58,0x6);
	delaySec(0.001000);
	dev_spi_write(0x58,0x4);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0x170,0x0);
	dev_spi_write(0x540,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x16,0x1);
	rdVal = dev_spi_read(0x12c);
	if ((rdVal&0x8) != 0x8)
		xil_printf("Readcheck Error in Line 16179 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x130);
	if ((rdVal&0x8) != 0x8)
		xil_printf("Readcheck Error in Line 16180 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x3);
	dev_spi_write(0x24,0x0);
	dev_spi_write(0xf0,0xf);
	dev_spi_write(0xf0,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x4);
	dev_spi_write(0x64,0x1);
	dev_spi_write(0x128,0x1);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x128,0x4);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x16,0x8);
	dev_spi_write(0x64,0x0);
	dev_spi_write(0x128,0x1);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x128,0x4);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x60);
	dev_spi_write(0x16,0x20);
	dev_spi_write(0x16,0x60);
	dev_spi_write(0x41fb,0x2);
	dev_spi_write(0x41fa,0x46);
	dev_spi_write(0x43fb,0x2);
	dev_spi_write(0x43fa,0x46);
	dev_spi_write(0x45fb,0x2);
	dev_spi_write(0x45fa,0x46);
	dev_spi_write(0x47fb,0x2);
	dev_spi_write(0x47fa,0x46);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x13,0x1);
	dev_spi_write(0x15a,0x25);
	dev_spi_write(0x13,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0xf);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x20);
	dev_spi_write(0xa25,0x20);
	dev_spi_write(0x19,0x80);
	dev_spi_write(0xa25,0x20);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16230 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16230 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x0);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x52);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16242 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16242 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16243 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16256 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16256 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x3);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x53);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16264 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16264 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16265 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0x320,0x0);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0xf);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x10,0xf);
	dev_spi_write(0x3c,0x1);
	dev_spi_write(0x3c,0x0);
	dev_spi_write(0x10,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x3);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x10,0x30);
	dev_spi_write(0x3c,0x1);
	dev_spi_write(0x3c,0x0);
	dev_spi_write(0x10,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16307 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16307 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16315 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16315 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16316 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1f8f,0x5);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16335 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16335 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16343 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16343 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16344 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16357 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16357 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x1);
	dev_spi_write(0xa2,0x1);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x9f);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16365 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16365 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16366 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16379 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16379 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0xb);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x49);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16387 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16387 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16388 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16401 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16401 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x4b);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16409 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16409 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16410 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16423 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16423 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x0);
	dev_spi_write(0xa4,0x0);
	dev_spi_write(0x193,0x13);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16434 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16434 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16435 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x18);
	dev_spi_write(0x18,(rdVal&0xdf)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x1);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x2);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x4);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x8);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xf0)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xcf)|0x10);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	rdVal = dev_spi_read(0x12);
	dev_spi_write(0x12,(rdVal&0xcf)|0x20);
	rdVal = dev_spi_read(0x14c4);
	dev_spi_write(0x14c4,(rdVal&0xfe)|0x0);
	dev_spi_write(0x12,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16464 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16464 0xf0 : %d\n",pollIter);
	dev_spi_write(0x193,0x3d);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16468 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16468 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16469 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16482 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16482 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16490 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16490 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16491 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x40);
	dev_spi_write(0x26e,0x2);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	dev_spi_write(0x144,0x8);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x8);
	dev_spi_write(0x1443,0x5);
	dev_spi_write(0x1442,0xf5);
	dev_spi_write(0x1441,0xe1);
	dev_spi_write(0x1440,0x0);
	dev_spi_write(0x140b,0x27);
	dev_spi_write(0x140c,0x27);
	dev_spi_write(0x140d,0x27);
	dev_spi_write(0x140e,0x27);
	dev_spi_write(0x140f,0x27);
	dev_spi_write(0x1410,0x27);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16524 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16524 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x7);
	dev_spi_write(0x193,0xa4);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16532 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16532 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16533 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16546 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16546 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x8);
	dev_spi_write(0x193,0xa4);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16554 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16554 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16555 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16568 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16568 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x1);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x72);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16576 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16576 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16577 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16590 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16590 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x8f);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x1);
	dev_spi_write(0x193,0x89);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16598 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16598 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16599 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x212,0x28);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x277,0x0);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x7ad,0x0);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x27b,0x3);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x214,0xa8);
	dev_spi_write(0x215,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x216,0xa8);
	dev_spi_write(0x217,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x218,0xa8);
	dev_spi_write(0x219,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x21a,0xa8);
	dev_spi_write(0x21b,0x1);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x7fc,0xf6);
	dev_spi_write(0x7fd,0xff);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x7b6,0xf6);
	dev_spi_write(0x7b7,0xff);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x284,0xc);
	dev_spi_write(0x285,0x4);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x15,0x40);
	dev_spi_write(0xb01,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x19,0x4);
	dev_spi_write(0x294,0xc);
	dev_spi_write(0x295,0x4);
	dev_spi_write(0x19,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16694 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16694 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x7);
	dev_spi_write(0x193,0xa3);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16702 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16702 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16703 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16716 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16716 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x78);
	dev_spi_write(0x193,0xa3);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16724 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16724 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16725 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16738 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16738 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0xa7,0x0);
	dev_spi_write(0xa6,0x0);
	dev_spi_write(0xa5,0x0);
	dev_spi_write(0xa4,0x1);
	dev_spi_write(0x193,0x13);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16749 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16749 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16750 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16763 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16763 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0xf);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0xa3);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16771 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16771 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16772 of bringupLog - ReadValue : %d\n",rdVal);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16785 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16785 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x90);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16793 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16793 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16794 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x18,0x40);
	dev_spi_write(0x26e,0x2);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x3);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0xf);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xec,0x0);
	dev_spi_write(0xf4,0x0);
	dev_spi_write(0xe4,0x0);
	dev_spi_write(0x15,0x0);
	dev_spi_write(0x18,0x20);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x1) == 0x1)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16829 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16829 0xf0 : %d\n",pollIter);
	dev_spi_write(0xa3,0x0);
	dev_spi_write(0xa2,0x0);
	dev_spi_write(0xa1,0x0);
	dev_spi_write(0xa0,0x0);
	dev_spi_write(0x193,0x15);
	delaySec(0.001000);
	for(pollIter=0;pollIter<10000;pollIter++)
	{	pollVal = dev_spi_read(0xf0);
		if ((pollVal&0x4) == 0x4)
			break;
	}
	if (pollIter==10000)
		xil_printf("Poll Error in Line 16837 of bringupLog\n");
	xil_printf("Number of iterations of poll in line 16837 0xf0 : %d\n",pollIter);
	rdVal = dev_spi_read(0xf0);
	if ((rdVal&0x8) != 0x0)
		xil_printf("Readcheck Error in Line 16838 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x18,0x0);
	dev_spi_write(0x16,0x3);
	dev_spi_write(0x24,0x0);
	dev_spi_write(0xf0,0xf);
	dev_spi_write(0xf0,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x16,0x4);
	dev_spi_write(0x64,0x1);
	dev_spi_write(0x128,0x1);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x128,0x4);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x16,0x8);
	dev_spi_write(0x64,0x0);
	dev_spi_write(0x128,0x1);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x128,0x4);
	dev_spi_write(0x128,0x0);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x19,0xf0);
	dev_spi_write(0xa40,0xf);
	dev_spi_write(0xa41,0xf);
	dev_spi_write(0xa44,0xf);
	dev_spi_write(0xa45,0xf);
	dev_spi_write(0xa46,0xf);
	dev_spi_write(0xa40,0x0);
	dev_spi_write(0xa41,0x0);
	dev_spi_write(0xa44,0x0);
	dev_spi_write(0xa45,0x0);
	dev_spi_write(0xa46,0x0);
	dev_spi_write(0x54d,0x7);
	dev_spi_write(0x54c,0xff);
	dev_spi_write(0x580,0x7);
	dev_spi_write(0x589,0x7);
	dev_spi_write(0x6b4,0x1);
	dev_spi_write(0x6b4,0x3);
	dev_spi_write(0x54d,0x0);
	dev_spi_write(0x54c,0x0);
	dev_spi_write(0x580,0x0);
	dev_spi_write(0x589,0x0);
	dev_spi_write(0x6b4,0x2);
	dev_spi_write(0x6b4,0x0);
	dev_spi_write(0x52c,0x1f);
	dev_spi_write(0x52c,0x0);
	dev_spi_write(0x19,0x0);
	delaySec(0.001000);
	dev_spi_write(0x16,0x4);
	rdVal = dev_spi_read(0x11b);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16897 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x11a);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16898 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x119);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16899 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x118);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16900 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x11f);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16901 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x11e);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16902 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x11d);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16903 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0x11c);
	if ((rdVal&0xff) != 0x0)
		xil_printf("Readcheck Error in Line 16904 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xee);
	if ((rdVal&0xf) != 0x1)
		xil_printf("Readcheck Error in Line 16905 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xa2);
	if ((rdVal&0xff) != 0x2)
		xil_printf("Readcheck Error in Line 16906 of bringupLog - ReadValue : %d\n",rdVal);
	rdVal = dev_spi_read(0xa4);
	if ((rdVal&0xff) != 0x1)
		xil_printf("Readcheck Error in Line 16907 of bringupLog - ReadValue : %d\n",rdVal);
	dev_spi_write(0x16,0x0);
	dev_spi_write(0x15,0x80);
	dev_spi_write(0xec,0x1);
	dev_spi_write(0xf4,0x1);
	dev_spi_write(0xe4,0x1);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0x0);
	dev_spi_write(0xed,0x0);
	dev_spi_write(0xf5,0x0);
	dev_spi_write(0xe5,0xf);

I got the following error message:

Readcheck Error in Line 16899 of bringupLog - ReadValue : 17  (addr = 0x119, DAC_JESD page)

Readcheck Error in Line 16900 of bringupLog - ReadValue : 128 (addr = 0x118, DAC_JESD page)

And As a result of examining the alarm, Alarm1 (only True JESD) outputted 1 and Alarm 2 (only True PLL)outputted 0.

Afterwards, I wanted to obtain an I diagram to find the cause of this problem.

I was able to get it using the following command in Latte on AFE7950EVM: CAFE.getSerdesEye(), CAFE.plotSerdesEyeData()

However, this command does not write SPI logs.

Is there a way to get the SPI log when I use the above command?

Regards,

Jeongju Go.