Download UM10518 LPC11Exx User manual
Transcript
UM10518 NXP Semiconductors Chapter 11: LPC11Exx SSP/SPI The CPHA control bit selects the clock edge that captures data and allows it to change state. It has the most impact on the first bit transmitted by either allowing or not allowing a clock transition before the first data capture edge. When the CPHA phase control bit is LOW, data is captured on the first clock edge transition. If the CPHA clock phase control bit is HIGH, data is captured on the second clock edge transition. 11.7.2.2 SPI format with CPOL=0,CPHA=0 Single and continuous transmission signal sequences for SPI format with CPOL = 0, CPHA = 0 are shown in Figure 25. SCK SSEL MSB MOSI MISO LSB MSB LSB Q 4 to 16 bits a. Single transfer with CPOL=0 and CPHA=0 SCK SSEL MOSI MISO MSB LSB MSB LSB MSB Q LSB MSB LSB Q 4 to 16 bits 4 to 16 bits b. Continuous transfer with CPOL=0 and CPHA=0 Fig 25. 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 impedance. If the SSP/SPI is enabled and there is valid data within the transmit FIFO, the start of transmission is signified by the SSEL master signal being driven LOW. This causes slave data 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 both the master and slave data have been set, the SCK master clock pin goes HIGH after one further half SCK period. The data is captured on the rising and propagated on the falling edges of the SCK signal. UM10518 User manual All information provided in this document is subject to legal disclaimers. Rev. 3.4 — 8 September 2014 © NXP Semiconductors N.V. 2014. All rights reserved. 187 of 423
Related documents
UM10462 LPC11U3x/2x/1x User manual
UM10524 LPC1315/16/17/45/46/47 User manual
UM10578 LPC11xxLV User manual
User`s Manual - Embedded Artists
LPC11U3x - NXP Semiconductors
UM10732 LPC11U6x/E6x User manual
LPC11U2x - NXP Semiconductors
EM773 - NXP Semiconductors
UM10732 LPC11U6x/E6x User manual
UM10524 LPC1315/16/17/45/46/47 User manual
LPC-P11C24 USER`S MANUAL