Digilent chipKIT Pro MX7 Reference Manual page 17

Table of Contents

Advertisement

chipKIT™ Pro MX7 Board Reference Manual
Note that early versions of the Microchip PIC32MX5Xx/6XX/7XX Family Data Sheet refer to SPI3 as SPI1A and SPI4
as SPI3A.
Detailed information about the operation of the SPI peripherals can be found in the PIC32 Family Reference
Manual, Section 23, Serial Peripheral Interface.
When using the chipKIT Pro MX7 with the MPIDE and the chipKIT system, the SPI ports are accessed using either
the standard chipKIT SPI library or using the Digilent DSPI library.
The standard SPI library supports access to a single SPI port, SPI4, Pmod connector JF. This is accessed using the
SPI object.
The DSPI library supports access to all three SPI ports. The DSPI0 object class is used to create an object used to
access SPI1, Pmod port JD. The DSPI1 object class is used to access SPI3, Pmod port JE, and the DSPI2 object
class is used to access SPI4, Pmod port JF.
2
11 I
C Interface
The inter-integrated circuit (I
2
communications bus. The I
addressing. Each device is given a unique address, and the protocol provides the ability to address packets to a
specific device or to broadcast packets to all devices on the bus. Refer to the Microchip PIC32MX5XX/6XX/7XX
Family Data Sheet and the PIC32 Family Reference Manual, Section 24, Inter-Integrated Circuit, for detailed
information on configuring and using the I
The PIC32MX795 microcontroller provides for up to five independent I
designed to provide dedicated access to two of these interfaces I2C1 and I2C2 via I
J8. Connector J7 provides access to I2C1 while connector J8 provides access to I2C2.
In addition to I2C1 and I2C2, two other I
can be accessed via Pmod port JE, pins JE-02 (SCL3) and JE-03 (SDA3). I2C5 can be accessed via Pmod port JF, pins
JF-02 (SCL5) and JF-03 (SDA5)
2
The I
C daisy chain connectors, J7 and J8, each provide two positions for connecting to the I
ground. By using two-wire or four-wire MTE cables (available separately from Digilent) a daisy chain of multiple
chipKIT Pro MX7 boards or other I
2
The I
C bus is an open-collector bus. Devices on the bus actively drive the signals low. The high state on the I
signals is achieved by pull-up resistors when no device is driving the lines low. One device on the I
provide the pull-up resistors.
On the chipKIT Pro MX7 I2C2, connector J8, has permanently connected 2.2K ohm, pull-up resistors. I2C1,
connector J7, provides selectable pull-ups that can be enabled or disabled via jumper blocks JP3 and JP4. The pull-
ups are enabled by installing shorting blocks on JP3 and JP4. They are disabled by removing the shorting blocks.
Only one device on the bus should have the pull-ups enabled.
2
If the I
C interfaces on Pmod ports JE or JF are being used, external pull-up resistors must be provided. These
resistors can be in the range 1K ohm to 10K ohm, and should be connected to pull the pins to 3.3V.
The pull-ups on I2C1 on the chipKIT Pro MX7 board are actually implemented using current mirrors rather than
simple resistors. These current mirrors source approximately 1.7mA. The use of current mirrors provides faster rise
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
2
C) interface provides a medium speed (100K or 400K bps) synchronous serial
C interface provides master and slave operation using either 7 bit or 10 bit device
2
C interface.
2
C interfaces, I2C3 and I2C5 can be accessed via pins on Pmod ports. I2C3
2
C-capable boards can be created.
2
C interfaces. The chipKIT Pro MX7 is
2
C daisy chain connectors J7 and
2
C signals, power and
2
C
2
C bus must
Page 17 of 35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the chipKIT Pro MX7 and is the answer not in the manual?

Questions and answers

Table of Contents