From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 591 invoked by alias); 17 May 2007 22:03:58 -0000 Received: (qmail 575 invoked by uid 22791); 17 May 2007 22:03:57 -0000 X-Spam-Check-By: sourceware.org Received: from 222-152-155-49.jetstream.xtra.co.nz (HELO mail.codeweaver.co.nz) (222.152.155.49) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 May 2007 22:03:53 +0000 Received: from localhost (unknown [127.0.0.1]) by mail.codeweaver.co.nz (Postfix) with ESMTP id 726E32802DED6 for ; Thu, 17 May 2007 08:23:40 +0000 (UTC) X-Spam-Score: -3.438 Received: from mail.codeweaver.co.nz ([127.0.0.1]) by localhost (mail.codeweaver.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jo2du9JEqT46 for ; Thu, 17 May 2007 20:23:31 +1200 (NZST) Received: from codeweaver.co.nz (localhost [127.0.0.1]) by mail.codeweaver.co.nz (Postfix) with ESMTP id BA6642802DEC3 for ; Thu, 17 May 2007 20:23:31 +1200 (NZST) Received: from 203.96.73.230 (SquirrelMail authenticated user chris) by codeweaver.co.nz with HTTP; Thu, 17 May 2007 20:23:31 +1200 (NZST) Message-ID: <64539.203.96.73.230.1179390211.squirrel@codeweaver.co.nz> Date: Sat, 19 May 2007 09:29:00 -0000 From: chris@codeweaver.co.nz To: ecos-discuss@ecos.sourceware.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] ARM7 SPI 9 bit support X-SW-Source: 2007-05/txt/msg00094.txt.bz2 I need to implement 9 bit SPI transfers on an Atmel ARM7 target (AT91SAM7). At present spi_at91_ only supports 8 bit transfers but the hardware is good for 8-16. I have had some discussion with my compatriots but is not yet clear to us if this would be useful outside our immediate development and hence what would be the preferred implementation. It seems a new field should be added to at91_spi_dev and used in spi_at91_transaction, but the fashion in which which to pass data >8 bit into to the transfer functions is less clear when one considers the many SPI layers involved which all take char* buffers ??? Any sentiments expressed here will be factored into our decision making and may influence whether anything useful to the wider community comes from our developments. Chris -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss