SPI and I2C (MSSP)
The MSSP (Master Synchronous Serial Port) module supports SPI and I2C.
SPI (Serial Peripheral Interface)
Section titled “SPI (Serial Peripheral Interface)”- Master generates clock (SCK)
- Lines: SDO, SDI, SCK, SS (chip select)
- Full duplex, synchronous
- Used with serial EEPROMs, displays, sensors
I2C (Inter-Integrated Circuit)
Section titled “I2C (Inter-Integrated Circuit)”- Two wires: SDA (data), SCL (clock)
- Modes: Master, Multi-Master, Slave
- 7- or 8-bit device addressing
- Used with sensors, RTC, memories
MSSP registers
Section titled “MSSP registers”SSPCON1,SSPCON2— controlSSPSTAT— statusSSPBUF— data bufferSSPADD— I2C address (slave mode)
See the datasheet for detailed configuration tables.
SPI and I2C
Based on: PIC18LF4455-I-PT.PDF
0 of 0 answered
Sign in with CALETAS to sync this result across devices.
Sign in with CALETAS