Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Annoying Problem With SPI interface to Atmel Dataflash

2006-05-18 by Herbert Demmel

At 08:40 18.05.2006 +0000, you wrote:
>--- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@...> wrote:
> >
> > brendan
> >  >I think the basic problem is that the LPC213x SPI can only handle
>8-
> >  >to 16-bit transfers, and the Atmel device requires longer ones.
> >
> > I don't know of any SPI which makes longer frames than 16bit.
> > If you need more you have to send more frames.
> >
> > Only if the CS is really deasserted between frames you need to tweak
> > the CS.
>
>I guess it depends on what you call a "frame" or "transfer": I'd use
>the term to describe the transfer of a set of bits framed by some
>signal (in this case CS). I don't know the Atmel device specifically,
>but it sounds like it's transferring more than 16-bits at a time.
>
>I'd agree it's best to try and use the SPI peripheral if you can: you
>clearly need to be careful though with polarity and timing of a GPIO
>CS. By the way, does anyone know if you can use SSEL as GPIO whilst
>using the other SPI pins as peripheral pins? if you can't you'd need
>an extra pin, which aparently is not an option in this case.

As far as I know (but I'm not the expert) the newer LPCs can use SSEL as 
GPIO when using the SPI as an master only, older chips like the LPC2106 
need this pin tied to high via a resistor.

Regards
Herbert


>Brendan
>
>
>
>
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=c-HXthtbZy4TZbI3ib0PMg>Microcontrollers 
><http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=ijt0SspWtjogcHCuFD0lUQ>Microprocessor 
><http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&c=3&s=69&.sig=WOZdpklkgHbXR5quAgrl5w>Intel 
>microprocessors
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.