The following sample programs are found in the SAMPLES\RCM410" />
參數資料
型號: 20-101-1105
廠商: Rabbit Semiconductor
文件頁數: 28/112頁
文件大小: 0K
描述: MODULE RCM4100 RABBITCORE
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關產品: RCM4100
其它名稱: 316-1121
18
RabbitCore RCM4100
3.2.1 Serial Communication
The following sample programs are found in the SAMPLES\RCM4100\SERIAL folder.
FLOWCONTROL.C
—This program demonstrates how to configure Serial Port D for
CTS/RTS 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
no 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 the 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 PC serial port using 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 serial 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
相關PDF資料
PDF描述
20-101-1028 MODULE RABBITCORE RCM3750
046232104015800+ CONN FFC/FPC 4POS 1MM VERT SMD
20-101-0454 MODULE RABBITCORE RCM2200
20-101-0405 MODULE RABBITCORE RCM2010
20-101-1093 RCM4110 RABBITCORE
相關代理商/技術參數
參數描述
20-101-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
20-101-1112 功能描述:模塊化系統(tǒng) - SOM RCM4010 Core Module RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1114 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4010 Kit RoHS:否 制造商:Freescale Semiconductor 產品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-1131 功能描述:模塊化系統(tǒng) - SOM RCM4200 RabbitCore- Module RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1132 功能描述:模塊化系統(tǒng) - SOM RCM4210 RabbitCore- Module RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in