Digilent chipKIT uC32 Скачать руководство пользователя страница 9

chipKIT™ uC32™ Board Reference Manual 

 

 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

9

 of 

17

 

 

3.5  Peripheral I/O Functions 

The PIC32 microcontroller on the uC32 board provides a number of peripheral functions. The following peripherals 
are provided: 
 

UART port 1:

 Asynchronous serial port. Pin 0 (RX), Pin 1 (TX). These pins are connected to I/O connector J6 and are 

also connected to the FT232R USB serial converter. It is possible to use these pins to connect to an external serial 
device when not using the USB serial interface. This uses UART1 (U1RX, U1TX) on the PIC32 microcontroller. 
 

UART port 2:

 Asynchronous serial port. Pin 39 (RX), Pin 40 (TX). This uses UART2 (U2RX, U2TX) on the PIC32 

microcontroller. 
 

SPI:

 Synchronous serial port. Pin 10 (SS), Pin 11 (MOSI), Pin 12 (MISO), Pin 13 (SCK). This uses SPI2 (SS2, SDI2, 

SDO2, SCK2) on the PIC32 microcontroller These signals also appear on connector J8.  
 
Jumpers JP5 and JP7 are used to select whether the uC32 operates as a Master (transmit on MOSI, receive on 
MISO) or a Slave (transmit on MISO, receive on MOSI) device. The shorting blocks on JP5 and JP7 are normally 
placed in the Master position for the uC32 to function as an SPI master.  
 
Jumper JP4 is used to select PWM output or the SPI SS function on Pin 10. The shorting block on JP4 should be in 
the RD4 position to select PWM output. It should be in the RG9 position to select the SPI SS function. JP4 will 
normally be in the RD4 position. In general, the only time it needs to be in the RG9 position is when the uC32 
board is being used as an SPI slave device. 
 

I

2

C:

 Synchronous serial interface. The dedicated I

2

C signals can be found on J11. In addition, the PIC32 

microcontroller shares analog pins A4 and A5 with the two I

2

C signals SDA and SCL. Jumpers JP6 and JP8 are used 

to select whether the analog pin functions or the I

2

C pin functions are being used. The shorting blocks are placed in 

the A4/A5 position to select the analog input function or general digital I/O. They are placed in the RG3/RG2 
position to use the pins for I

2

C operation. This uses I2C1 (SDA1, SCL1) on the PIC32 microcontroller. 

 

Note:

 The I

2

C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that 

pull-up resistors must be provided to supply the logic high state for the signals. These pull-up resistors are not on 
the uC32 board and must be provided externally. The required resistance of the pull-up resistor to use depends on 
the total number of devices on the bus, the length of wire, and the clock speed being used. It essentially depends 
on distributed capacitance on the bus. The higher the distributed capacitance and the faster the clock speed, the 
smaller the resistance should be. Values typically used are in the range of 2K to 10K ohms. 
 

PWM:

 Pulse width modulated output. Pins 3 (OC1), 5 (OC2), 6 (OC3), 9 (OC4), and 10 (OC5).  

 

External Interrupts:

 Pin 38 (INT0), Pin 2 (INT1), Pin 7 (INT2), Pin 8 (INT3), Pin 35 (INT4) 

 

User LEDs:

 Pin 13 (LD4), Pin 43 (LD5). Pin 13 is shared between a connector pin and the LED. Pin 43 only goes to 

the LED and not any connector pin. Driving the pin high turns the LED on, driving it low turns it off. 
 

A/D Converter Reference:

 Labeled A, the left-most outer pin on connector J5. This is used to provide an external 

voltage reference to determine the input voltage range of the analog pins. The maximum voltage that can be 
applied to this pin is 3.3V. This pin can also be used as digital pin 42. 
 

RTCC:

 Real Time Clock Calendar. The PIC32 microcontroller contains an RTCC circuit that can be used to maintain 

time and date information. The operation of the RTCC requires a 32.768 KHz frequency source. Crystal X2 (not 
loaded), just above and to the right of the PIC32 microcontroller IC, is provided for you to solder a 32 KHz watch 
crystal. The Citizen CFS206-32.768KDZF-UB crystal can be used in this location. 
 

RESET:

 The PIC32 microcontroller is reset by bringing its MCLR pin low. The MCLR pin is connected to the P32_RST 

net on the circuit board. 

Содержание chipKIT uC32

Страница 1: ...emory and 32K of SRAM data memory The uC32 can be programmed using the Multi Platform Integrated Development Environment MPIDE an environment based on the original Arduino IDE modified to support PIC3...

