Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] SSP_SPI1 Read

2005-06-29 by sudip nag

Hi Don,
I am using 8-bit mode with DS1306 RTC. The 8bit address+command is to be supplied from master and 8bit data from slave will go to the master (DS1306 read). After I send 8bit from MCU, SCK stops. Thus MISO do not receive anything. Thus I never read any data in MCU. 
 
Sudip

Don Williams <donw@...> wrote:
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
>
>
>
>
>
>



---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "lpc2000" on the web.
  
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



		
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!
http://in.mail.yahoo.com

[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.