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 6 of 19

 

 

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

 

The RJ45 connector J11, provides the physical 
connection to an Ethernet network using a 
standard Ethernet cable. 
 
All devices on an Ethernet network must have 
a unique address. This address is used to 
direct packets on the network to a specific 
device and to identify the device that originated 
a packet. An Ethernet MAC uses a 48-bit 
address value, commonly called the “MAC 
Address”. These address values are globally 
unique to ensure that no two devices on a 
network can have conflicting addresses. MAC 
addresses are assigned by the IEEE. The 
address to use with the Cerebot 32MX7 is 
printed on a sticker attached to the bottom of 
the board. The address is a twelve digit 
hexadecimal number of the form: 
00183Exxxxxx, where xxxxxx represents six 
hexadecimal digits. This value is used to 
initialize the Ethernet Controller MAC Station 
Address registers in the Ethernet controller of 
the PIC32MX795 microcontroller. 
 
In order to connect to and operate with an 
Ethernet network, the PIC32 microcontroller 
must be running network protocol stack 
firmware. Normally, the TCP/IP (Transmission 
Control Protocol/Internet Protocol) network 
protocol is used and “TCP/IP Stack” software 
must be used. The Microchip Applications 
Library, available for download from the 
Microchip web site provides full protocol stack 
support compatible with the PIC32MX795 MAC 
and the LAN8720 PHY. Microchip also 
provides numerous example programs 
illustrating the use of their network protocol 
stack for various applications. 
 
When not using the Microchip network protocol 
stack, refer to the manufacturer 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 can be used to 
connect the MAC to the external PHY. It also 
provides two alternate standard MAC/PHY 
interface signaling conventions. The Cerebot 
32MX7 is designed to use the standard (not 

the alternate) pins, and to use the RMII (not 
the MII) interface signaling convention. These 
options are selected using the configuration 
variables in the PIC32 microcontroller and are 
specified using the 

#pragma config

 

statement. To enable the Ethernet controller in 
the correct configuration, the following 
statements must appear in the main program 
module: 
 

#pragma config FETHIO=ON 
#pragma config FMIIEN=OFF 

 
The LAN8720 PHY has a reset signal, labeled 
NRST in the schematic, that can be used to 
reset the PHY. This signal is connected to the 
INT2/RE9 pin on the PIC32 microcontroller. 
The NRST signal is active low. Configure the 
microcontroller pin as an output and drive it low 
to reset the PHY, or drive it high to allow the 
PHY to come out of reset and begin operation. 
The NRST signal is pulled low on the board, so 
that the PHY is held in reset by default. To 
allow the PHY to operate, this pin must be 
driven high. This reset operation is not part of 
the Microchip network protocol stack, and so 
driving NRST high must be done before 
initializing the Microchip network stack. 
 

CAN Interfaces 

 
The Controller Area Network (CAN) standard is 
a control networking standard originally 
developed for use in automobile systems, but 
has since become a standard used in various 
industrial control and building automation 
networking applications as well. 
 
The PIC32MX795 microcontroller contains two 
independent CAN network controllers. These 
CAN controllers in combination with two 
Microchip MCP2551 CAN transceivers allow 
the Cerebot 32MX7 board to operate on up to 
two independent CAN networks. Refer to the 
PIC32MX7XX data sheet and the PIC32 
Family Reference Manual, plus CAN network 
documentation for information on operation of 
the CAN controllers and CAN networking in 
general. 
 

                             7 / 20

                             7 / 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: