[gta02-core] [PATCH] debug connector - SPI

Dave Ball openmoko at underhand.org
Thu Aug 27 12:27:30 CEST 2009


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



More information about the gta02-core mailing list