Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chipkit_shield_network:refmanual [2015/05/07 17:52] – [chipKIIT™ Network Shielld™] Joshua Woldstad | chipkit_shield_network:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== chipKIT™ Network | + | ====== chipKIT™ Network |
| - | ====== | + | |
| **Revision: | **Revision: | ||
| **Note:** This document applies to REV D of the shield. | **Note:** This document applies to REV D of the shield. | ||
| - | ===== Overview ===== | + | |
| + | ====== Overview | ||
| The chipKIT Network Shield is an input/ | The chipKIT Network Shield is an input/ | ||
| Line 38: | Line 37: | ||
| as the Max32 board. | as the Max32 board. | ||
| - | {{ : | + | {{: |
| Features include: | Features include: | ||
| Line 52: | Line 51: | ||
| - | === chipKIT Network Shield Hardware Overview === | + | |
| + | |||
| + | ---- | ||
| + | |||
| + | ====== 1. chipKIT Network Shield Hardware Overview | ||
| The Network Shield has the following hardware features: | The Network Shield has the following hardware features: | ||
| Line 58: | Line 61: | ||
| {{ : | {{ : | ||
| - | === 1. USB Connectors | + | **1. USB Connectors** |
| The connector on top of the board is a standard USB A-type receptacle. This is used when | The connector on top of the board is a standard USB A-type receptacle. This is used when | ||
| Line 65: | Line 68: | ||
| Shield is used as a USB device or when using it as a USB OTG device. | Shield is used as a USB device or when using it as a USB OTG device. | ||
| - | === 2. Ethernet Connector with Integral Magnetics | + | **2. Ethernet Connector with Integral Magnetics** |
| This connector is used to connect the Max32/ | This connector is used to connect the Max32/ | ||
| - | === 3. JP4: USB Host Connector Selection | + | **3. JP4: USB Host Connector Selection** |
| When the Max32/ | When the Max32/ | ||
| which USB connector is being used. | which USB connector is being used. | ||
| - | === 4. J17: Power Pass-Through Connector | + | **4. J17: Power Pass-Through Connector** |
| This connector passes the power connector from the Max32 through the Network Shield | This connector passes the power connector from the Max32 through the Network Shield | ||
| and powers the Network Shield from the Max32. | and powers the Network Shield from the Max32. | ||
| - | === 5. J9 & J12: Analog Signal Pass-Through Connectors | + | **5. J9 & J12: Analog Signal Pass-Through Connectors** |
| These connectors pass the analog input pins on the Max32 through the Network Shield. | These connectors pass the analog input pins on the Max32 through the Network Shield. | ||
| - | === 6. CAN2 Connector | + | **6. CAN2 Connector** |
| This connector provides access to the signals for CAN2. | This connector provides access to the signals for CAN2. | ||
| - | === 7. CAN1 Connector | + | **7. CAN1 Connector** |
| This connector provides access to the signals for CAN1. | This connector provides access to the signals for CAN1. | ||
| - | === 8. Digital Signal Connector | + | **8. Digital Signal Connector** |
| This connector provides most of the signals used by the Ethernet and USB interfaces from | This connector provides most of the signals used by the Ethernet and USB interfaces from | ||
| Line 97: | Line 100: | ||
| Network Shield. | Network Shield. | ||
| - | === 9. J7: I2C #1 Daisy Chain Connector | + | **9. J7: I2C #1 Daisy Chain Connector** |
| This is a 2x4 pin header connector that provides access to the I2C signals SDA and SCL | This is a 2x4 pin header connector that provides access to the I2C signals SDA and SCL | ||
| Line 104: | Line 107: | ||
| of I2C peripheral modules that can be accessed using this connector. | of I2C peripheral modules that can be accessed using this connector. | ||
| - | === 10. J6: I2C #2 Daisy Chain Connector | + | **10. J6: I2C #2 Daisy Chain Connector** |
| This is a 2x4 pin header connector that provides access to the I2C signals SDA and SCL | This is a 2x4 pin header connector that provides access to the I2C signals SDA and SCL | ||
| Line 111: | Line 114: | ||
| pull-ups are adjacent to this connector. | pull-ups are adjacent to this connector. | ||
| - | === 11. Digital Signal Connectors | + | **11. Digital Signal Connectors** |
| Some of the signals used by the Network Shield are provided on these connectors. The | Some of the signals used by the Network Shield are provided on these connectors. The | ||
| Line 117: | Line 120: | ||
| + | ---- | ||
| - | ===== chipKIT Network Shield Hardware Description ===== | ||
| + | ====== 2. chipKIT Network Shield Hardware Description ====== | ||
| - | ==== Introduction ==== | ||
| The following describes the hardware on the | The following describes the hardware on the | ||
| Line 136: | Line 139: | ||
| - | ==== Ethernet Interface ==== | + | ===== 2.1. Ethernet Interface |
| The Network Shield can interface with 10Mbps | The Network Shield can interface with 10Mbps | ||
| Line 173: | Line 176: | ||
| a packet. An Ethernet MAC uses a 48-bit | a packet. An Ethernet MAC uses a 48-bit | ||
| address value, commonly called the ‘MAC | address value, commonly called the ‘MAC | ||
| - | Address’. These address values are globally | + | Address'. These address values are globally |
| unique to ensure that no two devices on a | unique to ensure that no two devices on a | ||
| network can have conflicting addresses. MAC | network can have conflicting addresses. MAC | ||
| Line 231: | Line 234: | ||
| main program module: | main program module: | ||
| - | #pragma config FETHIO=ON | + | < |
| - | #pragma config FMIIEN=OFF | + | < |
| Line 264: | Line 267: | ||
| - | ==== USB Interface ==== | + | ===== 2.2. USB Interface |
| Line 423: | Line 426: | ||
| - | ==== CAN Interfaces ==== | + | ===== 2.3. CAN Interfaces |
| Line 460: | Line 463: | ||
| module: | module: | ||
| - | #pragma config FCANIO=OFF | + | < |
| Line 514: | Line 517: | ||
| the termination resistors and jumpers to | the termination resistors and jumpers to | ||
| enable/ | enable/ | ||
| - | of the board in the network. Jumper | + | of the board in the network. Jumper |
| used to enable/ | used to enable/ | ||
| - | for the CAN1 network, and JP8 is used to | + | for the CAN1 network, and JP7 is used to |
| enable/ | enable/ | ||
| CAN2. Install a shorting block on the jumper | CAN2. Install a shorting block on the jumper | ||
| Line 524: | Line 527: | ||
| - | ==== I2C Busses and Connectors ==== | + | ===== 2.4. I2C Busses and Connectors |
| Line 629: | Line 632: | ||
| - | ==== EEPROM ==== | + | ==== 2.4.1. |
| Line 650: | Line 653: | ||
| - | ==== 32.768Khz | + | ===== 2.5. 32.768KHz |
| - | A 32.768Khz | + | A 32.768KHz |
| clock source for the real-time clock/ | clock source for the real-time clock/ | ||
| (RTCC) peripheral in the PIC32MX796 | (RTCC) peripheral in the PIC32MX796 | ||
| Line 668: | Line 671: | ||
| - | + | ---- | |
| - | + | ||
| - | ==== Appendix A: chipKIT Network Shield Pinout Tables ==== | + | |
| - | + | ||
| - | + | ||
| + | ====== Appendix A: chipKIT Network Shield Pinout Tables ====== | ||
| + | ===== Pins Used by the Ethernet Interface ===== | ||
| + | ^ chipKIT Pin # ^ PIC32 Pin # ^ Pin ^ Signal | ||
| + | | 46 | 88 | J10-8 | C1TX/ | ||
| + | | 45 | 87 | J10-9 | C1RX/ | ||
| + | | 47 | 83 | J10-7 | ETXEN/ | ||
| + | | 48 | 68 | J10-6 | RTCC/ | ||
| + | | 49 | 71 | J10-5 | EMDC/ | ||
| + | | 53 | 14 | J10-1 | ERXCLK/ | ||
| + | | 43 | 12 | J10-11 | ||
| + | | 40 | 35 | J10-14 | ||
| + | | 42 | 41 | J10-12 | ||
| + | | 41 | 42 | J10-13 | ||
| + | | 7 | 19 | J11-15 | ||
| + | ===== Pins Used by the USB Interface ===== | ||
| + | ^ chipKIT Pin # ^ PIC32 Pin # ^ Pin ^ Signal | ||
| + | | 27 | 57 | J13-11 | ||
| + | | 26 | 56 | J13-12 | ||
| + | | 25 | 51 | J13-13 | ||
| + | | A5/59 | 20 | J9-6 | AN5/ | ||
| + | | 2 | 18 | J11-5 | AERXD0/ | ||
| + | ===== Pins Used by CAN Interfaces ===== | ||
| + | ^ chipKIT Pin # ^ PIC32 Pin # ^ Pin ^ Signal | ||
| + | | 14 | 39 | J16-8 | AC1TX/ | ||
| + | | 15 | 40 | J16-7 | AC1RX/ | ||
| + | | 22 | 7 | J10-16 | ||
| + | | 23 | 8 | J10-15 | ||
| + | ===== Pins Used by I2C Interfaces ===== | ||
| + | ^ chipKIT Pin # ^ PIC32 Pin # ^ Pin ^ Signal | ||
| + | | 21 | 66 | J16-1, J19-2, J7-1, J7-2 | AETXCLK/ | ||
| + | | 20 | 67 | J16-2, J19-1, J7-3, J7-4 | AETXEN/ | ||
| + | | 12 | 58 | J8-9, J6-1, J6-2 | SCL2/ | ||
| + | | 13 | 59 | J8-11, J6-3 J6-4 | SDA2/ | ||

