EVB-LAN9252-HBI+ EtherCAT® Evaluation Board User’s Guide
DS50002333C-page 32
2015-2016 Microchip Technology Inc.
3.3.1.1
PIC32-HBI PROJECT FOLDER
The PIC32 project folder contains the sample code that enables the LAN9252's HBI
interface to communicate with the SoC. HBI demo code is provided for each of the
LAN9252’s six HBI configurations. These configurations can be selected respectively
from the configuration drop down box as shown in Figure 3-4.
FIGURE 3-4:
MPLAB IDE HBI CONFIGURATION SELECTION
3.3.1.2
PIC32 PROJECT FOLDER
The PIC32-SPI project folder contains the demo code that enables the LAN9252's SPI
interface to communicate with the SoC.
• Refer to the LAN9252 data sheet for more details on these HBI interface and its
modes.
• Refer to Section 2.4.4 “DIGIO/HBI/SPI+GPIO Selection” for SPI jumper configura-
tions.
TABLE 3-1:
HBI CONFIGURATIONS
HBI Configuration (Project)
Description
HBI_INDEXED_8BIT_XC32_PIC32MX79F512
8-bit Indexed mode
HBI_INDEXED_16BIT_XC32_PIC32MX79F512
16-bit Indexed mode
HBI_MDP_8BIT_XC32_PIC32MX79F512
8-bit Multiplexed dual phase mode
HBI_MDP_16BIT_XC32_PIC32MX79F512
16-bit Multiplexed dual phase mode
HBI_MSP_8BIT_XC32_PIC32MX79F512
8-bit Multiplexed single phase mode
HBI_MSP_16BIT_XC32_PIC32MX79F512
16-bit Multiplexed single phase mode