SWITCHCHAR.C —This program transmits and then receives an ASCII string on Serial
參數(shù)資料
型號: 101-1087
廠商: Rabbit Semiconductor
文件頁數(shù): 90/164頁
文件大小: 0K
描述: MODULE RABBITCORE RCM 3365
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM3365
User’s Manual
25
SWITCHCHAR.C
—This program transmits and then receives an ASCII string on Serial
Ports E and F. It also displays the serial data received from both ports in the 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.
Once you have compiled and run this program, press
and release S2 on the Prototyping Board to send a message from Serial Port E to Serial
Port F; press and release S3 on the Prototyping Board to send a message from Serial
Port F to Serial Port E. The data sent between the serial ports will be displayed in the
STDIO
window.
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
RCM3365/RCM3375, or it may be any Rabbit single-board computer or RabbitCore mod-
ule that supports RS-485 serial communication as long as you use the master or slave sam-
ple program associated with that board.
Before running either of these sample programs on the RCM3365/RCM3375 assembly,
make sure pins 1–2 and pins 5–6 are jumpered together on header JP5 to use the RS-485
bias and termination 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 SETRTCKB.C sample program from
the Dynamic C SAMPLES\RTCLOCK folder, using the onscreen prompts. The RTC_
TEST.C
sample program in the Dynamic C SAMPLES\RTCLOCK folder provides addi-
tional examples of how to read and set the real-time clock.
J14
TxE RxE GND TxF RxF 485+ GND 485
相關(guān)PDF資料
PDF描述
1B31AN IC SIGNAL COND STRAIN GAGE 28DIP
1B32AN IC SIGNAL COND HYBRID 28-DIP
1B41BN IC RTD SIGNAL COND HYBRID 38-DIP
1B51BN IC THERMCPL SGNL COND ISOL 38DIP
20-101-0461 COMPUTER SGL-BOARD FULL BL2100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-1088 功能描述:開發(fā)板和工具包 - 其他處理器 RabbitSys Develop. Kit f/ Pro. Op. Sys. RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-1089 功能描述:KIT RBTSYS RCM3365 INTL RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:RabbitCore 3000 產(chǎn)品培訓(xùn)模塊:Blackfin® Processor Core Architecture Overview Blackfin® Device Drivers Blackfin® Optimizations for Performance and Power Consumption Blackfin® System Services 特色產(chǎn)品:Blackfin? BF50x Series Processors 標(biāo)準(zhǔn)包裝:1 系列:Blackfin® 類型:DSP 適用于相關(guān)產(chǎn)品:ADSP-BF548 所含物品:板,軟件,4x4 鍵盤,光學(xué)撥輪,QVGA 觸摸屏 LCD 和 40G 硬盤 配用:ADZS-BFBLUET-EZEXT-ND - EZ-EXTENDER DAUGHTERBOARDADZS-BFLLCD-EZEXT-ND - BOARD EXT LANDSCAP LCD INTERFACE 相關(guān)產(chǎn)品:ADSP-BF542BBCZ-4A-ND - IC DSP 16BIT 400MHZ 400CSBGAADSP-BF544MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542KBCZ-6A-ND - IC DSP 16BIT 600MHZ 400CSBGAADSP-BF547MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF548BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF547BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF544BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF542BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGA
10-1109.1329 制造商:EAO International 功能描述:Lamp, Incandescent, Slide Base, T-5.5, 6 Volts, 200 Milliamps 制造商:EAO International 功能描述:LAMP INCANDESCENT SLIDE 12V 制造商:EAO International 功能描述:LAMP, INCANDESCENT, SLIDE, 12V 制造商:EAO International 功能描述:LAMP, INCANDESCENT, SLIDE, 12V; Supply Voltage:12V; Lamp Base Type:Telephone Slide; Bulb Size:T-5 1/2; MSCP:0.32; Average Bulb Life:5000h; Current Rating:100mA; Forward Voltage:12V; Lead Style:Telephone Slide, T-5.5 ;RoHS Compliant: Yes 制造商:EAO International 功能描述:Slide Incandesent Lamp 12V
10110907-001LF 制造商:FCI 功能描述:
10110907-001LF REV C 制造商:FCI 功能描述: