25.08.2015 Views

UM10139

UM10139 Volume 1: LPC214x User Manual - Fab@Home

UM10139 Volume 1: LPC214x User Manual - Fab@Home

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Philips SemiconductorsVolume 1<strong>UM10139</strong>Chapter 13: SSPThe CPHA control bit selects the clock edge that captures data and allows it to changestate. It has the most impact on the first bit transmitted by either allowing or not allowing aclock transition before the first data capture edge. When the CPHA phase control bit isLOW, data is captured on the first clock edge transition. If the CPHA clock phase controlbit is HIGH, data is captured on the second clock edge transition.13.3.4 SPI format with CPOL=0,CPHA=0Single and continuous transmission signal sequences for SPI format with CPOL = 0,CPHA = 0 are shown in Figure 43.SCKSSELMOSIMSBLSBMISOMSBLSBQ4 to 16 bitsa) Motorola SPI frame format (single transfer) with CPOL=0 and CPHA=0SCKSSELMOSIMSBLSBMSBLSBMISOMSB LSB QMSBLSB Q4 to 16 bits 4 to 16 bitsb) Motorola SPI frame format (continuous transfer) with CPOL=0 and CPHA=0Fig 43. SPI frame format with CPOL=0 and CPHA=0 (a) single and b) continuous transfer)In this configuration, during idle periods:• The CLK signal is forced LOW• SSEL is forced HIGH• The transmit MOSI/MISO pad is in high impedanceIf the SSP is enabled and there is valid data within the transmit FIFO, the start oftransmission is signified by the SSEL master signal being driven LOW. This causes slavedata to be enabled onto the MISO input line of the master. Master’s MOSI is enabled.One half SCK period later, valid master data is transferred to the MOSI pin. Now that boththe master and slave data have been set, the SCK master clock pin goes HIGH after onefurther half SCK period.The data is now captured on the rising and propagated on the falling edges of the SCKsignal.© Koninklijke Philips Electronics N.V. 2005. All rights reserved.User manual Rev. 01 — 15 August 2005 183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!