background image

Distributor of Microchip Technology: Excellent Integrated System Limited

Datasheet of TDGL004 - BOARD CEREBOT 32MX7 PIC32MX795 
Contact us: [email protected] Website: www.integrated-circuit.com

Cerebot 32MX7 Reference Manual 

 

 

                                          

 

 

www.digilentinc.com 

 

page 7 of 19

 

 

Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.

 

The PIC32MX795 microcontroller provides two 
sets of pins that can be used to connect the 
CAN controllers to the external transceivers. 
The Cerebot 32MX7 is designed to use the 
alternate (not the standard) pins. This selection 
is made using the configuration variables in the 
microcontroller, set using a 

#pragma config

 

statement. To select the use of the alternate 
interface pins, the following statement must 
appear in the main program module: 
 

#pragma config FCANIO=OFF 

 
The pins on the PIC32MX795 microcontroller 
used by signals for the CAN1 controller to 
connect to its transceiver are shared with two 
of the signals for UART3A and SPI port 3A. 
Jumpers JP1 and JP2 are used to select the 
use of these two signals. Place JP1 and JP2 in 
the CAN position for use of the CAN1 network 
interface. Place JP1 and JP2 in the PMOD 
position for use of these signals for UART or 
SPI operation. These signals connect to pins 1 
& 4 of Pmod connector JF. When JP1 and JP2 
are in the CAN position, Pins 1 & 4 of Pmod 
connector JF are not useable. 
 
There is no standard connector for use with 
CAN networks. The Cerebot 32MX7 board 
provides two 2x6 pin header connectors for 
access to the CAN signals. Connector J9 
provides access to the signals for the CAN1 
network controller, and connector J10 provides 
access to the signals for CAN2. Refer to the 
schematic for the Cerebot 32MX7 board for 
information on the connectors and signals. 
Digilent 6-pin or 2x6 to dual 6-pin cables can 
be used to daisy chain Digilent boards together 
in a CAN network. A Digilent 6-Pin cable in 
combination with a Digilent PmodCON1 Screw 
Terminal Connector module can be used to 
connect the Cerebot 32MX7 board to other 
network wiring configurations. 
 
The CAN network standard requires that the 
network nodes at each end of a network 
provide 120 ohm termination. The Cerebot 
32MX7 provides the termination resistors and 
jumpers to enable/disable the termination 
resistors depending on the location of the 
board in the network. Jumper JP5 is used to 

enable/disable the termination resistor for the 
CAN1 network connector, and JP7 is used to 
enable/disable the termination resistor for 
CAN2. Install a shorting block on the jumper 
pins to enable the termination resistor, or 
remove the shorting block to disable the 
termination resistor. 
 

I

2

C™ Interfaces 

 

The Inter-Integrated Circuit (I

2

C

TM

) Interface 

provides a medium speed (100K or 400K bps) 
synchronous serial communications bus.  The 
I

2

C interface provides master and slave 

operation using either 7 bit or 10 bit device 
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 PIC32MX7XX Data 
Sheet and the PIC32 Family Reference 
Manual for detailed information on configuring 
and using the I

2

C interface. 

 
The PIC32MX795 microcontroller provides for 
up to five independent I

2

C interfaces.  The 

Cerebot 32MX7 is designed to provide 
dedicated access to two of these interfaces 
I2C #1 and I2C #2. There are two sets of 
connectors on the board for access to the two 
I

2

C ports.  Connector J8 provides access to 

I2C #1 while connector J7 provides access to 
I2C #2. 
 
Each I

2

C connector provides two positions for 

connecting to the I

2

C signals, power and 

ground.  By using two-wire or four-wire MTE 
cables (available separately from Digilent) a 
daisy chain of multiple Cerebot 32MX7 boards 
or other I

2

C-capable boards can be created. 

 
The I

2

C bus is an open-collector bus.  Devices 

on the bus actively drive the signals low.  The 
high state on the I

2

C signals is achieved by 

pull-up resistors when no device is driving the 
lines low.  One device on the I

2

C bus must 

provide the pull-up resistors. On the Cerebot 
32MX7, I2C #1 has permanently connected 
pull-up resistors.  I2C #2 provides selectable 
pull-up resistors that can be enabled or 

                             8 / 20

                             8 / 20

Summary of Contents for TDGL004

Page 1: ...mited Excellent Integrated System Limited Stocking Distributor Stocking Distributor Click to view price real time Inventory Delivery Lifecycle Information Click to view price real time Inventory Deliv...

Page 2: ...ations features include 10 100 Ethernet interface Full Speed USB 2 0 OTG interface dual CAN network interfaces dual I2C buses up to three UART ports and up to three SPI ports The Cerebot 32MX7 works w...

