This user manual describes the implementation of the EVALSP320SPLC evaluation board
(order code: EVALSP320SPLC). This evaluation board can be used to evaluate the
SPEAr320S microprocessor with a variety of devices and especially its Media Independent
Interface (MII) Automation mode.
The EVALSP320SPLC evaluation kit includes a single application board identified as "MII
mode".
The SPEAr320S microprocessor is mounted on a separate CPU board, which is not
included with the EVALSP320SPLC kit. It must be ordered separately with order code
EVALSP320SCPU.
The EVALSP320SCPU board must be plugged on the MII mode application board.
The MII mode application board is equipped with two Ethernet, three RS-232, one RS-485,
two CAN, SPI, I²C communication interfaces and MicroSD card socket with SDIO interface.
There are also two general-purpose push-buttons, four LEDs, a temperature sensor and a
potentiometer available for the user interface.
The application board also includes digital input/output serial/parallel connectors with a
pinout compatible to many existing evaluation boards from ST:
●Digital input serial: STEVAL-IFP007V1
●Digital input parallel: STEVAL-IFP004V1 and STEVAL-IFP008V1
●Digital output serial: STEVAL-IFP009V1
●Digital output parallel: STEVAL-IFP002V1, STEVAL-IFP001V1 and STEVAL-IFP006V1
The application board can be powered using a standard DC power supply (7 V to 30 V DC)
or directly using a 24
The EVALSP320SPLC evaluation board is shipped in protective anti-static packaging. Do
not submit the board to high electrostatic potentials, and follow good practices for working
with static sensitive devices.
●Wear an anti-static wristband. Wearing a simple anti-static wristband can help
prevent ESD from damaging the board.
●Zero potential. Always touch a grounded conducting material before handling the
board, and periodically while handling it.
●Use an anti-static mat. When configuring the board, place it on and anti-static mat to
reduce the possibility of ESD damage.
●Handle only the edges. Handle the board by its edges only, and avoid touching board
components.
3.2 Connecting
1.Connect a serial cable from the application board (connector CN13: RS232_0/UART0)
to a host PC (see
2. On a host PC running Windows or Linux, start the Terminal program.
3. Connect a power supply to the EVALSP320SPLC evaluation board as described in
Section 4.5: Power supply on page 13.
4. Power on the board. The Terminal program displays a sequence of boot messages
followed by the Linux console prompt.
For more information, refer to user manual UM0844 "Getting started with Linux for SPEAr"
available at www.st.com/spear.
3.3 Booting
The EVALSP320SPLC evaluation board can boot a Linux kernel pre-installed in the serial
NOR Flash.
At power on, the serial port outputs a brief header message with some uBoot information
(uBoot version, SDK version, and some internal hardware information). At this point you can
choose to:
●Stop the system directly in uBoot: Press the spacebar on the host computer
keyboard before the boot delay time expires (default is 3 seconds).
●Boot Linux: The system logs you in automatically as super user and the Linux shell
prompt displays on the screen.
Figure 3: Application board layout).
8/36Doc ID 022703 Rev 2
UM1509Configuration
4 Configuration
4.1 Ethernet
There are two Ethernet PHYs (U5 and U6) available on the board that are connected
through the media independent interfaces (MII) to the Ethernet MACs on the CPU board
processor.
By default the MII addresses of the Ethernet PHYs are selected as shown in Ta bl e 1.
)
Table 1.MII addresses of the Ethernet PHYs (U5 and U6)
Ethernet PHYMII address
U50x01
U60x02
By default the initial configuration of the Ethernet PHYs is selected as shown in Ta bl e 2.
Table 2.Default configuration of the Ethernet PHYs (U5 and U6)
FunctionDefault configuration
Auto negotiationEnabled
10/100 Mbits100 Mbits selected for auto negotiation advertisement
Half/Full duplexFull duplex selected for auto negotiation advertisement
Internal LoopbackDisabled
Power downDisabled (PHY is not in Power down state)
MII/RMII modeMII selected
There are two LEDs embedded in each RJ-45 connector (CN7 and CN8) that indicate the
status of the line:
●The green LED in the connector is driven on continuously when the Ethernet link is
established with the counterpart.
●The yellow LED in the connector blinks when there is TX or RX activity.
The Serial Management Interface (SMI) is part of the MII interface and is used to transfer
management information between the MAC and PHY (access of the PHY registers). There
are two SMI interfaces coming from each Ethernet MAC. It is possible to use only one of
them to control both Ethernet PHYs or each SMI can be used separately for each PHY.
Table 3.SMI interface configuration
FunctionDefault configuration
MII1_MDC, MII1_MDIO used for PHY1 (U5) and
MII2_MDC, MII2_MDIO used for PHY2 (U6)
R93,R94, R95, R96 loaded
R27, R29 not loaded (Default)
Doc ID 022703 Rev 29/36
ConfigurationUM1509
(
EVALSPEAR320PLC
board
p
(hig
Table 3.SMI interface configuration (continued)
FunctionDefault configuration
MII1_MDC, MII1_MDIO used for both PHYs (U5, U6)
MII2_MDC, MII2_MDIO used for both PHYs (U5, U6)
For the two Ethernet PHYs (U5 and U6 in MII mode) to function correctly, it is necessary to
clock them using a 25-MHz clock. There are two ways to deliver the 25-MHz clock signal to
the devices.
4.2 Digital input / digital output connectors
The digital input and digital output connectors are used to extend the EVALSP320SPLC
board with the industrial input and output cards.
The input sensors (for example, proximity switches) of the controlled industrial process are
normally decoupled and connected by the current limiters based on the CLT and SCLT
devices of the microcontroller. The digital outputs, also electrically decoupled, are based on
high-side drivers which are used in industrial environments to switch industrial loads (valves,
relays, …) and process control. For both the inputs and outputs, we can use either serial
(SPI) or parallel (GPIO) IN/OUT cards.
The EVALSP320SPLC board is compatible with the following cards:
●Digital input serial (CN3): STEVAL-IFP007V1
●Digital output serial (CN4): STEVAL-IFP009V1
●Digital input parallel (CN5): STEVAL-IFP004V1 and STEVAL-IFP008V1
●Digital output parallel (CN6): STEVAL-IFP002V1, STEVAL-IFP001V1 and STEVAL-
IFP006V1
R93, R94, R27, R29 loaded
R95, R96 not loaded
R95, R96, R27, R29 loaded
R93, R94 not loaded
Figure 4.EVALSP320SPLC board with digital input and digital output cards
Controlled
rocess
Digital input
current limiters)
10/36Doc ID 022703 Rev 2
Digital output
h side drivers)
UM1509Configuration
123
123
123
12
Figure 5.8/16 input channel current limiter based on SCLT3-8, STEVAL-IFP007V1
4.3 Controller–area network bus
The EVALSP320SPLC evaluation board supports two channels of CAN2.0A/B compliant
controller–area network (CAN) bus communication based on a 3.3
speed mode, standby mode and slope control mode are available and can be selected by
setting jumper JP1 for CAN0 and jumper JP4 for CAN1.
Table 4.CAN0 transceiver settings
JumperDescriptionConfiguration
CAN0 transceiver works in Standby mode when JP1 is set.
JP1
JP2
CAN0 transceiver works in High-speed mode when JP1 is set
(Default).
CAN0 transceiver works in Slope control mode when JP1 is
open.
CAN0 terminal 120 Ω resistor is enabled when JP2 is loaded.
Default setting: loaded
V CAN transceiver. High-
Doc ID 022703 Rev 211/36
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.