| Title |
Title
Getting Started with SPI Using MSSP on PIC18
|
|---|---|
| Name |
Name
TB3265
|
| Date |
Date
10/07/2020
|
| Description |
Description
The approach in implementing the SPI communication protocol is different among the PIC18F device family of microcontrollers. While the PIC18-K40 and PIC18-Q10 product families have a Master Synchronous Serial Port (MSSP) peripheral, the PIC18-K42, PIC18-K83, PIC18-Q41, PIC18-Q43 and PIC18-Q84 product families have a dedicated Serial Peripheral Interface (SPI) peripheral. Both peripherals are serial interfaces useful for communicating with other peripherals or microcontroller devices, but there are also differences between them. The MSSP peripheral can operate in one of two modes: Serial Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C), which allows the advantage of implementing both communication protocols with the same hardware. The dedicated SPI peripheral works similarly to the MSSP, and has more features, such as Receive Only and Transmit Only modes, Double Buffering and Receive and Transmit FIFO.
|
| Description | Product |
Description |
|---|---|---|
|
PIC18F24K40
PIC18F24K40
|
PIC18F24K40 | PIC18F24K40 |
|
PIC18F24Q10
PIC18F24Q10
|
PIC18F24Q10 | PIC18F24Q10 |
|
PIC18F25K40
PIC18F25K40
|
PIC18F25K40 | PIC18F25K40 |
|
PIC18F25Q10
PIC18F25Q10
|
PIC18F25Q10 | PIC18F25Q10 |
|
PIC18F26K40
PIC18F26K40
|
PIC18F26K40 | PIC18F26K40 |
|
PIC18F26Q10
PIC18F26Q10
|
PIC18F26Q10 | PIC18F26Q10 |
|
PIC18F27K40
PIC18F27K40
|
PIC18F27K40 | PIC18F27K40 |
|
PIC18F27Q10
PIC18F27Q10
|
PIC18F27Q10 | PIC18F27Q10 |
|
PIC18F45K40
PIC18F45K40
|
PIC18F45K40 | PIC18F45K40 |
|
PIC18F45Q10
PIC18F45Q10
|
PIC18F45Q10 | PIC18F45Q10 |
|
PIC18F46K40
PIC18F46K40
|
PIC18F46K40 | PIC18F46K40 |
|
PIC18F46Q10
PIC18F46Q10
|
PIC18F46Q10 | PIC18F46Q10 |
|
PIC18F47K40
PIC18F47K40
|
PIC18F47K40 | PIC18F47K40 |
|
PIC18F47Q10
PIC18F47Q10
|
PIC18F47Q10 | PIC18F47Q10 |
|
PIC18F65K40
PIC18F65K40
|
PIC18F65K40 | PIC18F65K40 |
|
PIC18F66K40
PIC18F66K40
|
PIC18F66K40 | PIC18F66K40 |
|
PIC18F67K40
PIC18F67K40
|
PIC18F67K40 | PIC18F67K40 |
Live Chat