SIMPLE3WIRE.C —This program demonstrates basic RS-232 serial communication. Lower c" />
參數(shù)資料
型號: 101-0672
廠商: Rabbit Semiconductor
文件頁數(shù): 53/136頁
文件大小: 0K
描述: MODULE RABBITCORE RCM3600
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM3600
其它名稱: 316-1032
Getting Started
17
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 J2, and you will also tie RxD and TxC together using the 0.1" jump-
ers 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 C and data flow on Serial Port D.
To set up the Prototyping Board, you will need to tie TxD and RxD
together on the RS-232 header at J2, and you will also tie TxC and
RxC together using the 0.1" 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 TxC from RxC while the program is running. Characters will no
longer appear in the STDIO window, and will display again once TxC is connected
back to RxC.
SWITCHCHAR.C
—This program transmits and then receives an ASCII string on Serial
Ports C and E. It also displays the serial data received from both ports in the STDIO
window.
Before running this sample program, check to make sure that Serial
Port E is set up as an RS-232 serial port—pins 1–3 and pins 2–4 on
header JP2 must be jumpered together using the 2 mm jumpers sup-
plied in the Development Kit. Then connect TxC to RxE and connect
RxC to TxE on the RS-232 header at J2 using the 0.1" jumpers sup-
plied in the Development Kit as shown in the diagram.
NOTE: The following two sample programs illustrating RS-485 serial communication
will only work with the RCM3600/RCM3700 Prototyping Board.
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
lower case letters to a slave RCM3600. The slave will send back converted upper case
letters back to the master RCM3600 and display them in the STDIO window. Use
SIMPLE485SLAVE.C
to program the slave RCM3600, and check to make sure that
Serial Port E is set up as an RS-485 serial port—pins 3–5 and pins 4–6 on header JP2
must be jumpered together using the 2 mm jumpers supplied in the Development Kit.
SIMPLE485SLAVE.C
—This program demonstrates a simple RS-485
transmission of lower case letters to a master RCM3600. The slave
will send back converted upper case letters back to the master
RCM3600 and display them in the STDIO window. Use
SIMPLE485MASTER.C
to program the master RCM3600, and check to make sure that
Serial Port E is set up as an RS-485 serial port—pins 3–5 and pins 4–6 on header JP2
must be jumpered together using the 2 mm jumpers supplied in the Development Kit.
J2
RXC TXC RXE
GND
TXD
RXD
TXE
GND
J2
RXC TXC RXE
GND
TXD
RXD
TXE
GND
J2
RXC TXC RXE
GND
TXD
RXD
TXE
GND
JP2
相關(guān)PDF資料
PDF描述
396-036-526-201 CARD EDGE 36POS DL .125X.250 BLK
396-036-522-804 CARD EDGE 36POS DL .125X.250 BLK
396-036-522-802 CARD EDGE 36POS DL .125X.250 BLK
396-036-522-204 CARD EDGE 36POS DL .125X.250 BLK
396-036-522-202 CARD EDGE 36POS DL .125X.250 BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0673 功能描述:模塊化系統(tǒng) - SOM RCM3610 RABBITCORE 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
101-0674 功能描述:模塊化系統(tǒng) - SOM RCM3700 RABBITCORE 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
101-0675 功能描述:模塊化系統(tǒng) - SOM RCM3710 RABBITCORE 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
101-0676 功能描述:BOARD PROTO PROF RCM36/37XX RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 評估演示板和套件 系列:RabbitCore 標(biāo)準(zhǔn)包裝:1 系列:- 主要目的:電信,線路接口單元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要屬性:T1/J1/E1 LIU 次要屬性:- 已供物品:板,電源,線纜,CD 其它名稱:82EBV2081
101-0677 功能描述:COMPUTER SGL-BRD BL2000 MEM/FLSH RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器或微處理器模塊 系列:SBC 產(chǎn)品目錄繪圖:DLP-245SY-G 標(biāo)準(zhǔn)包裝:1 系列:USB 模塊/板類型:開發(fā)板 適用于相關(guān)產(chǎn)品:USB 其它名稱:813-1006