| 数据搜索系统,热门电子元器件搜索 |
|
AT89LP428 数据表(PDF) 92 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP428 数据表(HTML) 92 Page - ATMEL Corporation |
|
92 / 149 page ![]() 92 3654A–MICRO–8/09 AT89LP428/828 Figure 17-1. SPI Block Diagram The interconnection between master and slave CPUs with SPI is shown in Figure 17-2. The four pins in the interface are Master-In/Slave-Out (MISO), Master-Out/Slave-In (MOSI), Shift Clock (SCK), and Slave Select (SS). The SCK pin is the clock output in master mode, but is the clock input in slave mode. The MSTR bit in SPCR determines the directions of MISO and MOSI. Also notice that MOSI connects to MOSI and MISO to MISO. By default SS/P1.4 is an input to both master and slave devices. In slave mode, SS must be driven low to select an individual device as a slave. When SS is held low, the SPI is activated, and MISO becomes an output if configured by the user. All other pins are inputs. When SS is driven high, all pins are inputs, and the SPI is passive, which means that it will not receive incoming data. Note that the SPI logic will be reset once the SS pin is driven high. The SS pin is useful for packet/byte synchronization to keep the slave bit counter synchro- nous with the master clock generator. When the SS pin is driven high, the SPI slave will immediately reset the send and receive logic, and drop any partially received data in the Shift Register.The slave may ignore SS by setting its SSIG bit in SPSR. When SSIG = 1, the slave is always enabled and operates in 3-wire mode. However, the slave output on MISO may still be disabled by setting DISSO=1. Oscillator 8-bit Shift Register Read Data Buffer SPI Control SPI Status Register SPI Interrupt Request Internal Data Bus Select SPI Clock (Master) Divider ÷4/÷8/÷32/÷64 SPI Control Register 8 8 8 MSTR Clock Logic MSB S M LSB S M M S MISO P1.6 MOSI P1.5 SCK 1.7 SS P1.4 SPE Write Data Buffer TSCK 0 1 T1 OVF |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |