From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30784 invoked by alias); 4 Jul 2011 11:42:46 -0000 Received: (qmail 30771 invoked by uid 22791); 4 Jul 2011 11:42:44 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail.planet-school.de (HELO turboconrad.planet-school.de) (194.116.187.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jul 2011 11:42:15 +0000 Received: from chronus.heim.netz (i577B7321.versanet.de [87.123.115.33]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: postmaster@matronix.de) by turboconrad.planet-school.de (Postfix) with ESMTPSA id 1F35EB6A055 for ; Mon, 4 Jul 2011 13:42:11 +0200 (CEST) Received: from rhodos.emsp.tu-berlin.de ([130.149.48.105]) by chronus.heim.netz with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QdhXW-0001Gm-Ef for ecos-discuss@ecos.sourceware.org; Mon, 04 Jul 2011 13:42:10 +0200 From: Manuel Borchers To: ecos-discuss@ecos.sourceware.org In-Reply-To: References: <4DE6749E.8050001@siva.com.mk> <4E0DF4E5.1040009@siva.com.mk> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Jul 2011 11:42:00 -0000 Message-ID: <1309779731.2984.5.camel@netxaccos> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Re: [ECOS] SPI send data X-SW-Source: 2011-07/txt/msg00010.txt.bz2 Sorry, forgot to CC the list... Here we go: ---- Hi Jayant, Am Montag, den 04.07.2011, 11:47 +0200 schrieb jayant biswas: > On Mon, Jul 4, 2011 at 10:36, jayant biswas wrote: > > Hi Ilija! > > > > Thanks again for your reply. The loopback test works when I short the > > MISO and MOSI lines. However, I still don't see a clock signal. I have > > checked with both a logic analyzer and an oscilloscope. Is it possible > > that the loopback test works without the clock signal? Am I correct in > > checking pin PA5 for the clock signal? > > > > Best regards, > > Jayant Actually, the loopback test should work without the clock (as there is no real device connected, that would need the clock). I don't know the eval board and it's default eCos setup, so I can only suggest that you should check the SPI remapping configuration (AFIO, see STM32F10x Reference manual 8.3.10 and 8.3.11). Maybe the signals are being remapped and therefore routed to other GPIOs. Cheers, Manuel -- Manuel Borchers Web: http://www.matronix.de eMail: manuel@matronix.de -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss