Initialize
MSP430
Set Power Off to all Ports.
Set Ports to SEMI_AUTO
Mode
Configure TPS2388
Interrupts, Remapping,
OSS, etc.
Enable DC
Disconnect
Start
Every 10
seconds
Print Input Voltage, Temp,
Voltage and Current of all
Powered Ports
Detection
Event
Get
Detection
Status
Determine
Ports
Detection
Valid?
Print Status
Power Good
Event
Get Power
Status
Determine
Ports
Disconnection
Event
Get
Disconnect
Status
Determine
Ports
Print Status
Power Enable
Event
Get Power
Status
Determine
Ports
Print Status
Classification
Event
Get
Classification
Status
Determine
Ports
Power On
Port
Classification
Valid?
Print Status
Yes
Detection Event Processing is only
performed to print status info. Not
required in Semi-Auto mode
Fault Event
Get Fault
Status
Determine
Ports
Print Status
UPoE
Ports?
IEEE
Power On
2
nd
Port
Yes
Enable Four 2-Pair
Ports and two 4-Pair
Ports Master
Z vv o•
[
š
š]}v
and Classification
TPS2388EVM-612 Host Setup
11
SLUUBQ7 – August 2017
Copyright © 2017, Texas Instruments Incorporated
TPS2388EVM-612: PoE PSE Evaluation Module for TPS2388
Figure 6. Semi-Auto Mode Reference Code Structure
4.2.3
Virtual Auto Mode Reference Code
Since the TPS2388 does not have Auto Mode, the main purpose of
Virtual Auto Mode
reference code is to
operate the TPS2388 like Auto Mode by sending simple I
2
C commands. It is more beneficial to small PSE
systems with lower port count, since it does not need complex system control. For example, NVR
applications.
CAUTION
The
Virtual Auto Mode
reference code disables channel 5–8 completely since it
is intended for use on IEEE802.3at compliant (2-pair) ports only. So nothing will
be powered on when you connect to the 4 pair ports.
To enable the channel 5-8 for an 8 IEEE832.3at port system working in Virtual Auto Mode, you can go to
main_virtual_auto.c and add another loop with I2C address of channel 5-8.
!~The!~intent for 800ms delay is to provide sufficient time to allow the previous turn on commands to
complete before sending another (800ms per virtual “quad”). If there are 3 TPS2388 devices in the
system, the delay would be 400ms/3 = 133ms.