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

Rask Ingemann Lambertsen ccc94453 at vip.cybercity.dk
Thu Aug 27 19:29:18 CEST 2009


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



More information about the gta02-core mailing list