![Fastwel NM350 User Manual Download Page 16](http://html.mh-extra.com/html/fastwel/nm350/nm350_user-manual_546460016.webp)
NM350 USER MANUAL
© 2 0 1 6
16
N M 3 5 0
Functional description
Table 2-3:
Purpose of XP6 connector contacts
Contact
number
Signal
Purpose
Input/Output
1
-
-
-
2
-
-
-
3
MDIO
I2C Data
In/Out
4
GND
GND
In
5
MDC
I2C Clock
In
А1
AGND
- U
in
In
А2
Vcc
+ U
in
In
For various operating systems (OS) drivers and utility programs for operation with TPS23841
over I
2
C bus / SMBus are supplied with CPC309 CPU Module (can be found on Fastwel FTP).
A.
Control in Linux 2.6 OS
Control is carried out via write/read from controller registers (for more detailed information
see documentation for TPS23841). PoE.sh script demonstrates operation with device driver.
PoE.sh
[port number] [command]
Numbers of the ports: 1, 2, 3, 4 or all in case when a command refers to all the ports.
Commands:
status
– displays information on the port's status;
sensors
or
sensor
– displays values of sensors in the table;
disable
– disables a port;
enable
– enables a port;
reset
– reset and start of POR cycle of all the ports;
shutdown
or
turnoff
, or
poweroff
– disconnects power supply of all the ports;
poweron
or
turnon
– turns on the power supply of all the ports;
acoff, aclow, achigh
– control of AC mode.
Example:
# ./PoE.sh 1 status
# ./PoE.sh 2 sensors
# ./PoE.sh all reset
# ./PoE.sh all achigh
B.
Control in QNX 6.5.
Control is carried out by using the following commands:
Single display of current parameters:
# poe-tps23841 -v
Common=0x00: Ports no fault
Port #0 status 0x0180: [Fault status is no faults | Class ID is 0 | Discovery status is fail |
WDT is not active | A/D status is not active | Function done is normal | Function
status is searching]