在研究C2000 LaunchPad时,发现它仿真器内嵌个串口,随即将LaunchPad接上电脑,马上就出现了个串口。
真棒,XDS100V2 !
The LAUNCHXL-F28027 has a USB to UART adapter built in. This makes it easy to print debug
information back to the host PC even in isolated environments. However, in some cases the user may
wish to connect the Piccolo SCI peripheral (C2000 UART peripheral) to a BoosterPack or other hardware
via the header pins. If the SCI pins are connected to both the header pins, the XDS100 UART channel
contention would exist and the pins would not be driven to the correct voltage levels. To solve this issue
we have included a switch to allow the user to disconnect the Piccolo serial pins from the XDS100 UART
connection. When S4 is in the up position, the Piccolo device's SCI is connected to the XDS100 and you
are able to receive and send serial information from or to the board. When S4 is in the down position, the
Piccolo device's SCI is disconnected from the XDS100 and BoosterPacks, which use serial
communication, and can communicate with the Piccolo device.
问:为什么我的串口不能工作?
答:有以下几种情况
1、将开关S4拨到上面了吗?
S4是用来将F28027设备接到仿真器串口上的,拨到下方是断开,上方是接通。
2、选择正确的串口号了吗?
可以右击“我的电脑”,然后选择“属性”--> “硬件” ----> “设备管理”----> COM & LPT
看有没有出现串口
3、使用正确的波特率了吗?
……
|