Страница 2: ...d when connected to the PC 2 JP3 Microchip Debug Tool Connector This connector is used to connect Microchip programmer debugger tools such as the PICkit 3 This allows the uC32 board to be used as a tr...

Страница 3: ...nd A5 or the I 2 C signals SDA and SCL 11 J8 SPI Signal Connector This connector provides alternative access to the SPI signals This is used by some shields for access to the SPI bus 12 JP5 JP7 SPI Ma...

Страница 4: ...n be used to reset the microcontroller restarting operation from the boot loader 2 chipKIT uC32 Jumper Settings The chipKIT development platforms use a Microchip PIC32 microcontroller These are 32 bit...

Страница 5: ...eep JP2 on the two right most pins so the J4 supply is regulated JP4 PWM SPI SLAVE Configures pin 10 on J5 to be used as a PWM output or a Slave Select input for use as an SPI slave device Pin 10 conf...

Страница 6: ...the bottom of the board between the pins on JP1 JP1 is normally not loaded If the trace between the pins on JP1 has been cut the automatic reset operation can be restored by loading JP1 and inserting...

Страница 7: ...the jumper in the BYP position The forward drop across the MCP1725 is typically 210mV 350mV max at 500mA output With JP2 in the BYP position this will allow correct operation of the 3 3V power supply...

Страница 8: ...urced or sunk across all I O pins simultaneously is 200mA The maximum voltage that can be applied to any I O pin is 5 5V For more detailed specifications refer to the PIC32MX3XX 4XX data sheet availab...

Страница 9: ...being used The shorting blocks are placed in the A4 A5 position to select the analog input function or general digital I O They are placed in the RG3 RG2 position to use the pins for I 2 C operation T...

Страница 10: ...r left corner of the board Pressing this button resets the PIC32 microcontroller 3 6 Microchip Development Tool Compatibility In addition to being used with the MPIDE the uC32 board can be used as a m...

Страница 11: ...position The digital pin number for the microcontroller signal RG9 is 44 With JP4 in the RG9 position digital pin 44 is connected to the pin labeled 10 on the board and digital pin 10 is not connecte...

Страница 12: ...4 A10 J7 10 28 TDI PMA10 AN13 RB13 25 A11 J7 12 30 PMALL PMA0 AN15 OCFB CN12 RB1 5 26 J6 02 60 PMD0 RE0 27 J6 04 61 PMD1 RE1 28 J6 06 62 PMD2 RE2 29 J6 08 63 PMD3 RE3 30 J6 10 64 PMD4 RE4 31 J6 12 1 P...

Страница 13: ...G8 or SDI2 PMA5 CN8 RG7 selected by JP5 also on J8 1 J5 08 37 55 CN16 RD7 J5 09 12 or 11 5 or 6 SDI2 PMA5 CN8 RG7 or SDO2 PMA3 CN10 RG8 selected by JP7 also on J8 4 J5 10 38 35 U1RTS BCLK1 SCK1 INT0 R...

Страница 14: ...04 18 or 45 27 or 36 TCK PMA11 AN12 RB12 or SDA1 RG3 Selected by JP6 J7 10 A10 24 28 TDI PMA10 AN13 RB13 J7 11 A05 19 or 46 29 or 37 PMALH PMA1 U2RTS AN14 RB1 4 or SCL1 RG2 Selected by JP8 J7 12 A11 2...

Страница 15: ...UT PMA13 AN10 RB10 24 J7 08 A09 23 TDO PMA12 AN11 RB11 25 VSS 26 VDD 27 J7 09 A04 18 TCK PMA11 AN12 RB12 selected by JP6 28 J7 10 A10 24 TDI PMA10 AN13 RB13 29 J7 11 A05 19 PMALH PMA1 U2RTS AN14 R B14...

Страница 16: ...used under license PIC32 Pin Connector Pin chipKIT Pin PIC32 Signal Notes 46 J6 07 3 OC1 RD0 47 SOSCI CN1 RC13 X2 secondary oscillator 48 SOSCO T1CK CN0 RC14 X2 secondary oscillator 49 J6 11 5 OC2 RD1...

Страница 17: ...Henley Court Pullman WA 99163 U S A Application of Council Directives EMC 2004 108 EC Standards EMC EN55022 2010 EN55024 2010 Product Name chipKIT uC32 Product Model Number Digilent P N 210 254 Digil...

Страница 18: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Digilent 410 254P KIT 410 254...

Отзывы: