How does the PIC18F97J60 produce a frequency of 41.667 MHz with an input of 25 MHz from the crystal?
The PIC18F97J60 takes an input of 25 MHz and produces two frequencies
- 25 MHz for the Ethernet module, and
- 41.667 MHz for the microcontroller block using the internal PLL block
Please refer to the Oscillator Configuration section in the PIC18F97J60 data sheet for further details.
There are two stickers on the bottom side of the board; one of these stickers says "25867". What does this mean?
This number represents the second half of a MAC address in decimal form. Converting “25867” to hex yields 00-65-0B. The first half of the MAC address for the board is 00-04-A3, which is Microchip’s OUI. Both together form a unique MAC address 00-04-A3-00-65-0B which can be used to configure the setting in TCPIPConfig.h file.
What cable should I use?
There are two kinds of Ethernet cable—straight-through (patch) and crossover. When connecting an embedded device directly to another embedded device (or a PC to a PC), a crossover cable must be used, while a straight-through cable must be used when connecting an embedded device or a PC to a hub/switch/router. Some new PCs, switches, and routers may have a feature called auto-medium dependent interface crossover (MDIX), which automatically detects the cable type and corrects the differential pair's connection inside the equipment.
What care should be taken to prevent Link termination on my board?
- The internal analog circuitry in the PHY module requires that an external resistor be attached from RBIAS to ground. The value required is dependent on the device, check data sheet and errata documents for the required value. The resistor influences the TPOUT+/- signal amplitude. It should be placed as close as possible to the chip with no adjacent signal traces to prevent noise-capacitive coupling into the pin. It is recommended that the resistor be a surface mount type.
- The transformers should have at least the isolation rating as specified in the datasheet to protect against static voltages and meet IEEE® 802.3 isolation requirements.
- Verify that the proper external clock frequency and ppm rating is used for the Ethernet PHY. For the ENC28J60, ENCx24J600, and PIC18F97J60 family, the crystal should be a 25 MHz, 50 ppm parallel cut crystal.
What is a MAC address and how do I go about getting one?
The MAC address is a 48-bit or 64-bit Identifier (EUI-48™ and EUI-64™ node address) that provides the physical address of network hardware devices. An Ethernet MAC address has 48 bits, and every device must have its own unique MAC address. The first 24 bits of a MAC address are the Organizationally Unique Identifier (OUI). A MAC address is formed by concatenating an OUI with another 24-bit number, the Extension Identifier (EI). A company can purchase an OUI number directly from IEEE. Another option is to request for an Individual Address Block (IAB), but you will only get 4,096 unique addresses to use, versus 224 (over 16 million) different addresses when using an OUI.
OR
You can purchase our EUI-48 enabled MAC address chips. We do all of the above to offer a hassle-free, easy-access and low-cost solution. These plug-and-play MAC address devices come with 1.5 Kb serial EEPROM space and are available in SPI, I2C and UNI/O® buses. They can be purchased as and when needed, and there are no volume requirements. These devices are also EUI-64 compatible.
OR
Some devices, such as PIC32 MCUs or the ENC424J600 and ENC624J600 10/100 Ethernet controllers, come with pre-programmed MAC addresses.
What RJ45 connectors are recommended?
Some common RJ45 connectors are:
- Bel Stewart 08B0-X1T-36-F
- Pulse JP011821UNL
What testing tools/equipment are necessary?
When troubleshooting an Internet application, it is critical to be able to monitor network transactions to find out what is going on. Wireshark is a free, powerful and easy-to-use network protocol capture/analyzer tool with filtering capability. If you need to test your product for IEEE 802.3 compliance, take a look at the Interoperability Laboratory at the University of New Hampshire (IOL-UNH). There's no official IEEE 802.3 test compliance program, but the IOL-UNH testing service has become the industry's de facto test house.
Will plugging in a 10BASE-T Ethernet device into a 100BASE-TX Ethernet network slow the network down?
If the network administrator takes care to configure the 10 BASE-T nodes as a sub-network behind a switch or router, the speeds are auto negotiated and, therefore, do not degrade the performance of the 100 BASE-TX network.