| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC18F4331 bảng dữ liệu(PDF) 213 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18F4331 bảng dữ liệu(HTML) 213 Page - Microchip Technology |
|
213 / 396 page ![]() 2003 Microchip Technology Inc. Preliminary DS39616B-page 211 PIC18F2331/2431/4331/4431 18.0 SYNCHRONOUS SERIAL PORT (SSP) MODULE 18.1 SSP Module Overview The Synchronous Serial Port (SSP) module is a serial interface useful for communicating with other periph- eral or microcontroller devices. These peripheral devices may be Serial EEPROMs, shift registers, dis- play drivers, A/D converters, etc. The SSP module can operate in one of two modes: • Serial Peripheral Interface (SPI™) • Inter-Integrated Circuit (I2C™) An overview of I2C operations and additional informa- tion on the SSP module can be found in the PICmicro® Mid-Range MCU Family Reference Manual (DS33023). Refer to Application Note AN578, “Use of the SSP module in the I 2C™ Multi-Master Environment” (DS00578). 18.2 SPI Mode This section contains register definitions and opera- tional characteristics of the SPI module. Additional information on the SPI module can be found in the PICmicro® Mid-Range MCU Family Reference Manual (DS33023A). SPI mode allows 8 bits of data to be synchronously transmitted and received simultaneously. To accom- plish communication, typically three pins are used: • Serial Data Out (SDO) – RC7/RX/DT/SDO • Serial Data In (SDI) – RC4/INT1/SDI/SDA • Serial Clock (SCK) – RC5/INT2/SCK/SCL Additionally, a fourth pin may be used when in a Slave mode of operation: • Slave Select (SS) – RC6/TX/CK/SS When initializing the SPI, several options need to be specified. This is done by programming the appropriate control bits in the SSPCON register (SSPCON<5:0>) and SSPSTAT<7:6>. These control bits allow the following to be specified: • Master mode (SCK is the clock output) • Slave mode (SCK is the clock input) • Clock polarity (Idle state of SCK) • Clock edge (output data on rising/falling edge of SCK) • Clock rate (Master mode only) • Slave Select mode (Slave mode only) |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |