The following sample programs can be found in the SAM" />
參數(shù)資料
型號: 20-101-1055
廠商: Rabbit Semiconductor
文件頁數(shù): 89/164頁
文件大?。?/td> 0K
描述: MODULE RABBITCORE RCM3375
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關產(chǎn)品: RCM3375
其它名稱: 316-1112
24
RabbitCore RCM3365/RCM3375
3.2.3 Serial Communication
The following sample programs can be found in the SAMPLES\RCM3360\SERIAL folder.
FLOWCONTROL.C
—This program demonstrates hardware flow control by configuring
Serial Port F for CTS/RTS with serial data coming from TxE (Serial Port E) at 115,200
bps. One character at a time is received and is displayed in the STDIO window.
To set up the Prototyping Board, you will need to tie
TxE and RxE together on the RS-232 header at J14,
and you will also tie TxF and RxF together as shown in
the diagram.
A repeating triangular pattern should print out in the
STDIO
window. The program periodically switches RTS (TxF) flow control on or off to
demonstrate the effect of hardware flow control.
PARITY.C
—This program demonstrates the use of parity modes by repeatedly sending
byte values 0–127 from Serial Port E to Serial Port F. The program will switch between
generating parity or not on Serial Port E. Serial Port F 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
TxE and RxF together on the RS-232 header at J14 as
shown in the diagram.
The Dynamic C STDIO window will display the error
sequence.
SIMPLE3WIRE.C
—This program demonstrates basic RS-232 serial communication.
Lower case characters are sent by TxE, and are received by RxF. The characters are
converted to upper case and are sent out by TxF, are received by RxE, and are displayed
in the Dynamic C STDIO window.
To set up the Prototyping Board, you will need to tie
TxE and RxF together on the RS-232 header at J14, and
you will also tie RxE and TxF together as shown in the
diagram.
SIMPLE5WIRE.C
—This program demonstrates 5-wire RS-232 serial communication
by providing flow control (RTS/CTS) on Serial Port F and data flow on Serial Port E.
To set up the Prototyping Board, you will need to tie
TxE and RxE together on the RS-232 header at J14,
and you will also tie TxF and RxF together as shown in
the diagram.
Once you have compiled and run this program, you can
test flow control by disconnecting TxF from RxF while the program is running. Char-
acters will no longer appear in the STDIO window, and will display again once TxF is
connected back to RxF. (Do not disconnect the data path between TxE and RxE.)
J14
TxE RxE GND TxF RxF 485+ GND 485
J14
TxE RxE GND TxF RxF 485+ GND 485
J14
TxE RxE GND TxF RxF 485+ GND 485
J14
TxE RxE GND TxF RxF 485+ GND 485
相關PDF資料
PDF描述
20-101-0434 MODULE RABBITCORE RCM2100
046232103103800 CONN FFC/FPC 3POS 1MM R/A SMD
355-030-521-204 CARDEDGE 30POS DL .156 LOPRO BLK
355-030-521-202 CARDEDGE 30POS DL .156 LOPRO BLK
355-030-521-201 CARDEDGE 30POS DL .156 LOPRO BLK
相關代理商/技術參數(shù)
參數(shù)描述
20-101-1066 功能描述:模塊化系統(tǒng) - SOM RCM3720 PROTO RS232 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-1067 功能描述:模塊化系統(tǒng) - SOM RCM3305 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-1068 功能描述:模塊化系統(tǒng) - SOM RCM3315 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-1087 制造商:Digi International 功能描述:RCM3365 RABBITSYS - Bulk 制造商:Digi International Inc 功能描述:BOARD PROTO RCM3365 RS232 制造商:Rabbit Semiconductor 功能描述:RCM3365 Rabbit Sys
20-101-1093 功能描述:模塊化系統(tǒng) - SOM RCM4110 RABBIT 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