Professional Documents
Culture Documents
User's Manual Pic32 Start Kit
User's Manual Pic32 Start Kit
38
ET-PIC16/32 START KIT is the board for learning and developing Microcontroller of Microchip and supports the application of 100Pin 16/32BIT Chip Microcontroller in the family of PIC24F/PIC24H/dsPIC33 and PIC32. This board is designed to be more flexible and convenient to use, user can modify and change various MCU numbers to install on board as required; so it does not limit user to learn only MCU number. The board structure provides important circuits, including basic I/O to be the equipments for initially studying, learning and testing; for example, LED to test Output, SW to test Input, VR to adjust voltage for testing ADC, LCD Display to display results, RS232, SD Card, Ethernet LAN and USB. Design of board emphasizes on the convenience to use and be easy to modify I/O to adapt this board as preferred. All components are categorized on PCB board properly, so it is easy to understand and check signals of the circuit
WWW.ETTEAM.COM
Specifications of Board
Support application with 100Pin 16Bit and 32Bit MCU of Microchips. It is compatible with MCU PIC24F/PIC24H/dsPIC33 and PIC32, depends on the installing MCU Module into board such as PIC24FJ128GB110, PIC24HJ256GP210, dsPIC33FJ256MC710, PIC32MX360F512L and PIC32MX460F512L. XTAL 8.00 MHz for System Clock Source XTAL 32.768 KHz for RTCC Clock Source 1 of Ethernet LAN Driver No.ENC28J60 with RJ45 Ethernet LAN Port SPI EEPROM No.25LC256 for using and saving Web Page Code to test Ethernet LAN according to the example Application Note from Microchips TCP/IP Stack 1 of standard SD Card Interface with Signal Card Detect and Write Protect 2-Channel RS232 UART Driver with Connector CPA-4 standard ETT USB Interface supports both application of Device/OTG and Host; it is compatible with PIC32MX460F512 and PIC24FJ128GB110. 1 of 14Pin Header for Character Dot-Matrix LCD Interface 4 of LED Indicator to test operation of Output Logic
WWW.ETTEAM.COM
4 of SW Push Button to test operation of Input Logic 1-Channel Volume (VR) to adjust voltage 0-3.3V to test operation of ADC RJ11 ICD2 Port according to standard ICD2 Microchips supports In-Circuit Program and Debug; moreover, there is Switch to On/Off signal for Program/Debug and Normal Mode; and LED to display status. Connector JTAG Port IDE Header 14Pin to Program/Debug with JTAG Tools of Microchips Connector DEBUG Port (Debug Trace Port) IDE Header 10Pin to debug with Debug Tools (MPLAB REAL ICE In-Circuit Emulator) of Microchips Switching Regulate 3.3V/3A to reduce heat from Regulate with LED to display status of Power Supply +5V Type-B
WWW.ETTEAM.COM
WWW.ETTEAM.COM
of
devices
on
Board
ET-
No.1: It is external Connector +5V Power Supply for using with Adapter +5V Type-B. No.2: It is LED Power (Red) to display status of +5V Power Supply. No.3: It is Switch Mode and LED PGM/RUN to select mode operation of board between Run Mode and Program Mode. There is LED PGM(Red) and RUN(Green) will be lit to display status of the selected mode all time. No.4: It is Switch RESET to reset operation of MCU while operating in Run Mode. No.5: It is Connector ICD2 to Program and Debug operation of board; in this case, it also needs to set Switch Mode to be Program Mode. This Connector is able to connect with devices that support the application with MCU on board and use the same standard as ICD2 of Microchips such as Pickit2, Pickit3, ICD2, ICD3 or equivalence; for example,
WWW.ETTEAM.COM
WWW.ETTEAM.COM
No.38,39: They are Jumper to On/Off signal to interface with UART1 and UART2. No.40: It is Jumper to On/Off signal to interface with EEPROM 25LC256. No.41: It is Connector HOST USB to interface with USB Device. No.42: It is Connector USB in the type of DEVICE and OTG to interface with HOST USB or OTG USB. No.43: It is LED VBUS to display status of +VBUS of USB Port. No.44: It is LED HOST to display status of USB when it operates as Host. No.45: It is LED OVER to display status of Host VBUS when current is pulled over. No.46: It is Jumper to select mode operation of USB between DEVICE and HOST or OTG. No.47: It is Jumper to On/Off signal to interface with USB. No.48: It is VR to adjust the brightness of Character LCD. No.49: It is Connector Character LCD by using with LCD that is +5V Supply. No.50: It is Jumper to On/Off signal to interface with LCD.
WWW.ETTEAM.COM
NOTE: Due to RA0 and RA1 are signal pins that have similar functions to JTAG Port; so, if user wants to use LED0(RA0) and LED1(RA1), it needs to disables operation of JTAG Port first and then user can use RA0 and RA1 to be GPIO Output for driving LED as preferred. In case of using PIC32, user is able to use function command in plib as shown in the example below;
WWW.ETTEAM.COM
Adjustable VR (0-3V3)
This circuit uses Adjustable VR to adjust values and it is compatible with +3.3V Power Supply; moreover, it sets Output to be the voltage in the range of 0V to +3.3V, depends on adjusting Resistor. The given Output is sent to Pin RB2 to build Input Voltage for testing the operation of A/D(RA[2]) Circuit. However, user is able to disconnect signal RA[2] from this circuit by Jumper as shown in the circuit below.
WWW.ETTEAM.COM
ICD2
ICD2 is Connector RJ11 and Header 1x6 Pin to interface with PIC Programmer Device that has arranged according to standard ICD2 of Microchips. It is compatible with Programmers from Microchips or equivalence. It arranges circuit and signals according to the standard ICD2 as follows;
10
WWW.ETTEAM.COM
Character LCD
The LCD Connection is only compatible with LCD Character Dot-Matrix in the format of 4 BIT Data Interface; in this case, it uses 7 Bits from signal RE[1..7] to connect with LCD. The method to connect cable from Connector of Port LCD to LCD Display is to refer signal name to be the reference position and user needs to connect all 14 cables according to its name as shown in the picture below.
11
WWW.ETTEAM.COM
RS = RE[1] RW = RE[2] EN = RE[3] DB4 = RE[4] DB5 = RE[5] DB6 = RE[6] DB7 = RE[7]
12
WWW.ETTEAM.COM
13
WWW.ETTEAM.COM
SD Card
Board ET-PIC16/32 START KIT supports the connection with SD Card by using SPI Mode Interface. All circuits that are connected with SD Card use Pin GPIO and SPI of function SPI1 or SPI2 by setting Jumper. The signals that are connected with SD Card are listed as follows;
CS/DAT3 uses RB1(GPIO) to be Output from MCU to select the operation of SD Card. CLK uses SCK1 or SCK2 of the selected SPI; this pin is Output from MCU to SD Card. DAT0 uses SDI1 or SDI2 of the selected SPI; this pin is Input from SD Card to MCU. CMD uses SDO1 or SDO2 of the selected SPI; this pin is Output from MCU to SD Card.
14
WWW.ETTEAM.COM
CD uses RF0(GPIO) to check Insert SD Card; this pin is Input from SD Card to MCU. However, if user does not use this pin, user is able to set Jumper to DIS side to disconnect Pin RF0 from Pin CD (Card Detect) of SD Card. WP uses RF1(GPIO) to check Write Protect of Card Memory; this pin is Input from SD Card to MCU. However, if user does not use this pin, user is able to set Jumper to DIS side to disconnect Pin RF1 from Pin WP(Write Protect) of SD Card.
It is able to set Jumper to connect signal with SD Card; in this case, there are 2 sets of signal SPI from MCU; SPI1 and SPI2. If setting SPI to be SPI2 for using with any MCU number, all signals are matching. However, if setting SPI to be SPI1, Pins of SPI are different between MCU number that has USB and has not any USB. So, if user writes program to communicate and command SD Card by SPI1, it needs to consider and configure conditions in program accordingly.
15
WWW.ETTEAM.COM
SPI1
SPI2
SD CARD Signals
CD(SD Card : Card Detect) WP(SD Card : Write Protect) CS(SD Card : Card Select) SCK(SD Card : CLK) SDI(SD Card : DAT0) SDO(SD Card : CMD)
SPI1(No USB)
GPIO-In : RF0 GPIO-In : RF1 GPIO-Out : RB1 SCK1 : RF6 SDI1 : RF7 SDO1 : RF8
SPI1(USB)
GPIO-In : RF0 GPIO-In : RF1 GPIO-Out : RB1 SCK1 : RD10 SDI1 : RC4 SDO1 : RD0
SPI2
GPIO-In : RF0 GPIO-In : RF1 GPIO-Out : RB1 SCK2 : RG6 SDI2 : RG7 SDO2 : RG8
Table shows the signals for connecting with SD Card of Board ET-PIC16/32 START KIT.
16
WWW.ETTEAM.COM
USB D+(RG2) is Pin to transmit-receive USB data. USB D-(RG3) is Pin to transmit-receive USB data. USB ID(RF3) is Pin USB ID; it is used in the case of setting operation as USB OTG. USB VBUS(Pin 54) is Input Voltage from +VBUS of USB Port. USB EN(RB5) is Pin that is used to control ON/OFF +VBUS of USB Host Port. USB OC(RE8) is Pin Output from USB Circuit to display Over Current status of USB VBUS in Host Mode. When it runs in the normal mode, its status is Logic 1; on the other hand, if its status is Logic 0, it is Over Current. This Over Current status is occurred because of the devices that are connected with Port USB Host pulled the current of VBUS Power Supply higher than the restricted values. The USB Host of Board ET-PIC16/32 Start Kit supplies current 250mA at the maximum and it uses Pin RE8(GPIO/INT) to detect the Over Current of VBUS from USB Host.
17
WWW.ETTEAM.COM
USB Host
If user wants to use USB as Host, it needs to Program Firmware the supports the application. Hardware, it needs to set Jumper to configure operation of circuit in board to support application of Host Function as follows;
Set Jumper Device/Host-OTG to the Host/OTG side to select the application type. Set Jumper ENA/DIS to the ENA side to be the signal for controlling the operation of USB Circuit.
18
WWW.ETTEAM.COM
USB Device
If user wants to use USB as Device, it needs to use Program Firmware that supports the application. For Hardware, it needs to set Jumper to configure the operation of circuit in board to support the application of Host Function as follows;
Set Jumper Device/Host-OTG to the Host/OTG side to select the application type. Set Jumper ENA/DIS to the ENA side to be the signal for controlling the operation of USB Circuit.
19
WWW.ETTEAM.COM
Set Jumper Device/Host-OTG to the Host/OTG side to select the application type. Set Jumper ENA/DIS to the ENA side to be the signal for controlling the operation of USB Circuit.
20
WWW.ETTEAM.COM
21
WWW.ETTEAM.COM
The Cable that is used to connect RS232 between Comport of computer PC and Connector UART1 and UART2 of Board ET-PIC16/32 START KIT is shown as below.
22
WWW.ETTEAM.COM
23
WWW.ETTEAM.COM
ENC28J60-SO uses SPISDI1 of MCU. ENC28J60-SI uses SPISDO1 of MCU. ENC28J60-SCK uses SPI-SCK1 of MCU. ENC28J60-CS uses GPIO-RD14 of MCU. ENC28J60-RES uses GPIO-RD15 of MCU. ENC28J60-INT uses INT2(RE9) of MCU.
24
WWW.ETTEAM.COM
25
WWW.ETTEAM.COM
26
WWW.ETTEAM.COM
If user wants to install Module MCU into board, it needs to set Jumper to select group of MCU correctly first; in this case, there are 2 groups of MCU; has USB and No USB. There are 6 sets of Jumper(USB/NML) to select to install MCU. All 6 Jumpers need to set corresponding with the MCU number that is actually installed into board; moreover, user must set all 6 Jumpers either on USB side or on NML side at the same time as shown in the circuit below.
27
WWW.ETTEAM.COM
The function of Jumper that selects Module MCU of board will select and alternate signal SPI1 and UARTTX1 corresponding with signal pin of MCU number that has USB and not have USB. Due to pin position of signal SPI1 and UART-TX1 of the MCU number that has USB function inside is not corresponding with the MCU number that has not any USB function inside.
NML (No USB) PIN54 = RF7(SPI-SDI1) PIN53 = RF8(SPI-SDO1) PIN55 = RF6(SPI-SCK1) PIN51 = RF3(UART-TX1) -
USB (USB) PIN9 = RC4(SPI-SDI1) PIN72 = RD0(SPI-SDO1) PIN70 = RD10(SPI-SCK1) PIN55 = +3.3V(VUSB) PIN53 = RF8(URT-TX1) PIN54 = +VBUS Sensor
28
WWW.ETTEAM.COM
If user wants to install Module MCU number that has USB Function inside such as PIC24FJ128GB110 or PIC32MX460F512L, user needs to set all 6 Jumper(NML/USB) to the USB side before installing module. o PIC32MX460F512L (USB) o PIC24FJ128GB110 (USB)
29
WWW.ETTEAM.COM
If user wants to install Module MCU number that has not USB any Function inside such as PIC24HJ128GP210 or dsPIC33FJ256MC710 or PIC32 MCU No.PIC32MX360F512, user needs to set all 6 Jumper(NML/USB) to the NML side before installing module. o PIC32MX360F512 (NML) o PIC24HJ256GP210 (NML) o dsPIC33FJ256MC710(N ML)
If user installs Module MCU number that has not any USB Function inside into the board, it needs to disable signal that is connected to USB Circuit; so, it can be used these 6 signals for other purposes additionally as preferred.
30
WWW.ETTEAM.COM
31
WWW.ETTEAM.COM
32
WWW.ETTEAM.COM
signal
for
33
WWW.ETTEAM.COM
REAL ICE of Microchips or equivalent PICKIT2 of Microchips or ET-PGM PIC USB of ETT or equivalent PICKIT3 of Microchips or equivalent ICD2 of Microchips or ET-ICDX of ETT or equivalent ICD3 of Microchips or equivalent
34
WWW.ETTEAM.COM
Table shows the specifications of various device versions that are compatible with Board by MPLAB V8.30. ****NOTE**** PICKit2 of Microchips can be used with ET-PGM PIC USB of ETT; moreover, ICD2 of Microchips can be used with ET-ICDX of ETT as well.
Picture displays example of program development with ET-PGM PIC USB V2.0 (or equivalent to Pickit2); it is compatible with Module MCU in the family of PIC24F, PIC24H and dsPIC33 (not support PIC32).
35
WWW.ETTEAM.COM
Picture displays example of program development with ET-ICDX V1.0 (or equivalent to ICD2); it is compatible with Module MCU in the family of PIC24F, PIC24H, dsPIC33 and PIC32
36
WWW.ETTEAM.COM