Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: SPI Perph useless for Word data ????

2005-01-17 by Robert Adsett

At 12:03 AM 1/17/05 +0000, you wrote:


> > So do most SPI peripherals.
> > Surely ... you just read and write multiples of 8 bits.
>
>Nope.  Just try it.  May work for some ADCs/DACs but certainly will
>not work for all of them.  Multiple Writes may work, but I could
>never get multiple Reads to work.  The interlocking nature of the
>status flag logic seems to get confused.  Appears to be pretty much
>limited to handling only 8 bit contiguous data.

I'm about to actually.  I don't know of any SPI peripheral (other than bare 
logic gates) that uses single 8 bit values.

You did note the SPI errata?

>If they changed this on the other CPU versions to handle 16b words,
>well I guess that tells you right there that this SPI must only do 8b
>data.

Not really.  If that was the case I don't think they would have kept the 
original.

I'll let you know what I find.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.