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

 

 

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

 

microcontroller, so a USB PLL input divider 
value of 2 must be used. These parameters 
are set in the PIC32 microcontroller 
configuration registers using the 

#pragma 

config

 statement. The following statements 

must be used to configure the PIC32 
microcontroller for use of the USB controller: 
 

#pragma config UPLLEN = ON 
#pragma config UPLLIDIV = DIV_2 

 
When operating as a USB device, the Cerebot 
32MX7 can be used as a self powered device 
or as a bus powered device.  To operate as a 
self powered device, an external power supply 
should be connected to one of the external 
power connectors (J17 or J18) and a shorting 
block placed on the center, “EXT” position of 
J16.  The external power supply must be a 
regulated 5V supply. To operate as a bus 
powered device, the shorting block should be 
placed in the USB Device position, “USB”, on 
J16.  
 
Connector J19, on the bottom of the board in 
the lower right corner is the Device/OTG 
connector.  This is a standard USB micro-AB 
connector. Connect a cable with a micro-A 
plug (optionally available from Digilent) from 
this connector to an available USB port on a 
PC or USB hub for device operation. 
 
When operating as a USB host, the Cerebot 
32MX7 must be externally powered.  Connect 
a regulated 5V power supply to one of the 
external power connectors (J17, or J18) and 
ensure that the shorting block is in the center, 
“EXT” position of J16.  The power supply used 
must be a regulated 5V supply. The Cerebot 
32MX7 board provides power to the attached 
USB 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 
used. 
 
Jumper JP10 is used to route power to the 
host connector being used.  Place the shorting 
block in the “A” position when using the 
standard USB type A (host) Connector, J20.  

Place the shorting block in the “MICRO” 
position for use with the USB micro-AB (OTG) 
connector, J19. 
 
When operating as a USB host, the 
PIC32MX795 microcontroller controls 
application of power to the connected device 
via the VBUSON control pin (labeled 
P32_VBUSON in the schematic).  Bus power 
is applied to the device by driving the VBUSON 
pin high. Power is removed from the device by 
driving the VBUSON pin low.  The VBUSON 
pin is accessed via bit 3 of the U1OTGCON 
register. 
 
The VBUSON pin drives the enable input of a 
TPS2051B Current-Limited Power Distribution 
Switch to control the application of USB power 
to the host connector.  This switch has over-
current detection capability and provides an 
over-current fault indication by pulling the 
signal P32_USBOC low.  The over-current 
output pin can be monitored via the INT1/RE8 
pin on the PIC32MX795 microcontroller.  
Details about the operation of the TPS2051B 
can be obtained from the data sheet available 
at the Texas Instruments web site. 
 
There are reference designs available on the 
Microchip web site demonstrating both device 
and host operation of PIC32 microcontrollers.  
These reference designs are suitable to use for 
developing USB firmware for the Cerebot 
32MX7 board. 
 

Ethernet Interface 

 
The Cerebot 32MX7 provides the ability to 
interface with 10Mbps or 100Mbps Ethernet 
networks. The PIC32MX795 microcontroller 
contains a 10/100 Ethernet Medium Access 
Controller (MAC). External to the 
microcontroller, the Cerebot 32MX7 board 
provides an SMSC LAN8720 Ethernet Physical 
Layer Transceiver (PHY). Together, the MAC 
and PHY in combination with an appropriate 
coupling transformer and RJ45 jack provide a 
standard 10/100 Ethernet interface. 
 

                             6 / 20

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