| Electronic Components Datasheet Search |
|
PIC16F1459-ESSQTP Datasheet(PDF) 207 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F1459-ESSQTP Datasheet(HTML) 207 Page - Microchip Technology |
|
207 / 418 page ![]() 2012 Microchip Technology Inc. Preliminary DS41639A-page 207 PIC16(L)F1454/5/9 FIGURE 22-4: SPI MASTER AND MULTIPLE SLAVE CONNECTION 22.2.1 SPI MODE REGISTERS The MSSP module has five registers for SPI mode operation. These are: • MSSP STATUS register (SSPSTAT) • MSSP Control Register 1 (SSPCON1) • MSSP Control Register 3 (SSPCON3) • MSSP Data Buffer register (SSPBUF) • MSSP Address register (SSPADD) • MSSP Shift register (SSPSR) (Not directly accessible) SSPCON1 and SSPSTAT are the control and STATUS registers in SPI mode operation. The SSPCON1 regis- ter is readable and writable. The lower six bits of the SSPSTAT are read-only. The upper two bits of the SSPSTAT are read/write. In one SPI master mode, SSPADD can be loaded with a value used in the Baud Rate Generator. More infor- mation on the Baud Rate Generator is available in Section 22.7 “Baud Rate Generator” . SSPSR is the shift register used for shifting data in and out. SSPBUF provides indirect access to the SSPSR register. SSPBUF is the buffer register to which data bytes are written, and from which data bytes are read. In receive operations, SSPSR and SSPBUF together create a buffered receiver. When SSPSR receives a complete byte, it is transferred to SSPBUF and the SSPIF interrupt is set. During transmission, the SSPBUF is not buffered. A write to SSPBUF will write to both SSPBUF and SSPSR. SPI Master SCK SDO SDI General I/O General I/O General I/O SCK SDI SDO SS SPI Slave #1 SCK SDI SDO SS SPI Slave #2 SCK SDI SDO SS SPI Slave #3 |
|
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 |