debug connector

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

debug connector

Dave Ball
With the changes for gta02-core, is it worth us reviewing what signals
to pass out the debug connector?

The kind of thing I'm thinking are:
 - do we want to add any of the spare gpio or EINT lines from the CPU?
 - the spare SPI on the debug connector in gta02 is no longer spare (now
WLAN), should we drop it from the debug connector, or expose the
Accelerometer SPI instead (which iirc can work in spi multi-node mode)
 - are there any other signals we could usefully expose for users to
play with?


Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector

Al Johnson
On Friday 24 July 2009, Dave Ball wrote:

> With the changes for gta02-core, is it worth us reviewing what signals
> to pass out the debug connector?
>
> The kind of thing I'm thinking are:
>  - do we want to add any of the spare gpio or EINT lines from the CPU?
>  - the spare SPI on the debug connector in gta02 is no longer spare (now
> WLAN), should we drop it from the debug connector, or expose the
> Accelerometer SPI instead (which iirc can work in spi multi-node mode)
>  - are there any other signals we could usefully expose for users to
> play with?

If you decide to expose signals with expansion potential then please also
change the connector to one that's suitable for expansion use.

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector

Werner Almesberger
In reply to this post by Dave Ball
Dave Ball wrote:
> With the changes for gta02-core, is it worth us reviewing what signals
> to pass out the debug connector?

I would keep it the same in gta02-core. We have test points for
anything interesting anyway, and its future role is more than
uncertain, with IDBG offering a cleaner solution.

> Accelerometer SPI instead (which iirc can work in spi multi-node mode)

The accelerometer is a tricky device. Its "chip select" doesn't
select chips but protocols. So if you multiplex things, surprises
may happen.

- Werner

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector

Werner Almesberger
In reply to this post by Al Johnson
Al Johnson wrote:
> If you decide to expose signals with expansion potential then please also
> change the connector to one that's suitable for expansion use.

Once upon a time, I had this idea for a modular expansion system:
http://lists.openmoko.org/pipermail/hardware/2008-July/000226.html

- Werner

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector

Dave Ball
In reply to this post by Werner Almesberger
Werner Almesberger wrote:

> Dave Ball wrote:
>  
>> With the changes for gta02-core, is it worth us reviewing what signals
>> to pass out the debug connector?
>>    
>
> I would keep it the same in gta02-core. We have test points for
> anything interesting anyway, and its future role is more than
> uncertain, with IDBG offering a cleaner solution.
>  

Fair enough. And I think IDBG in gta-next is a must...

>> Accelerometer SPI instead (which iirc can work in spi multi-node mode)
>>    
>
> The accelerometer is a tricky device. Its "chip select" doesn't
> select chips but protocols. So if you multiplex things, surprises
> may happen.
>  

Not the kind of surprises we want!  Ok, lets leave it all as it is.

Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector

Rask Ingemann Lambertsen-2
In reply to this post by Dave Ball
On Fri, Jul 24, 2009 at 12:48:55AM +0100, Dave Ball wrote:

>  - are there any other signals we could usefully expose for users to
> play with?

   If you're looking for expansion, the GTA02 really only has the SPI bus
and a some scattered GPIOs. With gta02-core, we won't even have an SPI bus
for expansion. I would like to see:

   1) Enough GPIOs in the same register such that you can implement an 8-bit
      parallel bus. A prime candidate is GPIO bank J since a camera won't be
      part of gta02-core and it has 13 pins. With the removal of the
      amplifier, external GSM download and the Glamo, five pins
      (GPJ{3,4,7,11,12}) are assigned from the GTA02 days and ECN1
      (Glamoectomy) allocates two more (GPJ{0,10}), i.e. 7 to reassign.
   2) At least one of the external DMA request pins (GPB8 and GPB10),
      possibly also one of the corresponding DMA ack pins (GPB7 and GPB9).
      GBP10 is a dead end on GTA02, so 0-3 to reassign.
   3) The LDO3OUT test point H-TP1202 moved outside of the shielding cans.
   4) Generally more of the regulator outputs available on test points
      outside of the shielding cans, especially AUTOOUT{1,2} and DOWN2FB.
   5) The CLKOUT0 test point H-TP1532 moved outside of the shielding cans
      for add-on circuitry to clock from.

   Additionally, there are four unused ADC inputs AN0-3. I can't think of
anything to use them for, but in a hacker's toy, they should be available
somewhere. I see 26 unused pins on the debug connector with NOR_WP and four
SPI0 pins gone.

   3,3 V I/O is becoming so much last year. We have a few 1,8 V outputs
unused: GPA{0,11-13,15-20}. GPA21 is a 3,3 V trap for sleepy hardware
hackers but otherwise unused.

   Actually, am I missing something? Gta02-core uses A[2:14,24:25] for
SDRAM. What about the internal NAND flash? Are we using
A[0:1,16:23]/GPA[1:10]?

--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

ECN: Free up camera port (Was: debug connector)

Rask Ingemann Lambertsen-2
On Wed, Jul 29, 2009 at 01:17:54AM +0200, Rask Ingemann Lambertsen wrote:

> On Fri, Jul 24, 2009 at 12:48:55AM +0100, Dave Ball wrote:
>
> >  - are there any other signals we could usefully expose for users to
> > play with?
>
>    If you're looking for expansion, the GTA02 really only has the SPI bus
> and a some scattered GPIOs. With gta02-core, we won't even have an SPI bus
> for expansion. I would like to see:
>
>    1) Enough GPIOs in the same register such that you can implement an 8-bit
>       parallel bus. A prime candidate is GPIO bank J since a camera won't be
>       part of gta02-core and it has 13 pins. With the removal of the
>       amplifier, external GSM download and the Glamo, five pins
>       (GPJ{3,4,7,11,12}) are assigned from the GTA02 days and ECN1
>       (Glamoectomy) allocates two more (GPJ{0,10}), i.e. 7 to reassign.

   Here's a plan for making the camera interface aka GPIO port J available
for expansion:

Signal Current GPIO New GPIO Related ECN

BT_PIO5 CAMDAT0/GPJ0 VD8/nSPICS1/GPD0 (ecn0001)
INTO CAMDAT3/GPJ3 removal (Calypso)
nGSM_EN CAMDAT4/GPJ4 TCLK0/GPB4 (to debug connector)
DL_GSM CAMDAT6/GPJ6 removal (ecn0015)
WLAN_GPIO0 CAMDAT7/GPJ7 EINT12/LCD_PWEREN/GPG4
KEEPACT CAMPCLK/GPJ8 removed (ecn0007)
SHUTDOWN CAMVSYNC/GPJ9 removed (ecn0003)
WLAN_DATA2 CAMHREF/GPJ10 LEND/GPC0 (ecn0001)
CHIP_PWD CAMCLKOUT/GPJ11 VD0/GPC8
WLAN_nRESET CAMRESET/GPJ12 VD1/GPC9

   This also brings a slightly more useful signal TCLK0 to the debug
connector instead of just a plain GPIO.

   The signal BT_PIO5 is not used anywhere in the kernel. We could simply
drop it.

   INTO is named INT0 in the GTA02 schematics.

--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: debug connector - SPI

Rask Ingemann Lambertsen-2
In reply to this post by Dave Ball
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), should we drop it from the debug connector, or expose the
> Accelerometer SPI instead (which iirc can work in spi multi-node mode)

   What we can do is to route some of the alternative SPI1 pins to the debug
connector. Those are

VD17/SPIMOSI1/GPD9
VD16/SPIMISO1/GPD8
VD9/SPICLK1/GPD1
VD8/nSPICS1/GPD0

of which we have allocated VD17/SPIMOSI1/GPD9 to LCD_nRES but any GPIO would
do. I'll give it a shot.

--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] debug connector - SPI

Rask Ingemann Lambertsen-2
In reply to this post by Dave Ball
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

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] debug connector - SPI

Dave Ball
Rask Ingemann Lambertsen wrote:

> 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.
>  

Hi Rask,

As far as i can see, this wouldn't be any help.  While these pins can be
freed up, both SPI controllers are connected on the board, so any
additional devices connected through the debug board will just conflict
- and none of them will work.

If I've understood correctly, to use one of the SPI buses through the
debug connector, we'd need to introduce some proper slave selection (SS
/ CS) for the existing devices:
http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Independent_slave_SPI_configuration

Given the intended scope of gta02-core, it might be that it's not worth
the risk of introducing these changes to our existing devices?


Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

rename INT0 (was: ECN: Free up camera port)

Dave Ball
In reply to this post by Rask Ingemann Lambertsen-2
Rask Ingemann Lambertsen wrote:
> INTO is named INT0 in the GTA02 schematics.
>  

