Two sample programs, SIMPLE485MASTER.C and <" />
參數(shù)資料
型號: 101-1226
廠商: Rabbit Semiconductor
文件頁數(shù): 87/168頁
文件大小: 0K
描述: RCM3900 DEV KIT UNIVERSAL
標準包裝: 1
系列: RabbitCore 3900
類型: MPU 模塊
適用于相關產品: RCM3900
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1137
RabbitCore RCM3900 User’s Manual
25
Two sample programs, SIMPLE485MASTER.C and SIMPLE485SLAVE.C, are available
to illustrate RS-485 master/slave communication. To run these sample programs, you will
need a second Rabbit-based system with RS-485—the second system may be another
RCM3900, or it may be any Rabbit single-board computer or RabbitCore module that sup-
ports RS-485 serial communication as long as you use the master or slave sample program
associated with that board.
Before running either of these sample programs on the RCM3900 assembly, make sure
pins 1–2 and pins 5–6 are jumpered together on header JP5 to use the RS-485 bias and ter-
mination resistors. The sample programs use Serial Port C as the RS-485 serial port, and
they use PD7 to enable/disable the RS-485 transmitter.
The RS-485 connections between the slave and master devices are as follows.
RS485+ to RS485+
RS485– to RS485–
GND to GND
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
lower case letters to a slave. The slave will send back converted upper case letters back
to the master and display them in the STDIO window. Use SIMPLE485SLAVE.C to
program the slave—reset the slave before you run SIMPLE485MASTER.C on the
master.
SIMPLE485SLAVE.C
—This program demonstrates a simple RS-485 transmission of
lower case letters to a master. The slave will send back converted upper case letters
back to the master and display them in the STDIO window. Compile and run this pro-
gram on the slave before you use SIMPLE485MASTER.C to program the master.
3.2.4 Real-Time Clock
If you plan to use the real-time clock functionality in your application, you will need to set
the real-time clock. Set the real-time clock using the Dynamic C SAMPLES\RTCLOCK\
SETRTCKB.C
sample program by following the onscreen prompts. The Dynamic C
SAMPLES\RTCLOCK\RTC_TEST.C
sample program provides additional examples of
how to read and set the real-time clock.
3.2.5 Other Sample Programs
Section 6.6 describes the TCP/IP sample programs, and Appendix C.7 provides sample
programs for the optional LCD/keypad module that can be installed on the Prototyping
Board.
相關PDF資料
PDF描述
AIUR-10-102K INDUCTOR POWER 1000UH 10% T/H
AIUR-06-470K INDUCTOR POWER 47UH 10% T/H
V300C28C75B2 CONVERTER MOD DC/DC 28V 75W
AT91SAM9X25-EK KIT EVAL FOR AT91SAM9G25
AT91SAM9G25-EK KIT EVAL FOR AT91SAM9G25
相關代理商/技術參數(shù)
參數(shù)描述
10-11-2263 功能描述:集管和線殼 KK 100 Housing Crimp Ramp 26 Ckt RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2264 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2273 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2274 功能描述:集管和線殼 KK 100 Housing Crimp Pol Ramp 27 Ckt RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2283 功能描述:集管和線殼 28P HI PRESSURE HSG RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector