Yahoo Groups archive

Lpc2000

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

Message

LPC to MSC SPI interface

2006-01-07 by jk jlkj

Hi friends,
   
  Thanks for the suggestions.
  I have finally been able to interface MSC with LPC using SPI.
   
  I think that i should make it a point to give to the group, something that i have learnt over the past 3 weeks that i have worked with SPI.
   
  1. Dont even think of using a polling routine at the slave end for receiving data with LPC as slave and MSC as master. Because it will give u data that will not match the data sent by the master. 
   
  2. I was able to transmit and receive data successfully between the two, with LPC as slave and MSC as master with the following settings.
   
  MSC - Master
  a. LSB
  b. CPHA - 1
  c. CPOL - 0
   
  LPC - SLAVE
  a. MSB
  b. CPHA - 1
  c. CPOL - 0
   
  I hope this input will be of some one who will try to interface LPC2214 with MSC1210.
   
  I would like to know if this is a normal configuration for SPI communication. i.e the Master and slave order, LSB first and MSB first,  should be opposite for the SLAVE and MASTER.
   
  Anyways i must also inform that, i have not yet been able to interface LPC as a Master and with MSC as a slave. 
   
  I am facing a problem that, the tranfer from LPC to MSC work fine but, there is no transfer from the slave. 
   
  It would really be helpful, if someone could give me someleads as to how i  can do this.
   
  Regards,
  Jerome


Send instant messages to your online friends http://in.messenger.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.