The following sample programs are found in the SAMPLES\RCM4200\SER" />
參數(shù)資料
型號: 101-1155
廠商: Rabbit Semiconductor
文件頁數(shù): 53/134頁
文件大?。?/td> 0K
描述: KIT DEVELOPMENT USA RCM4200
標準包裝: 1
系列: RabbitCore 4000
類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4200
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1126
User’s Manual
19
3.2.2 Serial Communication
The following sample programs are found in the SAMPLES\RCM4200\SERIAL folder.
FLOWCONTROL.C
—This program demonstrates how to configure Serial Port D for
CTS/RTS flow control with serial data coming from Serial Port C (TxC) at 115,200 bps.
The serial data received are displayed in the STDIO window.
To set up the Prototyping Board, you will need to tie TxD and RxD
together on the RS-232 header at J4, and you will also tie TxC and
RxC together using the jumpers supplied in the Development Kit as
shown in the diagram.
A repeating triangular pattern should print out in the STDIO window.
The program will periodically switch flow control on or off to demonstrate the effect of
flow control.
If you have two Prototyping Boards with modules, run this sample program on the
sending board, then disconnect the programming cable and reset the sending board so
that the module is operating in the Run mode. Connect TxC, TxD, and GND on the
sending board to RxC, RxD, and GND on the other board, then, with the programming
cable attached to the other module, run the sample program.
PARITY.C
—This program demonstrates the use of parity modes by
repeatedly sending byte values 0–127 from Serial Port C to Serial Port D.
The program will switch between generating parity or not on Serial
Port C. Serial Port D will always be checking parity, so parity errors
should occur during every other sequence.
To set up the Prototyping Board, you will need to tie TxC and RxD together on the
RS-232 header at J4 using one of the jumpers supplied in the Development Kit as
shown in the diagram.
The Dynamic C STDIO window will display the error sequence.
SERDMA.C
This program demonstrates using DMA to transfer data from a circular
buffer to the serial port and vice versa. The Dynamic C STDIO window is used to view or
clear the buffer.
Before you compile and run the sample program, you
will need to connect the RS-232 header at J4 to your PC
as shown in the diagram using the serial to DB9 cable
supplied in the Development Kit.
Once you have compiled and run the sample program,
start Tera Term or another terminal emulation program
to connect to the selected PC serial port at a baud rate of
115,200 bps. You can observe the output in the Dynamic C
STDIO window as you type in Tera Term, and you can
also use the Dynamic C STDIO window to clear the
buffer.
The Tera Term utility can be downloaded from
J4
RxC TxC
GND
TxD RxD
J4
RxC
RxD GND
TxD
TxC
J4
RxC TxC
GND
TxD RxD
Colored
edge
相關(guān)PDF資料
PDF描述
M3DGK-6036J IDC CABLE - MKR60K/MC60G/MCS60K
MAX6428OSUR+T IC MONITOR BAT LP SOT23-3
M3DEK-6036J IDC CABLE - MKR60K/MC60G/MCE60K
AFK106M50D16T-F CAP ALUM 10UF 50V 20% SMD
VI-26R-EY-S CONVERTER MOD DC/DC 7.5V 50W
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-1156 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4200 Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-115-6110-EV 功能描述:編碼器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 產(chǎn)品:Optical Encoders 類型:Absolute 每轉(zhuǎn)脈沖: 制動器數(shù)量: 通道數(shù)量:2 安裝風格:Through Hole 端接類型:Solder Pin 輸出: 軸類型: 帶開關(guān): 電源電壓:5 V 工作溫度范圍:- 40 C to + 115 C
101-115-6191-EV 功能描述:編碼器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 產(chǎn)品:Optical Encoders 類型:Absolute 每轉(zhuǎn)脈沖: 制動器數(shù)量: 通道數(shù)量:2 安裝風格:Through Hole 端接類型:Solder Pin 輸出: 軸類型: 帶開關(guān): 電源電壓:5 V 工作溫度范圍:- 40 C to + 115 C
101-1157 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4100 Analog Dev Kit (US) RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-1158 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4100 Analog Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓: