@mchp-mcc/scf-pic8-mssp-v1
v7.0.3
Published
- Download & Install [nodejs](https://nodejs.org/en/download/) - Download & Install npm - Setup node & npm in enviroment path
Downloads
3,230
Maintainers
Keywords
Readme
MSSP Driver Melody Module
Overview
The Master Synchronous Serial Port (MSSP) module is a serial interface useful for communicating with other peripheral or microcontroller devices. These peripheral devices 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 operating modes
- Host mode
- Client mode
The driver operation can be configured as
- Polling
- Interrupt
Changelog
All notable changes to this project will be documented in this file.
[7.0.3] - 2024-12-18
Bug Fixes
- M8PD-12295 :- Updated I2Cx_IsBusy API in MSSP host driver to remove S bit check in SSP1STAT register
- M8PD-7589 :- Modified the client driver error handler to clear the SSPOV bit if it is set by hardware, preventing the bus from locking up
- M8PD-5173 :- Corrected the wrongly set read-only SSPxSTAT bit during I2C client operations, with the default set to zero
[7.0.2] - 2024-09-27
Bug Fixes
- M8PD-10703 :- Unit test stage on CICD pipeline and locally passed when the coverage for the module files was lesser than the threshold
- M8PD-9373 :- Included stddef.h header in the interface files of the I2C/TWI Host and client for successful compilation
- M8PD-9323 :- Fixed the PIC MSSP driver to check for ACKTIM bit after an address match by the client
- M8PD-8902 :- Fixed I2C drivers to avoid incorrect occurrence of TX_READY state prior to the ACK reception for the address match
- M8PD-8844 :- Fixed the I2C client to check for ACKSTAT bit for address match instead of checking ACKDT
- M8PD-8843 :- Fixed I2C drivers to enable clock stretching for ack, address or data reception
- M8PD-6136 :- PIC16 I2C Client Address match event occurs after the ACK/NAK has already occurred
- M8PD-5191 :- Fixed the I2C address mask for PIC18F devices to be set to default POR of "7F" to avoid I2C slave malfunctioning with multiple devices
- M8PD-5088 :- Fixed driver to avoid generating continuous I2C NAK interrupts after setting PEN for PIC16F13145 device
New Features and Improvements
- M8PD-7530 :- Fixed MISRA violations for I2C/TWI firmware
[7.0.1] - 2023-11-30
Bug Fixes
- M8PD-3078 :- Access SPI only through SPI_Host and SPI_Client Drivers