@@ -37,7 +37,7 @@ sidebar_position: 2
3737
3838 通过Type-C线将板连接到PC电脑,您可以使用DshanPI-CanMV盒子中的的Type-C线。连接指南如下所示:
3939
40- ![ image-20250329142707796 ] ( ${images}/image-20250329142707796 .png )
40+ ![ image-20250627093612460 ] ( ${images}/image-20250627093612460 .png )
4141
4242> 注意:需要将拨码开关调整为Boot0为ON,Boot1为OFF;并将电源开关拨向Type-C线方向。
4343
@@ -75,3 +75,68 @@ sidebar_position: 2
7575
7676官方例程讲解教程:https://developer.canaan-creative.com/k230_canmv/zh/main/zh/example/index.html
7777
78+
79+
80+ ## [ 拓展] 访问开发板的串口
81+
82+ 硬件要求:
83+
84+ - USB转UART串口模块
85+ - Type-C转双串口模块
86+
87+ 软件注意事项:
88+
89+ - MicroPython系统(默认):UART0
90+ - RT-smart系统:UART0
91+ - Linux系统:UART0
92+ - Rt-smart+Linux双系统:UART0(Linux小核),UART3(Rt-smart大核)
93+
94+
95+
96+ ### 使用Type-C访问串口
97+
98+ 将Type-C数据线接入Type-C双串口模块,杜邦线端接入USB转串口模块。连接成功后,USB转串口模块需要接入电脑,使用电脑访问串口模块,波特率为115200。
99+
100+ > 注意:
101+ >
102+ > - Type-C双串口模块的RX需要连接USB转串口模块的TX。
103+ > - Type-C双串口模块的TX需要连接USB转串口模块的RX。
104+ > - Type-C双串口模块的GND需要连接USB转串口模块的GND。
105+
106+ ![ image-20250627100241144] ( ${images}/image-20250627100241144.png )
107+
108+ > - MicroPython系统:只有UART0作为系统串口输出。
109+ > - RT-smart系统:只有UART0作为系统串口输出。
110+ > - Linux系统:只有UART0作为系统串口输出。
111+ > - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。
112+
113+ ### 使用拓展排针访问串口
114+
115+ 在拓展排针上,硬件也将UART0和UART3引到了拓展排针上,即您可以使用USB转UART串口使用杜邦线连接拓展排针上的串口进行访问,可以查看硬件原理图中拓展排针部分,可知UART0和UART3的位置:
116+
117+ ![ image-20250627102544058] ( ${images}/image-20250627102544058.png )
118+
119+ 下面展示如何通过拓展排针访问UART0:
120+
121+ ![ image-20250627104141126] ( ${images}/image-20250627104141126.png )
122+
123+ 实际连接图如下所示:
124+ ![ image-20250627104829720] ( ${images}/image-20250627104829720.png )
125+
126+ > - MicroPython系统:只有UART0作为系统串口输出。
127+ > - RT-smart系统:只有UART0作为系统串口输出。
128+ > - Linux系统:只有UART0作为系统串口输出。
129+ > - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。
130+
131+ 下面展示如何通过拓展排针访问UART3:
132+
133+ ![ image-20250627104348893] ( ${images}/image-20250627104348893.png )
134+
135+ 实际连接图如下所示:
136+
137+ ![ image-20250627144635760] ( ${images}/image-20250627144635760.png )
138+
139+ > - MicroPython系统:只有UART0作为系统串口输出。
140+ > - RT-smart系统:只有UART0作为系统串口输出。
141+ > - Linux系统:只有UART0作为系统串口输出。
142+ > - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。
0 commit comments