SIMPLE3WIRE.C —This program demonstrates basic RS-232 serial communication. Lower c" />
參數(shù)資料
型號: 101-0678
廠商: Rabbit Semiconductor
文件頁數(shù): 53/136頁
文件大?。?/td> 0K
描述: KIT DEV RABBITCORE/RCM3600
標準包裝: 1
系列: RabbitCore 3000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3600
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1037
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描述
EVAL-AD5443-DBRDZ BOARD EVAL CARD CLINUX/STAMP
ADR291GRUZ-REEL7 IC VREF SERIES PREC 2.5V 8-TSSOP
REF195GRUZ IC VREF SERIES PREC 5V 8-TSSOP
V24C5E125B2 CONVERTER MOD DC/DC 5V 125W
AP2152AMPG-13 IC PWR SW USB 2CH 0.5A 8-MSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0679 功能描述:開發(fā)板和工具包 - 其他處理器 RCM3600 DEVKIT Univr RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101068 制造商:Weidmuller 功能描述:Conn Modular Terminal Blocks 1 POS Screw ST 25A
101-0680 功能描述:開發(fā)板和工具包 - 其他處理器 RCM3700 DEV KIT RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101068-000 功能描述:觸點探頭 SEMI-COND PROBE QUOTE REQUIRED RoHS:否 制造商:IDI 類型:Probes 尖端類型:Spherical Radius 長度:8.26 mm 電流額定值:10 A 彈力:2.3 oz 行程:1.52 mm 系列:101050
1010680000 功能描述:TERM BLOCK DIN 10X3 BSBR WM BU RoHS:是 類別:連接器,互連式 >> 接線板 - 專用 系列:W 標準包裝:100 系列:Z 類型:End Terminal 安裝類型:直接安裝 位置數(shù):2 級別數(shù)目:1 端子 - 寬度:5.1mm 端接類型:Spring Cage 電流 - IEC:24A 電壓 - IEC:800V 電流 - UL:20A 電壓 - UL:600V 線規(guī)或范圍 - AWG:12-26 AWG 線規(guī)或范圍 - mm²:0.5-4mm² 特點:- 體座顏色:橙 長度:1.319"(33.50mm) 高度(最大):0.945"(24.00mm) 材料 - 絕緣體:熱塑塑膠,Wemid 材料可燃性額定值:UL94 V-0 剝線長度:10mm 工作溫度:-50°C ~ 120°C 其它名稱:ZDUB2522ANDBOG