Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 303 Code Snippets

I2C bit bang code for PIC32MM devices

Microchip Technology

This project allows adding I2C interface for PIC32 devices without I2C hardware module. The code supports master and slave modes. The master side code requires about 660 bytes of flash and doesn’t use RAM. At 24 MIPS the master can work with the I2C clock up to 1 MHz. The slave code requires 720 bytes of flash and 8 bytes of RAM. At 24 MIPS the slave I2C clock can be up to 150 kHz.

About this Code Example

For details see "PIC32MM I2C Bit Bang Code Example Help.pdf" file.

Categories

Release History

  • Jun 21, 2017

    Version: 1.0.0

    Initial Release

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Jun 21, 2017
  • Updated:Jun 21, 2017
  • Downloads:1611
  • MPLAB Version:MPLAB X
  • C Compiler:xc32
  • Development Tools:Any
  • Supported Devices:PIC32MM

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.