UP_Core_carrier_board_(low_speed_I
Warning: POWER OFF the UPCore board BEFORE plugging/unplugging a carrier board.
Specifications | |
---|---|
CPLD | Max10 for HAT 40 pin setting |
RS232 | 1x USB to RS232 |
Internal I/O ports | 1x jumper for RS232/RS422/RS485 1x Power LED (bottom side) |
Edge I/O ports | 1x RS-232/422/485 connector 1x 12-24V power input 1x horizontal 30 pin wafer box header for HAT 40 I/O pins at back side 1x horizontal 20 pin wafer box header for FPGA MAX10 |
Operating Temperature | 0 ~ 60ºC |
Operating humidity | 10%∼80%RH non-condensing |
Form factor | 56.5mm x 66mm |
Certificate | CE/FCC Class A |
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 the Esc key and enter the BIOS settings. There, you will see something like:
Carrier board Vendor: AAEON
Carrier board Product: UP-CRST02 rev A0.2_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 CRST02
You will see something like that:
[ 0.000000] ACPI: SSDT 0x000000005B87FFD0 000654 (v01 AAEON UPCRST02 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: 3042
20: 4300
40: ffff
41: 003f
Load EEPROM module to get access via I2C:
modprobe eeprom
Check your EEPROM access in the defined I2C device:
ls /sys/bus/i2c/devices/8-0050/
driver eeprom modalias name power subsystem uevent
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.