EAIDK310-上手

 

https://aijishu.com/a/1060000000006682

 

 

电源

 

Debug

波特率位 1500000

 

 

硬件:

EAIDK-310 集成 40 Pins IO 扩展接口,包含一组 UART,一组 SPI,两组 I2C,一组扬声 器输出,9 个 GPIO,2 个仅可用于输出的 GPIO。

扩展 IO 接口的管脚定义如表

Pin  Name Pin Name
       
1  VCC_IO  2 VCC_SYS
3 I2C0_SDA 4 VCC_SYS
5 I2C0_SCL 6 GND
7 GPIO2_B7 8  UART1_TX
9 GND 10 UART1_RX
11 GPIO0_D3 12 GPIO2_A2
13 GPIO2_C2 14 GND
15 GPIO2_C1 16 GPIO3_A5
17 VCC_IO 18 GPIO2_C3
19 SPI_TXD_M2 20 GND
21 SPI_RXD_M2 22 GPIO3_A7
23 SPI_CLK_M2 24 SPI_CS0N_M2
25 GND 26 SPI_CS1N_M0
27 I2C1_SDA_PMIC 28 I2C1_SCL_PMIC
29 NC 30 GND
31 NC 32 NC
33 NC 34 GND
35 NC 36 GPIO2_C4
37 RK805_GPIO2 38 RK805_GPIO1
39 SPEAK_N 40 SPEAK_P

 

显示

用户名和密码均为:openailab

安装插件

控制台输入命令过长换行优化

install xterm-resize.aarch64

截屏软件

sudo dnf install shutter

声卡

有2个声卡:phone 连接器输出;hmdi输出;

wget下载某个wav,

aplay 获取声卡设备,

aplay直接播放wav无声音,需要指定声卡播放

[openailab@localhost Downloads]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiprk3328 [rockchip-rk3328], device 0: ff010000.i2s-rk3328-hifi rk3328-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: rockchiphdmi [rockchip-hdmi], device 0: ff000000.i2s-i2s-hifi i2s-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[openailab@localhost Downloads]$ aplay -D hw:rockchiphdmi 12742.wav 
Playing WAVE '12742.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Warning: rate is not accurate (requested = 22050Hz, got = 32000Hz)
         please, try the plug plugin 
[openailab@localhost Downloads]$ wget http://downsc.chinaz.net/Files/DownLoad/sound1/202004/12742.wav
--2020-04-22 02:50:24--  http://downsc.chinaz.net/Files/DownLoad/sound1/202004/12742.wav
Resolving downsc.chinaz.net (downsc.chinaz.net)... 58.218.204.136, 61.160.210.74, 14.18.141.147
Connecting to downsc.chinaz.net (downsc.chinaz.net)|58.218.204.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1000044 (977K) [audio/wav]
Saving to: ‘12742.wav.1’

12742.wav.1         100%[===================>] 976.61K   262KB/s    in 4.1s    

2020-04-22 02:50:28 (241 KB/s) - ‘12742.wav.1’ saved [1000044/1000044]

[openailab@localhost Downloads]$ aplay -D hw:rockchiphdmi 12742.wav Playing WAVE '12742.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Warning: rate is not accurate (requested = 22050Hz, got = 32000Hz)
         please, try the plug plugin 
[openailab@localhost Downloads]$ 

 

参考

https://blog.csdn.net/u014470361/article/details/82690133

linux——alsa中多个声卡设备时打开某一指定声卡的PCM设备

 

没有键盘显示器,也能使用EAIDK-310?

https://aijishu.com/a/1060000000115213

 

(史上最强)EAIDK-310入门资源汇总

https://aijishu.com/a/1060000000113075#item-8-1

 

 

EAIDK-310开发套件被开发者玩坏了,有你想不到的AI项目

 

【EAIDK-310】三,EAIDK-310烧录Ubuntu系统

 

《EAIDK-310:AI 从这里开始》

 

使用ssh或vnc远程连接EAIDK-310开发板

你可能感兴趣的:(xPi)