SIMPLE3WIRE.C —This program demonstrates basic RS-232 serial communication. Lower c" />
參數(shù)資料
型號: 20-101-0672
廠商: Rabbit Semiconductor
文件頁數(shù): 53/136頁
文件大小: 0K
描述: MODULE RABBITCORE RCM3600
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關產(chǎn)品: RCM3600
產(chǎn)品目錄頁面: 620 (CN2011-ZH PDF)
其它名稱: 316-1102
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
相關PDF資料
PDF描述
13FMN-BMT-A-TF CONN FMN HSNG 13POS SNGL NOR SMD
345-030-523-202 CARDEDGE 30POS DUAL .100 GREEN
20-101-0673 MODULE RABBITCORE RCM3610
20-101-0383 MODULE RABBITCORE RCM2020
AT25128N-10SI-2.7 IC EEPROM 128KBIT 3MHZ 8SOIC
相關代理商/技術參數(shù)
參數(shù)描述
20-101-0673 功能描述:模塊化系統(tǒng) - SOM RCM3610 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-0674 功能描述:模塊化系統(tǒng) - SOM RCM3700 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-0675 功能描述:模塊化系統(tǒng) - SOM RCM3710 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-0676 功能描述:開發(fā)板和工具包 - 其他處理器 RCM36/37XX PROF PROTO BRD RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-0688 功能描述:模塊配件 RN1300 RabbitNet RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: