[gta02-core] [PATCH] debug connector - SPI
Rask Ingemann Lambertsen
ccc94453 at vip.cybercity.dk
Mon Aug 24 00:09:00 CEST 2009
On Fri, Jul 24, 2009 at 12:48:55AM +0100, Dave Ball wrote:
> - the spare SPI on the debug connector in gta02 is no longer spare (now
> WLAN),
This patch routes the SPI port from the unused LCM pins to the debug
connector. This makes it software selectable to use SPI port 1 for either
the accelerometer or something connected to the debug connector. I moved the
LCD_nRES signal to another, unused GPIO to free up the one with SPIMOSI1.
The patch to lcm.sch became somewhat larger than I had expected. Is it
just because the *.sch files aren't sorted?
--- io.sch.labelfixes 2009-08-23 16:54:19.000000000 +0200
+++ io.sch 2009-08-23 23:43:57.000000000 +0200
@@ -596,14 +596,14 @@
CONSOLE_TXD
Text GLabel 12150 8600 0 60 BiDi ~ 0
EINT3
-Text GLabel 12150 8450 0 60 Input ~ 0
-WLAN_SS
-Text GLabel 12150 8300 0 60 Output ~ 0
-WLAN_SPIMISO
-Text GLabel 12150 8150 0 60 Input ~ 0
-WLAN_SPIMOSI
-Text GLabel 12150 8000 0 60 Input ~ 0
-WLAN_SPICLK
+Text GLabel 12150 8450 0 60 BiDi ~ 0
+DEBUG_nSPICS
+Text GLabel 12150 8300 0 60 BiDi ~ 0
+DEBUG_SPIMISO
+Text GLabel 12150 8150 0 60 BiDi ~ 0
+DEBUG_SPIMOSI
+Text GLabel 12150 8000 0 60 BiDi ~ 0
+DEBUG_SPICLK
Text GLabel 12150 7850 0 60 BiDi ~ 0
X_I2C_SDA
Text GLabel 12150 7700 0 60 Input ~ 0
Index: lcm.sch
===================================================================
--- lcm.sch (revision 5531)
+++ lcm.sch (working copy)
@@ -13,23 +13,31 @@
Comment3 ""
Comment4 ""
$EndDescr
-Text Notes 13150 1900 0 50 ~ 0
-NOTE: filter pinouts are different to gta01/gta02\n
+Entry Wire Line
+ 4200 3450 4300 3550
+Entry Wire Line
+ 4200 6550 4300 6450
+Wire Wire Line
+ 4200 4350 3400 4350
+Wire Wire Line
+ 4200 3550 3400 3550
+Wire Wire Line
+ 3400 3650 4200 3650
+Wire Wire Line
+ 3400 7000 4200 7000
+Wire Wire Line
+ 3400 6700 4200 6700
Connection ~ 6550 2550
Connection ~ 8750 3000
Wire Wire Line
- 8750 3250 8750 3000
+ 8750 3000 8750 3250
Connection ~ 7500 3100
Wire Wire Line
7250 3100 7500 3100
Wire Wire Line
- 8000 3200 8000 3000
+ 8000 3000 8000 3200
Wire Wire Line
- 8000 3000 8500 3000
-Wire Wire Line
- 8500 3000 8750 3000
-Wire Wire Line
- 8750 3000 10000 3000
+ 10000 3000 8000 3000
Connection ~ 7750 3800
Wire Wire Line
7750 4000 7750 3800
@@ -42,7 +50,7 @@
Wire Wire Line
9550 1750 9800 1750
Wire Wire Line
- 10000 2600 9800 2600
+ 9800 2600 10000 2600
Connection ~ 8950 4300
Wire Wire Line
8950 4400 8950 4300
@@ -110,12 +118,10 @@
Wire Wire Line
14050 9200 14050 9000
Wire Wire Line
- 13950 8800 13950 9000
+ 13950 9000 13950 8800
Wire Wire Line
- 13950 9000 14050 9000
+ 13950 9000 14150 9000
Wire Wire Line
- 14050 9000 14150 9000
-Wire Wire Line
14150 9000 14150 8800
Wire Wire Line
13650 7050 12300 7050
@@ -145,12 +151,10 @@
Wire Wire Line
14050 7750 14050 7550
Wire Wire Line
- 13950 7350 13950 7550
+ 13950 7550 13950 7350
Wire Wire Line
- 13950 7550 14050 7550
+ 13950 7550 14150 7550
Wire Wire Line
- 14050 7550 14150 7550
-Wire Wire Line
14150 7550 14150 7350
Wire Wire Line
13650 5600 12800 5600
@@ -168,12 +172,10 @@
Wire Wire Line
14050 6300 14050 6100
Wire Wire Line
- 13950 5900 13950 6100
+ 13950 6100 13950 5900
Wire Wire Line
- 13950 6100 14050 6100
+ 13950 6100 14150 6100
Wire Wire Line
- 14050 6100 14150 6100
-Wire Wire Line
14150 6100 14150 5900
Wire Wire Line
13650 3850 13500 3850
@@ -191,35 +193,25 @@
Wire Wire Line
14050 4850 14050 4650
Wire Wire Line
- 13950 4450 13950 4650
+ 13950 4650 13950 4450
Wire Wire Line
- 13950 4650 14050 4650
+ 13950 4650 14150 4650
Wire Wire Line
- 14050 4650 14150 4650
-Wire Wire Line
14150 4650 14150 4450
Connection ~ 14050 3200
Wire Wire Line
14050 3400 14050 3200
Connection ~ 6550 1750
Wire Wire Line
- 6550 1550 6550 1750
-Wire Wire Line
- 6550 1750 6550 1950
+ 6550 1950 6550 1550
Connection ~ 7550 2550
Wire Wire Line
7550 2550 7550 2350
Wire Wire Line
- 8500 2350 8500 2550
+ 8500 2550 8500 2350
Wire Wire Line
- 8500 2550 8000 2550
+ 8500 2550 6550 2550
Wire Wire Line
- 8000 2550 7550 2550
-Wire Wire Line
- 7550 2550 7050 2550
-Wire Wire Line
- 7050 2550 6550 2550
-Wire Wire Line
6550 2350 6550 2750
Connection ~ 8500 1750
Connection ~ 7550 1750
@@ -253,8 +245,6 @@
Wire Wire Line
3400 3850 4200 3850
Wire Wire Line
- 3400 3650 4200 3650
-Wire Wire Line
3400 3250 4200 3250
Wire Wire Line
3400 3050 4200 3050
@@ -281,37 +271,17 @@
Wire Wire Line
7350 5700 9150 5700
Wire Bus Line
- 9250 5800 9250 5700
-Wire Bus Line
- 9250 5700 9250 5600
-Wire Bus Line
- 9250 5600 9250 5500
-Wire Bus Line
- 9250 5500 9250 3400
-Wire Bus Line
- 9250 3400 9250 3300
-Wire Bus Line
- 9250 3300 9250 3200
-Wire Bus Line
- 9250 3200 9250 3100
+ 9250 3100 9250 5800
Wire Wire Line
9350 3300 10000 3300
Wire Wire Line
10000 3500 9350 3500
Wire Wire Line
- 10000 4300 8950 4300
+ 4400 4300 10000 4300
Wire Wire Line
- 8950 4300 4400 4300
+ 9800 4700 10000 4700
Wire Wire Line
- 10000 4700 9800 4700
-Wire Wire Line
- 9800 4700 9800 4800
-Wire Wire Line
- 9800 4800 9800 4900
-Wire Wire Line
- 9800 4900 9800 5000
-Wire Wire Line
- 9800 5000 9800 5200
+ 9800 5200 9800 4700
Connection ~ 9800 5000
Wire Wire Line
9800 4900 10000 4900
@@ -320,7 +290,7 @@
8000 1750 8000 1950
Connection ~ 8000 1750
Wire Wire Line
- 7050 1950 7050 1750
+ 7050 1750 7050 1950
Connection ~ 7050 1750
Wire Wire Line
7050 2350 7050 2550
@@ -329,24 +299,12 @@
8000 2550 8000 2350
Connection ~ 8000 2550
Wire Wire Line
- 6550 1750 7050 1750
+ 9050 1750 6550 1750
Wire Wire Line
- 7050 1750 7550 1750
+ 13950 3200 13950 3000
Wire Wire Line
- 7550 1750 8000 1750
+ 13950 3200 14150 3200
Wire Wire Line
- 8000 1750 8500 1750
-Wire Wire Line
- 8500 1750 8850 1750
-Wire Wire Line
- 8850 1750 9050 1750
-Wire Wire Line
- 13950 3000 13950 3200
-Wire Wire Line
- 13950 3200 14050 3200
-Wire Wire Line
- 14050 3200 14150 3200
-Wire Wire Line
14150 3200 14150 3000
Wire Wire Line
11300 3400 13200 3400
@@ -414,12 +372,10 @@
Wire Wire Line
6100 8200 6100 7950
Wire Wire Line
- 6000 7750 6000 7950
+ 6000 7950 6000 7750
Wire Wire Line
- 6000 7950 6100 7950
+ 6000 7950 6200 7950
Wire Wire Line
- 6100 7950 6200 7950
-Wire Wire Line
6200 7950 6200 7750
Wire Wire Line
6500 7250 9550 7250
@@ -434,47 +390,9 @@
Wire Wire Line
9450 7150 6500 7150
Wire Bus Line
- 15250 1000 4300 1000
+ 4300 1000 15250 1000
Wire Bus Line
- 15250 1000 15250 2500
-Wire Bus Line
- 15250 2500 15250 2600
-Wire Bus Line
- 15250 2600 15250 2700
-Wire Bus Line
- 15250 2700 15250 2800
-Wire Bus Line
- 15250 2800 15250 3950
-Wire Bus Line
- 15250 3950 15250 4050
-Wire Bus Line
- 15250 4050 15250 4150
-Wire Bus Line
- 15250 4150 15250 4250
-Wire Bus Line
- 15250 4250 15250 5400
-Wire Bus Line
- 15250 5400 15250 5500
-Wire Bus Line
- 15250 5500 15250 5600
-Wire Bus Line
- 15250 5600 15250 5700
-Wire Bus Line
- 15250 5700 15250 6850
-Wire Bus Line
- 15250 6850 15250 6950
-Wire Bus Line
- 15250 6950 15250 7050
-Wire Bus Line
- 15250 7050 15250 7150
-Wire Bus Line
- 15250 7150 15250 8300
-Wire Bus Line
- 15250 8300 15250 8400
-Wire Bus Line
- 15250 8400 15250 8500
-Wire Bus Line
- 15250 8500 15250 8600
+ 15250 8600 15250 1000
Wire Wire Line
14450 2500 15150 2500
Wire Wire Line
@@ -496,57 +414,7 @@
Wire Wire Line
15150 8500 14450 8500
Wire Bus Line
- 4300 1000 4300 2950
-Wire Bus Line
- 4300 2950 4300 3050
-Wire Bus Line
- 4300 3050 4300 3150
-Wire Bus Line
- 4300 3150 4300 3250
-Wire Bus Line
- 4300 3250 4300 3350
-Wire Bus Line
- 4300 3350 4300 3450
-Wire Bus Line
- 4300 3450 4300 4050
-Wire Bus Line
- 4300 4050 4300 4200
-Wire Bus Line
- 4300 4200 4300 4450
-Wire Bus Line
- 4300 4450 4300 4550
-Wire Bus Line
- 4300 4550 4300 4650
-Wire Bus Line
- 4300 4650 4300 4750
-Wire Bus Line
- 4300 4750 4300 4850
-Wire Bus Line
- 4300 4850 4300 4950
-Wire Bus Line
- 4300 4950 4300 5050
-Wire Bus Line
- 4300 5050 4300 5350
-Wire Bus Line
- 4300 5350 4300 5450
-Wire Bus Line
- 4300 5450 4300 5550
-Wire Bus Line
- 4300 5550 4300 5650
-Wire Bus Line
- 4300 5650 4300 5850
-Wire Bus Line
- 4300 5850 4300 5950
-Wire Bus Line
- 4300 5950 4300 6050
-Wire Bus Line
- 4300 6050 4300 7050
-Wire Bus Line
- 4300 7050 4300 7150
-Wire Bus Line
- 4300 7150 4300 7250
-Wire Bus Line
- 4300 7250 4300 7350
+ 4300 7350 4300 1000
Wire Wire Line
10000 2700 8850 2700
Wire Wire Line
@@ -561,32 +429,72 @@
Wire Wire Line
4400 7250 5700 7250
Wire Wire Line
- 3400 4350 4200 4350
+ 9800 1600 9800 2600
+Connection ~ 9800 1750
Wire Wire Line
- 9800 2600 9800 1750
+ 7500 3800 7500 3600
Wire Wire Line
- 9800 1750 9800 1600
-Connection ~ 9800 1750
+ 7500 3800 8000 3800
Wire Wire Line
- 7500 3600 7500 3800
+ 8000 3800 8000 3600
Wire Wire Line
- 7500 3800 7750 3800
+ 7500 3200 7500 2900
Wire Wire Line
- 7750 3800 8000 3800
+ 10000 2900 7300 2900
+Connection ~ 7500 2900
Wire Wire Line
- 8000 3800 8000 3600
+ 8500 3000 8500 3250
+Connection ~ 8500 3000
Wire Wire Line
- 7500 2900 7500 3100
+ 3400 5150 4200 5150
Wire Wire Line
- 7500 3100 7500 3200
+ 3400 6850 4200 6850
Wire Wire Line
- 7300 2900 7500 2900
+ 4200 3450 3400 3450
Wire Wire Line
- 7500 2900 10000 2900
-Connection ~ 7500 2900
+ 4200 4250 3400 4250
Wire Wire Line
- 8500 3250 8500 3000
-Connection ~ 8500 3000
+ 4200 6550 3400 6550
+Text Label 4200 3450 2 60 ~ 0
+nSPICS1
+Text Label 4200 4350 2 60 ~ 0
+SPIMOSI1
+Entry Wire Line
+ 4200 7000 4300 6900
+Entry Wire Line
+ 4200 6850 4300 6750
+Entry Wire Line
+ 4200 6700 4300 6600
+Text Label 4200 7000 2 60 ~ 0
+SPIMOSI1
+Text Label 4200 6850 2 60 ~ 0
+SPIMISO1
+Text Label 4200 6700 2 60 ~ 0
+SPICLK1
+Text Label 4200 6550 2 60 ~ 0
+nSPICS1
+Entry Wire Line
+ 4200 4350 4300 4450
+Entry Wire Line
+ 4200 4250 4300 4350
+Entry Wire Line
+ 4200 3550 4300 3650
+Text Label 4200 3550 2 60 ~ 0
+SPICLK1
+Text Label 4200 4250 2 60 ~ 0
+SPIMISO1
+Text GLabel 3400 6550 0 60 BiDi ~ 0
+DEBUG_nSPICS
+Text GLabel 3400 6700 0 60 BiDi ~ 0
+DEBUG_SPICLK
+Text GLabel 3400 6850 0 60 BiDi ~ 0
+DEBUG_SPIMISO
+Text GLabel 3400 7000 0 60 BiDi ~ 0
+DEBUG_SPIMOSI
+Entry Wire Line
+ 4200 5150 4300 5250
+Text Notes 13150 1900 0 50 ~ 0
+NOTE: filter pinouts are different to gta01/gta02\n
$Comp
L LED- #PWR?
U 1 1 4A5E9AC3
@@ -668,7 +576,6 @@
1 9800 1600
1 0 0 -1
$EndComp
-NoConn ~ 3400 5150
$Comp
L GND #PWR?
U 1 1 4A4C2A12
@@ -678,15 +585,10 @@
1 6100 8200
1 0 0 -1
$EndComp
-NoConn ~ 3400 4250
-NoConn ~ 3400 3550
-NoConn ~ 3400 3450
NoConn ~ 3400 2750
NoConn ~ 3400 2650
-Text Label 4200 4350 2 60 ~ 0
+Text Label 4200 5150 2 60 ~ 0
LCD_nRES
-Entry Wire Line
- 4200 4350 4300 4450
Text Label 4200 5950 2 60 ~ 0
LCD_SCL
Text Label 4200 5850 2 60 ~ 0
--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year
More information about the gta02-core
mailing list