| поискавой системы для электроныых деталей |
|
PIC16C71 датащи(PDF) 93 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C71 датащи(HTML) 93 Page - Microchip Technology |
|
93 / 337 page ![]() © 1997 Microchip Technology Inc. DS30234D-page 93 PIC16C6X The SS pin allows a synchronous slave mode. The SPI must be in slave mode (SSPCON<3:0> = 04h) and the TRISA<5> bit must be set for the synchro- nous slave mode to be enabled. When the SS pin is low, transmission and reception are enabled and the SDO pin is driven. When the SS pin goes high, the SDO pin is no longer driven, even if in the middle of a transmitted byte, and becomes a floating output. If the SS pin is taken low without resetting SPI mode, the transmission will continue from the point at which it was taken high. External pull-up/ pull-down resistors may be desirable, depending on the applica- tion. To emulate two-wire communication, the SDO pin can be connected to the SDI pin. When the SPI needs to operate as a receiver the SDO pin can be configured as an input. This disables transmissions from the SDO. The SDI can always be left as an input (SDI function) since it cannot create a bus conflict. Note: When the SPI is in Slave Mode with SS pin control enabled, (SSPCON<3:0> = 0100) the SPI module will reset if the SS pin is set to VDD. Note: If the SPI is used in Slave Mode with CKE = '1', then the SS pin control must be enabled. FIGURE 11-11: SPI MODE TIMING, MASTER MODE (PIC16C66/67) FIGURE 11-12: SPI MODE TIMING (SLAVE MODE WITH CKE = 0) (PIC16C66/67) SCK (CKP = 0, SDI (SMP = 0) SSPIF bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 SDI (SMP = 1) SCK (CKP = 0, SCK (CKP = 1, SCK (CKP = 1, SDO bit7 bit7 bit0 bit0 CKE = 0) CKE = 1) CKE = 0) CKE = 1) SCK (CKP = 0) SDI (SMP = 0) SSPIF bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 SCK (CKP = 1) SDO bit7 bit0 SS (optional) Applicable Devices 61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |