-
Notifications
You must be signed in to change notification settings - Fork 11
UPC CREX
Warning: POWER OFF the UPCore board BEFORE plugging/unplugging a carrier board.
Specifications | |
---|---|
PCIe Switch | 1x 2 channel PCIe switch |
Ethernet | 1x Realtek RTL8111G-CG |
Internal I/O ports | 1x jumper for RS232/RS422/RS485 1x Power LED (bottom side) 1x uSIM Card Reader |
Edge I/O ports | 1x RJ45 Ethernet port 1x RS-232/422/485 connector 1x horizontal 30 pin wafer box header for HAT 40 I/O pins at back side |
Pin | Description | Linux GPIO |
---|---|---|
01 | I2C0_SOC_SDA | 0 |
02 | I2C0_SOC_SCL | 1 |
03 | I2C1_SOC_SDA | 2 |
04 | I2C1_SOC_SCL | 3 |
05 | GPIO22/SPI_CS0N | 8 |
06 | GPIO23/SPI_CS1N | 7 |
07 | GPIO7/SPI2_MOSI | 10 |
08 | GPIO8/SPI_MISO | 9 |
09 | GPIO9/SPI_CLK | 11 |
10 | GPIO16/UART1_TX | 14 |
11 | GPIO17/UART1_RX | 15 |
12 | GPIO25/PWM0 | 12 |
13 | GPIO13/PWM1 | 13 |
14 | GPIO14/I2S2_FRM | 19 |
15 | GPIO18/I2S2_CLK | 18 |
16 | GPIO27/I2S2_DATAIN | 20 |
17 | GPIO28/I2S2_DATAOUT | 21 |
18 | ISH_GPIO0 | 4 |
19 | ISH_GPIO2 | 5 |
20 | ISH_GPIO3 | 6 |
21 | ISH_GPIO4 | 17 |
22 | ISH_GPIO9 | 16 |
23 | 3.3V | |
24 | 3.3V | |
25 | GND | |
26 | GND | |
27 | GND | |
28 | 5V | |
29 | 5V | |
30 | GND |
Run your UPCore board with your UP-CRST01 carrier board attached. Including a USB keyboard and HDMI display.
Press Esc key and enter to the BIOS settings.
There, you will see something like:
Carrier board Vendor: AAEON
Carrier board Product: UP-CREX rev A0.3_0_0
Open a terminal window for your Linux distro (https://github.com/up-board/up-community/wiki/Software#Operating_Systems).
Check the dmesg log looking for CRST01 board:
dmesg | grep CREX
You will see something like that:
[ 0.000000] ACPI: SSDT 0x000000005B87FFB8 000652 (v01 AAEON UPCREX 00000000 INTL 20160831)
You can check the FPGA chip registers from your Linux machine:
cat /sys/kernel/debug/regmap/AANT0F02\:00/registers
You will see the register values:
10: 0301
11: 1020
20: 4300
40: ffff
41: 003f
Access to the LEDs directories:
sudo -i
cd /sys/class/leds
Turn the green UPC-CRST02 LED on:
echo 255 > upboard\:green\:/brightness
Turn the green UPC-CRST02 LED off:
echo 0 > upboard\:green\:/brightness
For a quick test for the serial ports, you will need to open your port using picocom in another console:
sudo apt-get install picocom
sudo picocom /dev/ttyUSB0
- RS-232: Connect the pin JP1 in 3-5 and 2-4 and a wire between 2 and 3 pins in the DB9 port.
Send a command to receive in the port console:
sudo echo "Hello World" > /dev/ttyUSB0
- RS-422: Connect the pin JP1 in 3-5 and 4-6 and a wire between 1 and 4 pins in the DB9 port.
Send your command to receive in the port console:
sudo echo "Hello World" > /dev/ttyUSB0
- RS-485:
NOTICE: You will need an RS-485 converter for that.
Connect the pin JP1 in 1-3 and 2-4 and your 485 converters to 1 and 2 pins in the DB9 port.
Send your command to receive in the port console:
sudo echo "Hello World" > /dev/ttyUSB0
NOTE: This wiki is the main source of documentation for developers working with (or contributing to) the UP products. If this is your first time hearing about UP, we recommend starting with our main UP website, and our UP community page.