MCP2221 I
2
C Demonstration Board User’s Guide
DS50002480A-page 34
2016 Microchip Technology Inc.
3.3.7.2
UNIMPLEMENTED FEATURES
The MCP23008 also has a separate interrupt output pin which can be used to signal to
the I
2
C master, a logical state change of one of its input pins.
By default, the interrupt pin is not connected to the MCP3221. It can be connected to
the RA2 pin of the PIC16F1509 by short-circuiting jumper J15, in case of a custom
application, where, for example, the PIC16F1509 is programmed to perform as an I
2
C
master.
3.3.8
RGB LED Notifications Tab
LED notifications can be configured to indicate certain events related to the readings
described in the previous sections.
The LED can indicate events every 500 milliseconds (including 100 milliseconds of
specific color) allocated per I
2
C device:
• PAC1710 USB voltage, current or power consumption
• MCP9808 temperature sensor
• MCP3221 analog voltage value
• MCP23008 GP0 pin state change
In the remaining 100 milliseconds from one time period, the LED will be powered off.
In case a device does not have notifications enabled for its corresponding time interval,
the LED will also be powered off.
As a general observation, higher frequency events may not be noticed in time to be
signaled by the LED.
Notifications are done using the RGB LED LD1, that is fully controlled by three
Pulse-Width Modulation (PWM) pins of the PIC16F1509, which receives commands
(as I
2
C slave) from the MCP2221 DLL through the MCP2221 board. The LED color and
brightness are configured from the PC application. It is recommended to avoid light
color tones, because they can translate into very intense LED brightness.
Prior to attempting to configure the LED notifications, make sure that:
• The PIC16F1509 microcontroller is present in socket J1 and that it can
communicate via I
2
C (jumpers J6 and J9 must be connected)
• Jumper 14 is connected to enable the RGB LED LD1
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from