Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] SPI and SSP double buffered?

2006-01-27 by Joel Winarske

> On SPI, is the shift register different than the data register? In
> other words, if I am a slave, can I put data in the SPI data register
> any time even while a transition is in progress? On PIC micros this is
> safe practice but what about LPC?

SPI Data Register
User Manual excerpt:
"Writes to this register will be blocked from when a data transfer starts to
when the SPIF status bit is set, and the status register has not been read."

SSP port:
8 byte rx/tx FIFO, max speed is pclk/2.  You can fill FIFO at full speed,
refill from interrupt, or poll FIFO register for state change.


Joel

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.