| Electronic Components Datasheet Search |
|
ATPL00B Datasheet(PDF) 67 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B Datasheet(HTML) 67 Page - ATMEL Corporation |
|
67 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 67 Figure 7-2. SPI0 transfer with CPHA=0 Figure 7-3. SPI0 transfer with CPHA=1 Note that the master selects a slave by driving the slave select pin of the corresponding slave device. Data written to the SPDAT register of the master is shifted out of the MOSI pin of the master to the MOSI pin of the slave, at the same time the data in SPDAT register on slave side is shifted out on its MISO pin to the MISO pin of the master. After shifting one byte, the SPI clock generator stops, setting the transfer completion flag (SPIF) and an interrupt will be created if the SPI interrupt is enabled (ESPI, or IEN1.3 = 1). The two shift registers in the master CPU and slave CPU can be considered as one distributed 16-bit circular shift register. When data is shifted from the master to the slave, data is also shifted in the opposite direction simultaneously. This means that during one shift cycle, data in the master and the slave are interchanged. Figure 7-4. SPI shift registers SPICLK(CPOL=1) SS (and SSIG=0) MISO(output) MSB 7 LSB 0 MOSI(input) SPICLK(CPOL=0) 6 1 5 2 LSB 0 MSB 7 X X MSB 7 LSB 0 6 1 5 2 LSB 0 MSB 7 DORD=0 DORD=1 DORD=0 DORD=1 shifting sampling START transfer SPICLK(CPOL=1) SS (and SSIG=0) MISO(output) MSB 7 LSB 0 MOSI(input) SPICLK(CPOL=0) 6 1 5 2 LSB 0 MSB 7 X X MSB 7 LSB 0 6 1 5 2 LSB 0 MSB 7 DORD=0 DORD=1 DORD=0 DORD=1 shifting sampling START transfer SPICLK(CPOL=1) SS (and SSIG=0) MISO(output) MSB 7 LSB 0 MOSI(input) SPICLK(CPOL=0) 6 1 5 2 LSB 0 MSB 7 MSB 7 LSB 0 6 1 5 2 LSB 0 MSB 7 DORD=0 DORD=1 DORD=0 DORD=1 X shifting sampling START transfer SPICLK(CPOL=1) SS (and SSIG=0) MISO(output) MSB 7 LSB 0 MOSI(input) SPICLK(CPOL=0) 6 1 5 2 LSB 0 MSB 7 MSB 7 LSB 0 6 1 5 2 LSB 0 MSB 7 DORD=0 DORD=1 DORD=0 DORD=1 X shifting sampling START transfer Memory 0 1 3 2 7 6 5 4 MASTER Memory 0 1 3 2 7 6 5 4 SLAVE |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |