This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: SPI send data
- From: Manuel Borchers <manuel at matronix dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 04 Jul 2011 13:42:11 +0200
- Subject: Re: [ECOS] SPI send data
- References: <BANLkTikmkF7nXX847CWOWGEedk-yrKvQsg@mail.gmail.com> <4DE6749E.8050001@siva.com.mk> <BANLkTik8j0oZ74C-iCCMYBa1RXwunQkqWw@mail.gmail.com> <4E0DF4E5.1040009@siva.com.mk> <CAB1rPRM8=a6SRctqUUC_NtPHMcivspb7B2LFWKx+cQ5dvLxAWw@mail.gmail.com> <CAB1rPRP3okQGCgEZCq3pS=gsc3mGbH1VJwTCmrQ4_TC74ahC8w@mail.gmail.com>
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 <biswasj@gmail.com> 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