Yahoo Groups archive

Lpc2000

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

Message

LPC to MSC SPI interface

2006-01-04 by Jerome

Hi Friends,

Im a newbie to LPC.
Currently i am working on a project which requires me to interface 
the LPC2214 chip with MSC1210 using SPI, and is proving to be very 
problematic.

In both the below cases i have tried debugging using JTAG. 


Case 1
I have tried with LPC as a Master and also connected the SS- pin to 
High. Here, the transmission from LPC to MSC is perfectly fine, and 
also the reception of bytes at MSC is perfect, but the MSC Tx i.e. 
slave output doesnot respond at all. The MSC doesnot shift the data 
out from its SPIData register on receiving the clock from the master.
STRANGE!!!!! na

Case 2
Having tried the above, i then tried with the MSC as master and LPC 
as slave. Here the things are even interesting. I am able to transfer
data both ways. But the data received at the Slave i.e MSC, doesnot 
match the data which was sent by the Master. However, the data is 
received in correctly at the Master end. The data was verified using 
UART's on both the controllers.

I hope some one has tried this and will be able to help me out. Its
been over 2 weeks now that i have been struggling with this problem.

Is there any compatibility issues between the LPC2214 and MSC1210.

Regards,
Jerome

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.