From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14281 invoked by alias); 31 May 2011 09:45:56 -0000 Received: (qmail 14270 invoked by uid 22791); 31 May 2011 09:45:55 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-bw0-f49.google.com (HELO mail-bw0-f49.google.com) (209.85.214.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 May 2011 09:45:34 +0000 Received: by bwz1 with SMTP id 1so4488799bwz.36 for ; Tue, 31 May 2011 02:45:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.41.16 with SMTP id m16mr602388bke.151.1306835132591; Tue, 31 May 2011 02:45:32 -0700 (PDT) Received: by 10.204.78.146 with HTTP; Tue, 31 May 2011 02:45:32 -0700 (PDT) Date: Tue, 31 May 2011 12:44:00 -0000 Message-ID: From: jayant biswas To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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] SPI chip select for cortexm X-SW-Source: 2011-05/txt/msg00070.txt.bz2 Hello! I am using a STM3210E eval board (http://www.st.com/stonline/books/pdf/docs/14220.pdf) and have successfully configured ecos to use the SPI interface. I can run the loopback test, which confirms its functionality. I would like to use the SPI interface (connected to the SPI flash on the board) to communicate with a programmable potentiometer (AD8400) that I have mounted on the QST connector of the evaluation board. I have chosen the pin PA8 for CSn. How can I make the SPI driver in ecos to use this pin as the chip select? Thank you in advance for your help. Jayant -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss