SIMPLE3WIRE.C —This program demonstrates basic RS-232 serial communication. Lower cas" />
參數(shù)資料
型號: 20-101-1094
廠商: Rabbit Semiconductor
文件頁數(shù): 51/130頁
文件大?。?/td> 0K
描述: MCU RCM4000 RABBITCORE
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4000
產(chǎn)品目錄頁面: 619 (CN2011-ZH PDF)
其它名稱: 316-1139
User’s Manual
21
SIMPLE3WIRE.C
—This program demonstrates basic RS-232 serial
communication. Lower case characters are sent by TxC, and are
received by RxD. The characters are converted to upper case and are
sent out by TxD, are received by RxC, and are displayed in the
Dynamic C STDIO window.
To set up the Prototyping Board, you will need to tie TxD and RxC together on the
RS-232 header at J4, and you will also tie RxD and TxC together using the jumpers
supplied in the Development Kit as shown in the diagram.
SIMPLE5WIRE.C
—This program demonstrates 5-wire RS-232 serial communication
with flow control on Serial Port D and data flow on Serial Port C.
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.
Once you have compiled and run this program, you can test flow con-
trol by disconnecting TxD from RxD while the program is running. Characters will no
longer appear in the STDIO window, and will display again once TxD is connected
back to RxD.
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. Once you have compiled
and run this program, you can test flow control by disconnecting TxD from RxD as
before while the program is running.
SWITCHCHAR.C
—This program demonstrates transmitting and then receiving an
ASCII string on Serial Ports C and D. It also displays the serial data received from both
ports in the STDIO window.
To set up the Prototyping Board, you will need to tie TxD and RxC
together on the RS-232 header at J4, and you will also tie RxD and
TxC together using the jumpers supplied in the Development Kit as
shown in the diagram.
Once you have compiled and run this program, press and release
switches S2 and S3 on the Prototyping Board. The data sent between the serial ports
will be displayed in the STDIO window.
J4
RxC TxC
GND
TxD RxD
J4
RxC TxC
GND
TxD RxD
J4
RxC TxC
GND
TxD RxD
相關(guān)PDF資料
PDF描述
345-030-540-802 CONN CARDEDGE 30POS .100 X .200
305-030-500-202 CONN CARDEDGE 30POS .156 X .140
243-002-542-101 MINI CARD EDGE 0.2" - 2PIN 1ROW
20-101-1217 MODULE RABBITCORE RCM3229
20-101-0494 MODULE RABBITCORE RCM2250
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1095 功能描述:模塊化系統(tǒng) - SOM BL2600 XD HOT SWAP 10/100 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-1104 功能描述:處理器配件 USB xd reader RoHS:否 制造商:Olimex Ltd. 產(chǎn)品:Cable 用于:
20-101-1105 功能描述:模塊化系統(tǒng) - SOM RCM4100 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-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產(chǎn)品: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