@mchp-mcc/scf-pic8-i2c-v1
v6.2.0
Published
- Download & Install [nodejs](https://nodejs.org/en/download/) - Download & Install npm - Setup node & npm in enviroment path
Maintainers
Keywords
Readme
Inter-Integrated Circuit (I2C) Module
Overview
The Inter-Integrated Circuit (I2C) 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, Analog-to-Digital (A/D) converters, Temperature and Humidity sensors, and so on.
Features
- The I2C interface supports the following operating modes
- Host mode
- Client mode
- The driver implementation is of non-blocking type and can be configured to operate in following modes
- Polling
- Interrupt
Related Documentation
Changelog
All notable changes to this project will be documented in this file.
[6.2.0] - 2026-03-24
Bug Fixes
- M8PD-17828 :- MCC throws warning of type SEVERE when multiple I2C Host/Client drivers are loaded in to the Project Resource
New Features and Improvements
- M8PD-14399 :- Update I2C PLIB to generate the potable interfaces only when it is loaded via abstract driver
- M8PD-5939 :- Update I2C PLIB to remove Static APIs
[6.1.4] - 2024-12-19
Bug Fixes
- M8PD-12362 :- Corrected I2CXPIR register clearing to only clear stop interrupt bit on stop interrupt reception
- M8PD-11437 :- Fixed the I2C client to clear the ACKDT bit in I2CxCON1 after receiving a NACK from the host, which previously resulted in disabled clock stretching for subsequent requests
- M8PD-10837 :- Revised the error handler to include missing checks on error flags, which previously led to incorrect error event generation
- M8PD-5167 :- Removed the device specific warning and link to the Errata DS80000870F
[6.1.3] - 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-8902 :- Fixed I2C drivers to avoid incorrect occurrence of TX_READY state prior to the ACK reception for the address match
- M8PD-8843 :- Fixed I2C drivers to enable clock stretching for ack, address or data reception
- M8PD-7588 :- Fixed PIC18 I2C drivers to check the host read event only once after the address match
- M8PD-6141 :- PIC18 I2C Client Address match event not clock stretching
- 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
New Features and Improvements
- M8PD-7530 :- Fixed MISRA violations for I2C/TWI firmware
