
Banana Pi BPI-SM9 16-ENC-A3 deep learning computing module is equipped with the highly integrated computing technology processor BM1688 8 Core ARM CA53 1.6GHz, 8GB LPDDR4,32GB eMMC onboard. It has 1 RJ45 Gigabit network port, 1 M.2 Key E, 1 M.2 Key M, 4 USB3.2 ports, 1 TYPE C (USB3.0) and multiple functional interfaces.
Supports HDMI 2.0 output;
Supports dual gigabit RJ45 Ethernet;
Supports dual-layer USB3.0 interfaces;
Supports dual-layer WIFI_BT function;
Supports TF card or M.2 SSD expansion;
Supports 2 MIPI camera inputs;
Supports expansion of GPIO;
Supports CAN function;
Supports USB-C interface upgrade (NVIDVI core board solution);
12V/3A power adapter(The voltage range is between 11 and 13 volts. Using a 12V power adapter is the most suitable option.)
Using your USB-Serial cable(3.3V TTL,Baud=115200) Connect to debug console on BPI-SM9
One TF card(If you want to use the FT card for system startup)
One Type-C cable (for upgrade programming)
BPI-SM9 TF jumper cap and BPI-SM9 PWM control jumper cap
HDMI_DDC Voltage Connector jumper Cap
JP7 jumper instructions: (For BM1688) 1. Default connection: PIN2 and PIN3, used for enabling control of the WIFI module in the BM1688/NVIDIA module; 2. When using the TF card function of BM1688, the jumper of PIN1 and PIN2 is required, used for detecting the insertion of the TF card in BM1688; |
BPI-SM9 TF jumper pins | ||||
---|---|---|---|---|
Numbering position |
PIN |
PIN Definition |
PIN Explanation |
Level |
JP7 |
1 |
SDMMC_DET |
TF card insertion detection |
1V8 |
2 |
GPIOC0-SDMMC_DET |
TF card insertion detection or universal GPIO |
1V8 |
|
3 |
W_DISABLE1_CTRL |
The WIFI enable control signal of the WiFi_BT module |
1V8 |
This jumper cap is used for PWM control of the FANs in different modules. By default, using the BM1688 module is sufficient. |
BPI-SM9 PWM control jumper pins | ||||
---|---|---|---|---|
Numbering position |
PIN |
PIN Definition |
PIN Explanation |
Level |
JP8 |
1 |
BM1688_FAN_PWM5 |
The PWM control pin of BM1688 |
1V8 |
2 |
FAN_PWM |
The PWM control input of FAN |
1V8 |
|
3 |
NVIDIA_FAN_PWM |
NVIDIA’s PWM control pin |
1V8 |
For the level selection of different modules, here it is assumed that 1.8V can be used. |
BPI-SM9 HDMI_DDC Voltage Connector jumper pins | ||||
---|---|---|---|---|
Numbering position |
PIN |
PIN Definition |
PIN Explanation |
Level |
JP8 |
1 |
1V8 |
Power supply 1.8V |
1V8 |
2 |
VDD_DDC |
The power supply options of DDC |
1V8 / 3V3 |
|
3 |
3V3 |
Power supply 3.3V |
3V3 |
admin@sophon:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 14.8G 0 disk
└─sda1 8:1 1 14.8G 0 part /media/storage-hot-sda1
mmcblk0 179:0 0 28.9G 0 disk
├─mmcblk0p1 179:1 0 128M 0 part /boot
├─mmcblk0p2 179:2 0 128M 0 part /recovery
├─mmcblk0p3 179:3 0 10M 0 part
├─mmcblk0p4 179:4 0 7G 0 part /media/root-ro
├─mmcblk0p5 179:5 0 7G 0 part /media/root-rw
└─mmcblk0p6 179:6 0 4G 0 part /data
mmcblk0boot0 179:8 0 4M 1 disk
mmcblk0boot1 179:16 0 4M 1 disk
Use script to send
admin@sophon:~/storage-hot-sda1$ cat uart_send.sh
#!/bin/bash
# 检查传入的参数数量是否正确
if [ $# -ne 2 ]; then
echo "用法: $0 <串口设备名称> <波特率>"
echo "示例: $0 /dev/ttyS1 9600"
exit 1
fi
# 获取传入的串口设备名称和波特率
serial_device=$1
baud_rate=$2
# 配置串口设备
sudo stty -F $serial_device $baud_rate raw
# 要发送的数据
data="hello, hdzk!\r\n"
# 无限循环发送数据
while true; do
echo -e "$data" | sudo tee $serial_device > /dev/null
if [ $? -ne 0 ]; then
echo "数据发送失败。"
break
fi
sleep 1
done
Use script to receive
admin@sophon:~/storage-hot-sda1$ cat uart_send.sh
#!/bin/bash
# 检查传入的参数数量是否正确
if [ $# -ne 2 ]; then
echo "用法: $0 <串口设备名称> <波特率>"
echo "示例: $0 /dev/ttyS1 9600"
exit 1
fi
# 获取传入的串口设备名称和波特率
serial_device=$1
baud_rate=$2
# 配置串口设备
sudo stty -F $serial_device $baud_rate raw
# 要发送的数据
data="hello, hdzk!\r\n"
# 无限循环发送数据
while true; do
echo -e "$data" | sudo tee $serial_device > /dev/null
if [ $? -ne 0 ]; then
echo "数据发送失败。"
break
fi
sleep 1
done
Received on the board
admin@sophon:~/storage-hot-sda1$ ./uart_receive.sh /dev/ttyS1 9600
123hello▒▒testhello▒▒testhello
testhello
testhello
testhello
test
The default level of the 40-pin GPIO is 3.3V (except for the 5V pin) |
BPI-SM9 40 PIN Header GPIO define of BPI-SM9 | |||
---|---|---|---|
BPI-SM9-CON |
PIN |
PIN |
BPI-SM9-CON |
5V |
1 |
2 |
3V3 |
5V |
3 |
4 |
I2C1_SDA |
GND |
5 |
6 |
I2C1_SCL |
UART1_TXD |
7 |
8 |
GPIO09 |
UART1_RXD |
9 |
10 |
GND |
I2S0_SCLK |
11 |
12 |
UART1_RTS |
GND |
13 |
14 |
SPI1_SCK |
SPI1_CS1 |
15 |
16 |
GPIO12 |
SPI1_CS0 |
17 |
18 |
3V3 |
GND |
19 |
20 |
SPI0_MOSI |
SPI1_MISO |
21 |
22 |
SPI0_MISO |
SPI0_CS0 |
23 |
24 |
SPI0_SCK |
SPI0_CS1 |
25 |
26 |
GND |
ID_I2C_SCL |
27 |
28 |
ID_I2C_SDA |
GND |
29 |
30 |
GPIO01 |
GPIO07 |
31 |
32 |
GPIO11 |
GND |
33 |
34 |
GPIO13 |
UART1_CTS |
35 |
36 |
I2S0_LRCK |
I2S0_SDIN |
37 |
38 |
SPI1_MOSI |
I2S0_SDOUT |
39 |
40 |
GND |