README
MSSP Driver
Overview
The Master Synchronous Serial Port (MSSP) module is a serial interface useful for communicating with other peripheral or microcontroller devices. These peripheraldevices may be serial EEPROMs, shift registers, display drivers, A/D converters, etc. The MSSP module can operate in one of two modes:
- Serial Peripheral Interface (SPI)
- Inter-Integrated Circuit (I2C)
Features
The SPI and I2C interface supports the following modes
- Host mode
- Client mode
Generated Files
This driver generates the following files :
SPI Host and Client Mode:
- ./mcc_generated_files/spi/src/mssp1.c => A driver file containing Register Initialization and API function implementations
- ./mcc_generated_files/spi/mssp1.h => A driver file containing the API function prototypes
- ./mcc_generated_files/spi/spi_interface.h => A driver file containing the Common API function prototypes structure
I2C Host Mode:
- ./mcc_generated_files/i2c_host/src/mssp1.c => A driver file containing Register Initialization and API function implementations
- ./mcc_generated_files/i2c_host/mssp1.h => A driver file containing the API function prototypes
- ./mcc_generated_files/i2c_host/i2c_host_interface.h => A driver file containing the Common API function prototypes structure
- ./mcc_generated_files/i2c_host/i2c_host_type.h => A driver file containing the type definition for i2c host
- ./mcc_generated_files/i2c_host/i2c_host_event_types.h => A driver file containing the structure definition for i2c host
I2C Client Mode:
- ./mcc_generated_files/i2c_client/src/mssp1.c => A driver file containing Register Initialization and API function implementations
- ./mcc_generated_files/i2c_client/mssp1.h => A driver file containing the API function prototypes
- ./mcc_generated_files/i2c_client/i2c_client_interface.h => A driver file containing the Common API function prototypes structure
- ./mcc_generated_files/i2c_client/i2c_client_type.h => A driver file containing the type definition for i2c client
Changelog
All notable changes to this project will be documented in this file.
[6.1.1] - 2022-02-07
Bug Fixes
- CC8SCRIP-7017 :- Generated value is incorrect in initializer function for SSPxSTAT
bit - CC8SCRIP-6959 :- Actual clock frequency is not updating if clock source is configured as 4_SSPxADD
- CC8SCRIP-6958 :- SDO pin is configured to digital by default
[6.1.0] - 2021-12-17
New Features
- CC8SCRIP-6608 :- Added I2C Host and I2C Client drivers with respective Basic UIs to facilitate migration across PICs, AVRs and dsPICs
Bug Fixes
- CC8SCRIP-6689 :- PIC16F180xx : Configuration Issue for MSSP mode selection issue
[6.0.1] - 2021-12-03
New Features
- CC8SCRIP-5415 :- Updated API documentation
Bug Fixes
- CC8SCRIP-6237 :- MSSP SPI: Updated bi-directional SCK pin direction according to the Host/Client modes