Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] SSP_SPI1 Read

2005-06-28 by Don Williams

Im about to implement this design in copper and assume (hope?) I know whats
happening - but I dont understand ur question. With LPC2138 as master in
receive mode the data sheet is clear about SCK1 being asserted afetr SSEL1
goes low - where it will stay for the duration of the 8 or 16 bit transfer.
After 8 or 16th clk edge sck1 is disabled and SSEL1 goes hi again so the
transaction is over.
Whats the problem ?
Don Williams

----- Original Message ----- 
From: "sudip nag" <sudipnag1@...>
To: <lpc2000@yahoogroups.com>
Sent: Tuesday, June 28, 2005 8:13 PM
Subject: [lpc2000] SSP_SPI1 Read


>
>
> Hi Everyone,
>
> I am using LPC2138's SSP Controller (SPI1) in SPI mode. I am successful in
sending data to SPI slave device. But confused how to read data from slave.
If not mistaken, during read operation SPI master will provide the SCK
signal to the slave. How to do this task with SSP.
>
> Thanks.
>
> Sudip Nag
>
>
>
> ---------------------------------
> How much free photo storage do you get? Store your friends n family photos
for FREE with Yahoo! Photos.
>  http://in.photos.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

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.