IOCONFIG_SWITCHECHO.C —This program demonstrates how to set up Serial Ports E an" />
參數(shù)資料
型號: 20-101-1105
廠商: Rabbit Semiconductor
文件頁數(shù): 30/112頁
文件大小: 0K
描述: MODULE RCM4100 RABBITCORE
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4100
其它名稱: 316-1121
20
RabbitCore RCM4100
IOCONFIG_SWITCHECHO.C
—This program demonstrates how to set up Serial Ports E
and F, which then transmit and then receive an ASCII string when switch S2 or S3 is
pressed. The echoed serial data are displayed in the Dynamic C STDIO window.
Note that the I/O lines that carry the Serial Port E and F signals are not the Rabbit 4000
defaults. The Serial Port E and F I/O lines are configured by calling the library function
serEFconfig()
that was generated by the Rabbit 4000 IOCONFIG.EXE utility program.
Serial Port E is configured to use Parallel Port E bits PE6 and PE7. These signals are
available on the Prototyping Board's Module Extension Header (header J2).
Serial Port F is configured to use Parallel Port C bits PC2 and PC3. These signals are
available on the Prototyping Board's RS-232 connector (header J4).
Serial Port D is left in its default configuration, using Parallel Port C bits PC0 and PC1.
These signals are available on the Prototyping Board's RS-232 connector (header J4).
Serial Port D transmits and then receives an ASCII string with Serial Port F when
switch S3 is pressed.
Also note that there are two libraries generated by IOCONFIG.EXE in the Dynamic C
SAMPLES\RCM4100\SERIAL
folder for the 29 MHz RCM4110 and the 58 MHz
RCM4100 and RCM4120.
To set up the Prototyping Board, you will need to tie TxD
and RxC together on the RS-232 header at J4 using the
jumpers supplied in the Development Kit; you will also
tie TxE (PD6) and RxE (PD7) together with a soldered
wire or with a wire jumper if you have soldered in the
IDC header supplied with the accessory parts in the
Development Kit.
Once you have compiled and run this program, press and
release switches S2 or S3 on the Prototyping Board. The data echoed between the serial
ports will be displayed in the STDIO window.
J4
TxC
GND
RxD
TxD
RxC
J2
+3.3 V
/RST_OUT
PE5
PE7
PD1/LN1
PD3/LN3
PD5/LN5
PD7/LN7
VREF
GND
/IORD
PE6
PD0/LN0
PD2/LN2
PD4/LN4
PD6/LN6
CVT
AGND
相關(guān)PDF資料
PDF描述
20-101-1028 MODULE RABBITCORE RCM3750
046232104015800+ CONN FFC/FPC 4POS 1MM VERT SMD
20-101-0454 MODULE RABBITCORE RCM2200
20-101-0405 MODULE RABBITCORE RCM2010
20-101-1093 RCM4110 RABBITCORE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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
20-101-1114 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4010 Kit RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-1131 功能描述:模塊化系統(tǒng) - SOM RCM4200 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-1132 功能描述:模塊化系統(tǒng) - SOM RCM4210 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