EasyManuals Logo

Microchip Technology MCP2221 User Manual

Microchip Technology MCP2221
54 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #41 background imageLoading...
Page #41 background image
Creating Custom I
2
C Software Applications
2016 Microchip Technology Inc. DS50000000A-page 41
4.2.2 Programming the PIC16F1509
The PIC16F1509 can be programmed via the ICSP (In-Circuit Serial Programming)
connector marked with J23, with tools such as the PICkit™ 3 or compatible
debuggers/programmers. In case there are programming issues, consult
Chapter 5. “Troubleshooting” in this document.
The source code for the PIC microcontroller can be written using MPLAB
®
X IDE and
the XC8 C compiler that are available for download at http://www.microchip.com.
Part of the code, including for the I
2
C master, can be generated automatically using the
MPLAB Code Configurator plug-in.
4.3 I
2
C SLAVE ADDRESSES
This section lists the addresses of the I
2
C slave devices that are available on the
demonstration board. The values displayed in Tabl e 4- 1 are in the 8-bit form and can
be used directly as parameters during application development when calling the
MCP2221.DLL functions.
The 8-bit equivalent (write address) of a 7-bit I
2
C address is the result of a
left-shift-once (or multiplication by 2) of the 7-bit address.
TABLE 4-1: LIST OF I
2
C SLAVE ADDRESSES
Device I
2
C Write 8-Bit Address I
2
C Read 8-Bit Address
24LC128 0xA0 0xA1
MCP23008 0x40 0x41
MCP3221 0x9A 0x9B
MCP4726 0xC0 0xC1
MCP9808 0x32 0x33
PAC1710 0x5C 0x5D
PIC16F1509 0x10 0x11

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology MCP2221 and is the answer not in the manual?

Microchip Technology MCP2221 Specifications

General IconGeneral
BrandMicrochip Technology
ModelMCP2221
CategoryMotherboard
LanguageEnglish

Related product manuals