| Electronic Components Datasheet Search |
|
ATPL00B Datasheet(PDF) 69 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B Datasheet(HTML) 69 Page - ATMEL Corporation |
|
69 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 69 Figure 7-5. SPI single master with multiple independent slaves configuration In Figure 7-5 , slave‟s SSIG = 0, and SS is used to select the slave. The SPI0 master can use any port pin (including P5.0/SS with SSIG = 1) to drive the SS pin. Multimaster configuration is the case where two devices are connected to each other and either device can be a master or a slave. When no SPI0 operation is occurring, both can be configured as masters (MSTR = 1) with SSIG = 0 and P5.0 (SS) being in quasi-bidirectional mode. Before device initiates a transfer, it must set SSIG = 1 in order to avoid its own mode change since it will drive P5.0 low, forcing a mode change in the other device to slave. Table 7-2 shows configuration for the master/slave modes in various cases. Table 7-2. SPI modes SPEN SSIG SS pin MSTR operation MISO MOSI SPICLK comment 0 X P5.0 (1) X disabled P5.3 (1) P5.2 (1) P5.1 (1) SPI0 disabled, P5(3:0) are used as port pins 1 0 0 0 slave out in in selected as slave 1 0 1 0 slave H in in not selected, MISO is H to avoid bus contention 1 0 0 1(=>0) (2) slave out in in the uC is configured as a master, then it is selected by SS to be a slave, MSTR bit is cleared and the uC becomes a slave 1 0 1 1 master in out out 1 1 P5.0 (1) 0 slave out in in slave not needing SS 1 1 P5.0 (1) 1 master in H H master not needing SS Notes: 1 . function as port or as alternate output function 2. the MSTR bit changes to „0‟ automatically when SS becomes low in input mode and SSIG is 0 SPI Clock Generator SPI MASTER SPI SLAVE A SPI SLAVE B 8bit Shift Register MISO MOSI SPICLK PORT A PORT A /SS MISO MOSI SPICLK /SS 8bit Shift Register |
|
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 |