Yahoo Groups archive

Lpc2000

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

Message

Re: Reg: SPI timing

2006-05-23 by rtstofer

--- In lpc2000@yahoogroups.com, sriram karunagaran <karun_sriram@...>
wrote:
>
> Hello All,
> 
> I'm trying to connect LPC2148 with another chip with SPI interface.
I have gone through the data sheet as well as the manual, but didn't
find any timing related to hold time, setup time and max freq for SPI
interface.

A lot of this is handled by the settings of CPHA and CPOL - see
section 12.4.1 of the User Manual and the timing diagrams in section
12.2.2.

The Datasheet doesn't give any specific timing information.  So, send
a continuous stream of bytes and check it with a scope.

> Also, I would like to know when LPC is master, how the SPI clock is
getting generated and how can I control the frequency of the SPI clock.

See section 12.4.4 of the User Manual


Richard

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.