| 数据搜索系统,热门电子元器件搜索 |
|
AT89LS53 数据表(PDF) 15 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LS53 数据表(HTML) 15 Page - ATMEL Corporation |
|
15 / 35 page ![]() 15 AT89LS53 0851C–MICRO–3/06 The interconnection between master and slave CPUs with SPI is shown in the following figure. The SCK pin is the clock output in the master mode but is the clock input in the slave mode. Writing to the SPI data register of the master CPU starts the SPI clock generator, and the data written shifts out of the MOSI pin and into the MOSI pin of the slave CPU. After shifting one byte, the SPI clock generator stops, setting the end of transmission flag (SPIF). If both the SPI interrupt enable bit (SPIE) and the serial port inter- rupt enable bit (ES) are set, an interrupt is requested. The Slave Select input, SS/P1.4, is set low to select an individual SPI device as a slave. When SS/P1.4 is set high, the SPI port is deactivated and the MOSI/P1.5 pin can be used as an input. There are four combinations of SCK phase and polarity with respect to serial data, which are determined by control bits CPHA and CPOL. The SPI data transfer formats are shown in Figures 8 and 9. Figure 7. SPI Master-Slave Interconnection 8-BIT SHIFT REGISTER MASTER MISO CLOCK GENERATOR SPI 8-BIT SHIFT REGISTER SLAVE MISO MOSI MOSI SCK SCK SS SS V CC MSB LSB MSB LSB Figure 8. SPI transfer Format with CPHA = 0 *Not defined but normally MSB of character just received |
|
链接网址 |
| 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 |