IOCONFIG_SWITCHECHO.C —This program demonstrates how to set up Serial Port E, which t" />
參數(shù)資料
型號: 101-1156
廠商: Rabbit Semiconductor
文件頁數(shù): 55/134頁
文件大?。?/td> 0K
描述: KIT DEVELOPMENT INT'L RCM4200
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 4000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM4200
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
User’s Manual
21
IOCONFIG_SWITCHECHO.C
—This program demonstrates how to set up Serial Port E,
which then transmits and then receives an ASCII string when switch S2 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 signals are not the Rabbit 4000
defaults. The Serial Port E I/O lines are configured by calling the library function
serEconfig()
that was generated by the Rabbit 4000 IOCONFIG.EXE utility pro-
gram. Serial Port E is configured to use Parallel Port E bits PD6 and PD7. These signals
are available on the Prototyping Board's Module Extension Header (header J2).
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 when switch S3 is pressed.
Also note that there is one library generated by IOCONFIG.EXE in the Dynamic C
SAMPLES\RCM4200\SERIAL
folder for the 29 MHz RCM4210.
To set up the Prototyping Board, you will need to tie TxD
and RxD 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描述
101-0533 KIT DEV RABBIT3000/RCM3100
101-1158 KIT DEVELOPMENT INT'L RCM4100
101-0530 KIT TOOL FOR LP3500 INTL
0210390926 CABLE JUMPER 1MM .102M 23POS
ECM18DTBS CONN EDGECARD 36POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-115-6110-EV 功能描述:編碼器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 產(chǎn)品:Optical Encoders 類型:Absolute 每轉(zhuǎn)脈沖: 制動器數(shù)量: 通道數(shù)量:2 安裝風(fēng)格:Through Hole 端接類型:Solder Pin 輸出: 軸類型: 帶開關(guān): 電源電壓:5 V 工作溫度范圍:- 40 C to + 115 C
101-115-6191-EV 功能描述:編碼器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 產(chǎn)品:Optical Encoders 類型:Absolute 每轉(zhuǎn)脈沖: 制動器數(shù)量: 通道數(shù)量:2 安裝風(fēng)格:Through Hole 端接類型:Solder Pin 輸出: 軸類型: 帶開關(guān): 電源電壓:5 V 工作溫度范圍:- 40 C to + 115 C
101-1157 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4100 Analog Dev Kit (US) RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-1158 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4100 Analog Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-1159 功能描述:射頻開發(fā)工具 WIRELESS CONTROL APP KIT RoHS:否 制造商:Taiyo Yuden 產(chǎn)品:Wireless Modules 類型:Wireless Audio 工具用于評估:WYSAAVDX7 頻率: 工作電源電壓:3.4 V to 5.5 V