Loading...
Loading...
Loading...
Loading...
Version | Changes |
---|---|
Disclaimer PDF export Auvidea can take no responsibility for the accuracy or completeness of any information presented in an exported PDF document as the export feature is developed, managed and maintained by GitBook. Those export mechanisms are subject to change without interaction by Auvidea. Please note that Auvidea includes this version table to identify the document and reference changes.
The P140 is a adapterborad that provides an network interface with up to 4 RJ45/XCode connectors. The network interface is provided over a 1x PCIe interface from the host controller.
Version | Changes |
---|---|
Address | Part | Description |
---|---|---|
38456-1
Initial design
38456-2.1
Change from I210 to RTL, known issues: missing power rail
38456-3
Fixed power rail bug
0x20
TPS23861
PoE Controller
0x21
TCA6408
Gpio expander
0x54
PCA9685
LED Controller
1.0
Initial release
Feature | Description |
---|---|
Pin | Description | Note |
---|---|---|
1
GND
Ground (0V)
2
GND
Ground (0V)
3
GND
Ground (0V)
4
GND
Ground (0V)
5
5V
6
12V
7
12-24V
4A max
8
12-24V
4A max
9
12-24V
4A max
10
12-24V
4A max
1
GND
Ground (0V)
2
SDA
3.3V
3
SCL
3.3V
4
3.3V
1
GPIO5
2
Wake
3
CLK
4
RST
5
RX
6
TX
7
3.3V
8
5.0V
Ethernet
4 Ports
Network speed
10/100/1000 Mbps shared
PCIe - Network interface
1
PoE
802.3at up to 72W total
Status LED's (RGB)
4
The following implements Devicetree nodes are implementing the P140 functionallity for the tca6408 and pca9685 component.
The following devicetree snippet is only an example. The I²C controller depends on your hardware setup.
This code is meant to initializing the board correctly. Because the settings will reset every time you reboot the board, it is necessary to run this script on every start of the board. The script can take some time to show some response, so wait some time and set the script run until it prints “Done!” in the console.
This script is made to control specific GPIO Ports which are connected to preset outputs/inputs to check there status or set them to a specific state
All action
Example
This script is made to control the PWM Controller, to turn on/off specific/all LEDs on the board
All action
Example
This script is made to control the PoE Controller on the board. It is possible to set specific ports to on, off or change there mode or turn them off completely
All action
Example
Option | Suboption 1 | Description |
---|---|---|
Action | Command |
---|---|
Option | Value 1 | Value 2 | Description |
---|---|---|---|
Action | Command |
---|---|
argument | Description |
---|---|
Action | Command |
---|---|
-h (--help)
Shows help menu
-en48V (--enable48V)
0|1
Enable/Disable 48V
-enPCA (--enablePCA)
0|1
Enable/Disable PCA
-rPoE (--resetPoE)
Reset PoE
-c48V (--check48V)
Check 48V Status
Show help menu and enable 48V
./gpio_control.sh -h -en48V 1
Disable PCA and check 48V
./gpio_control.sh -enPCA 0 -c48V
-h (--help)
Shows help menu
-led0
red|blue|green
on|off
Turn on/off LED0 color
-led1
red|blue|green
on|off
Turn on/off LED1 color
-led2
red|blue|green
on|off
Turn on/off LED2 color
-led3
red|blue|green
on|off
Turn on/off LED3 color
-led4
red|blue|green
on|off
Turn on/off LED4 color
-o (--off)
Turn all LEDs off
Shows help menu and turns color red on led0 on
./PWM_LED_controller.sh -h -led0 red on
Turns color blue on led1 on and turns color green on led 2 off
./PWM_LED_controller.sh -led1 blue on -led2 green off
-h (--help)
Shows help menu
-b (--bus)
Set bus
-a (-address)
Set chip address
-s (--status)
Checks status
-on[PORT|a]
Turn all or specific port(s) on
-off[PORT|a]
Turn all or specific port(s) off
-dis[PORT|a]
Disable all or specific port(s)
-man[PORT|a]
Set all or specific port(s) to manual mode
-sauto[PORT|a]
Set all or specific port(s) to semi auto mode
-auto[PORT|a]
Set all or specific port(s) to auto mode
Set all ports to manual mode and turn on all ports and checks status
./TPS23861_PoE.sh -mana -ona -s
Set bus to 1, set port 3 to manual, set port 2 to auto, turn on port 3 and check status
./TPS23861_PoE.sh -b 1 -man3 -auto2 -on3 -s