Page 3: ...ns for two I2C busses A serial EEPROM is provided on one of the I2C busses The Cerebot 32MX7 can be used with the Microchip MPLAB development environment In system programming and debug of firmware ru...

Page 4: ...nal power supply there are two power supply connectors that can be used J17 and J18 The barrel connector J17 is used to power the board from a wall wart style power supply This type of power supply is...

Page 5: ...r is turned on when the power switch is placed in the ON position The PIC32 microcontroller and on board I O devices operate at a supply voltage of 3 3V provided by the VCC3V3 bus The regulated voltag...

Page 6: ...device when operating as a host and the USB specification requires the use of a 5V power supply NOTE Providing a voltage greater than 5V can damage the Cerebot 32MX7 board and or the USB device being...

Page 7: ...acturer documentation for the PIC32MX795 and LAN8720 plus network protocol documentation for operation of the Ethernet interface The PIC32MX795 microcontroller provides two alternate sets of pins that...

Page 8: ...nect the Cerebot 32MX7 board to other network wiring configurations The CAN network standard requires that the network nodes at each end of a network provide 120 ohm termination The Cerebot 32MX7 prov...

Page 9: ...Digilent Pmod peripheral modules Digilent Pmods are a line of small peripheral modules that provide various kind of I O interfaces The Pmod line includes such things as button switch and LED modules...

Page 10: ...loop PLL it is possible to select numerous multiples or divisions of the 8Mhz oscillator to produce CPU operating frequencies up to 80Mhz The clock circuit PLL provides an input divider multiplier an...

Page 11: ...gma config FPLLIDIV DIV_2 PLL input divider pragma config FPLLMUL MUL_20 PLL multiplier pragma config FPLLODIV DIV_1 PLL output divider pragma config FPBDIV DIV_8 Peripheral bus clock divider pragma c...

Page 12: ...B0 N A Used by debug circuit PGC RB01 PGEC1 AN1 CN3 RB1 N A Used by debug circuit PGD RB02 AN2 C2IN CN4 RB2 JA 01 RB03 AN3 C2IN CN5 RB3 JA 02 RB04 AN4 C1IN CN6 RB4 JA 03 RB05 AN5 C1IN VBUSON CN7 RB5 N...

Page 13: ...MD5 RE5 JB 08 RE06 PMD6 RE6 JB 09 RE07 PMD7 RE7 JB 10 RE08 AERXD0 INT1 RE8 N A USB Overcurrent detect RE09 AERXD1 INT2 RE9 N A Ethernet PHY Reset RF00 C1RX ETXD1 PMD11 RF0 N A Ethernet PHY RF01 C1TX E...

Page 14: ...RE06 JB 10 PMD7 RE7 RE07 JC 01 T2CK RC1 RC01 JC 02 C2RX PMD8 RG0 RG00 JC 03 C2TX ETXERR PMD9 RG1 RG01 JC 04 ETXCLK PMD15 CN16 RD7 RD07 JC 07 AN15 OCFB PMALL PMA0 CN12 RB15 RB15 JC 08 PMRD CN14 RD5 RD0...

Page 15: ...11 RB11 Ethernet PHY N A AN12 ERXD0 AECRS PMA11 RB12 RB12 Ethernet PHY N A AN13 ERXD1 AECOL PMA10 RB13 RB13 Ethernet PHY N A OSC1 CLKI RC12 RC12 Primary Oscillator Crystal N A SOSCI CN1 RC13 RC13 Seco...

Page 16: ...N RB04 21 AN4 C1IN CN6 RB4 JA 03 RB03 22 AN3 C2IN CN5 RB3 JA 02 RB02 23 AN2 C2IN CN4 RB2 JA 01 RB01 24 PGEC1 AN1 CN3 RB1 N A Used by debug circuit PGD RB00 25 PGED1 AN0 CN2 RB0 N A Used by debug circu...

Page 17: ...DIO IC1 RD8 N A Ethernet PHY RD09 69 SS1 IC2 RD9 JD 01 RD10 70 SCK1 IC3 PMCS2 PMA15 RD10 JD 04 RD11 71 EMDC AEMDC IC4 PMCS1 PMA14 RD11 N A Ethernet PHY RD00 72 SDO1 OC1 INT0 RD0 JD 02 RC13 73 SOSCI CN...

Page 18: ...s connector is used to connect the on board programming and debug circuit to the PC for use with the MPLAB IDE J16 Power supply source select This jumper is used to select the source of main board pow...

Page 19: ...er is used to enable disable the 120 ohm termination resistor for CAN 1 Insert the shorting block to enable the termination resistor remove it to disable the termination resistor JP6 CAN 1 5V0 Enable...

Page 20: ...of 19 Copyright Digilent Inc All rights reserved Other product and company names mentioned may be trademarks of their respective owners JPF Any of the Pmod connectors can provide either regulated or u...

Reviews: