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 Anton Erasmus

On 17 Jan 2005 at 0:03, sig5534 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.
> 
> 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.
> 

Do you keep the Chip Select line active across the multiple 8 bit SPI
transfers ?

Regards
  Anton Erasmus
-- 
A J Erasmus

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.