Attacking the low hanging fruit, I renamed this to GSM_INT in our
schematics.

Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] debug connector - SPI

Rask Ingemann Lambertsen-2
In reply to this post by Rask Ingemann Lambertsen-2
On Mon, Aug 24, 2009 at 12:09:00AM +0200, Rask Ingemann Lambertsen wrote:

> -Text GLabel 12150 8450 0    60   Input ~ 0
> -WLAN_SS

> +Text GLabel 12150 8450 0    60   BiDi ~ 0
> +DEBUG_nSPICS

   Oh, sorry, forget that. It's the nSS1 signal we want, not nSPICS1.

--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] debug connector - SPI

Rask Ingemann Lambertsen-2
In reply to this post by Dave Ball
On Thu, Aug 27, 2009 at 11:27:30AM +0100, Dave Ball wrote:
> Rask Ingemann Lambertsen wrote:
>>
>>    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.

> As far as i can see, this wouldn't be any help.  While these pins can be  
> freed up, both SPI controllers are connected on the board, so any  
> additional devices connected through the debug board will just conflict  
> - and none of them will work.

   On many CPU pins, you can select pin function between GPIO and one or
more special functions. Please refert to chapter 9 "I/O PORTS" in the
datasheet. This is what it would help: If you want hardware SPI on the debug
connector, you could switch the ACCEL_SPI pins to GPIO function and enable
SPI function on the DEBUG_SPI pins instead. So no conflicts.

--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: rename INT0 (was: ECN: Free up camera port)

Werner Almesberger
In reply to this post by Dave Ball
Dave Ball wrote:
> Attacking the low hanging fruit, I renamed this to GSM_INT in our
> schematics.

Some of the sweetest fruits are hanging low, heavy with sugary
juice ;-)

While you're at it, could you perhaps also try to resurrect HDQ ?

Thanks,
- Werner

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: rename INT0

Dave Ball
Werner Almesberger wrote:
> While you're at it, could you perhaps also try to resurrect HDQ ?
>  

I've reinstated it to GPA21, and updated ecn0001 to indicate another
casualty of moving the LCD back home  :-)

Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: rename INT0

Werner Almesberger
Dave Ball wrote:
> I've reinstated it to GPA21, and updated ecn0001 to indicate another
> casualty of moving the LCD back home  :-)

Hmm, I think you narrowly avoided one trap but ran into the other :)

All of GPA are referenced to VDDMOP (1.8 V in our case), with the
notable exception of GPA21, which is referenced to VDDOP (3.3 V).
So that's good.

However, the whole GPA block is output-only, so GPA21 can only be
switched between output and nRSTOUT.

- Werner

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: rename INT0

Dave Ball
Werner Almesberger wrote:
> Dave Ball wrote:
>  
>> I've reinstated it to GPA21, and updated ecn0001 to indicate another
>> casualty of moving the LCD back home  :-)
> However, the whole GPA block is output-only, so GPA21 can only be
> switched between output and nRSTOUT.

After a brief chat on irc, we elected to use GPD0 - now committed.

Cheers,
Dave

_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] debug connector - SPI

Dave Ball
In reply to this post by Rask Ingemann Lambertsen-2
Rask Ingemann Lambertsen wrote:

> On Thu, Aug 27, 2009 at 11:27:30AM +0100, Dave Ball wrote:
>  
>> As far as i can see, this wouldn't be any help.  While these pins can be  
>> freed up, both SPI controllers are connected on the board, so any  
>> additional devices connected through the debug board will just conflict  
>> - and none of them will work.
>>    
>
>    On many CPU pins, you can select pin function between GPIO and one or
> more special functions. Please refert to chapter 9 "I/O PORTS" in the
> datasheet. This is what it would help: If you want hardware SPI on the debug
> connector, you could switch the ACCEL_SPI pins to GPIO function and enable
> SPI function on the DEBUG_SPI pins instead. So no conflicts.
>  

Ahh right - I see what you intended now.  My apologies.

I've created an ecn for this change, does this cover what you'd be
looking for?  I'll implement (or you could send an updated patch?) in a
few days if no one objects.

http://svn.openmoko.org/trunk/gta02-core/docs/ecn/ecn0034.txt

Many thanks,
Dave


_______________________________________________
gta02-core mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/gta02-core