Yahoo Groups archive

Lpc2000

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

Message

Re: SPI Perph useless for Word data ????

2005-01-17 by charlesgrenz

Hi Chris,

   In a word, speed. I need the 2.xxMHz clock rate and a line toggle
routine will not cut it. Also I want as much CPU time as I can get
without having to wait there for slower SPI transfers. My SPI ISR
routine pulls all the data from a buffer which includes the chip
select wanted (which also determines the clock speed and data and
clock polarity), the data to send (including size). All data coming in
is also buffer with a marker of which chip select it came from. 

regards,
Charles


--- In lpc2000@yahoogroups.com, "sig5534" <sig5534@h...> wrote:
> 
> >   The only LPC part that does other data sizes other then 8 bits is
> > the LPC2138 which has a SPI and SSP unit that has data sizes from 4 
> to
> > 16 bits. That was the main reason why I moved over to this part.
> 
> That's still lame.  It should be setup to handle any 8-32 bit word 
> sizes.  There are lots of ADCs/DACs that do 24 and 32 bits.
> 
> But I do not understand why you would change parts for that reason.  
> Just turn the SPI off and write your own routines.  It is far easier 
> than using that SPI module.  Took me 30 minutes and about 60 lines of 
> code.  Really simple.  If you want me to post it let me know.
> 
> Chris.

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.