Reg: SPI timing

Started by sriram karunagaran May 23, 2006
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. 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.

Regards,
Sriram.K

---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice



An Engineer's Guide to the LPC2100 Series

--- In l..., sriram karunagaran
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