beautypg.com

1 jumper setting for i, C pull up resistors – Digilent 410-295P-KIT User Manual

Page 19

background image

ChipKIT Pro MX4 Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 19 of 37

Pull-ups
Enabled

Pull-ups
Disabled

11.1 Jumper Setting for I

2

C Pull Up Resistors

When using the ChipKIT Pro MX4 with the MPIDE and the chipKIT system, the I

2

C interfaces are accessed using the

standard chipKIT Wire library, or the Digilent DTWI library.

The Wire library supports a single I

2

C interface, I2C1 on J2. This is accessed using the Wire object.

The DTWI library supports both I

2

C interfaces. The DTWI0 object class is used to create an object for access to I2C1

and the DTWI1 object class is used to access I2C2.

The pinouts of the I

2

C daisy chain connectors are as follows:

Connector J2. I2C1

• J2-1 – SCL1
• J2-2 – SCL1
• J2-3 – SDA1
• J2-4 – SDA1
• J2-5 – GND
• J2-6 – GND
• J2-7 – BRD_3V3
• J2-8 – BRD_3V3

Connector J6, I2C2

• J6-1 – SCL2
• J6-2 – SCL2
• J6-3 – SDA2
• J6-4 – SDA2
• J6-5 – GND
• J6-6 – GND
• J6-7 – BRD_3V3
• J6-8 – BRD_3V3