The following sample programs are found in the SAMP" />
參數(shù)資料
型號: 20-101-1093
廠商: Rabbit Semiconductor
文件頁數(shù): 31/112頁
文件大?。?/td> 0K
描述: RCM4110 RABBITCORE
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4110
產(chǎn)品目錄頁面: 619 (CN2011-ZH PDF)
其它名稱: 316-1140
User’s Manual
21
3.2.2 A/D Converter Inputs (RCM4100 only)
The following sample programs are found in the SAMPLES\RCM4100\ADC folder.
AD_CAL_ALL.C
—Demonstrates how to recalibrate all the single-ended analog input
channels with one gain using two known voltages to generate the calibration constants for
each channel. The constants will be written into the user block data area.
Connect a positive voltage from 0–20 V DC (for example, the power supply positive out-
put) to analog input channels LN0IN–LN6IN on the Prototyping Board, and connect the
ground to GND. Use a voltmeter to measure the voltage, and follow the instructions in the
Dynamic C STDIO window once you compile and run this sample program. Remember
that analog input LN7 on the Prototyping Board is used with the thermistor and is not be
used with this sample program.
NOTE: The above sample program will overwrite the existing calibration constants.
AD_CAL_CHAN.C
—Demonstrates how to recalibrate one single-ended analog input
channel with one gain using two known voltages to generate the calibration constants for
that channel. The constants will be rewritten into the user block data area.
Connect a positive voltage from 0–20 V DC (for example, the power supply positive out-
put) to an analog input channel on the Prototyping Board, and connect the ground to GND.
Use a voltmeter to measure the voltage, and follow the instructions in the Dynamic C STDIO
window once you compile and run this sample program. Remember that analog input LN7
on the Prototyping Board is used with the thermistor and is not be used with this sample
program.
NOTE: The above sample program will overwrite the existing calibration constants for
the selected channel.
AD_RDVOLT_ALL.C
—Demonstrates how to read all single-ended A/D input channels
using previously defined calibration constants. The constants used to compute equivalent
voltages are read from the user block data area, so the sample program cannot be run using
the “Code and BIOS in RAM” compiler option.
Compile and run this sample program once you have connected a positive voltage from 0–
20 V DC (for example, the power supply positive output) to analog input channels LN0IN–
LN6IN on the Prototyping Board, and ground to GND. Follow the prompts in the Dynamic C
STDIO window. Raw data and the computed equivalent voltages will be displayed.
Remember that analog input LN7 on the Prototyping Board is used with the thermistor and
is not be used with this sample program.
AD_SAMPLE.C
—Demonstrates how to how to use a low level driver on single-ended
inputs. The program will continuously display the voltage (averaged over 10 samples) that
is present on an A/D converter channel (except LN7). The constants used to compute
equivalent voltages are read from the user block data area, so the sample program cannot be
run using the “Code and BIOS in RAM” compiler option.
Compile and run this sample program once you have connected a positive voltage from 0–
20 V DC to an analog input (except LN7) on the Prototyping Board, and ground to GND.
Follow the prompts in the Dynamic C STDIO window. Raw data and the computed equiv-
alent voltages will be displayed. If you attach a voltmeter between the analog input and
ground, you will be able to observe that the voltage in the Dynamic C STDIO window
tracks the voltage applied to the analog input as you vary it.
相關(guān)PDF資料
PDF描述
20-101-0453 MODULE RABBITCORE RCM2300
20-101-1235 CORE MODULE RCM5700
11FMN-BMTTR-A-TB CONN FMN HSNG 11POS STAG REV SMD
046232103103800+ CONN FFC/FPC 3POS 1MM R/A SMD
15FE-ST-VK-N CONN FFC 15POS RA 1.25MM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1094 功能描述:模塊化系統(tǒng) - SOM RCM4000 Coremodule 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-1095 功能描述:模塊化系統(tǒng) - SOM BL2600 XD HOT SWAP 10/100 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-1104 功能描述:處理器配件 USB xd reader RoHS:否 制造商:Olimex Ltd. 產(chǎn)品:Cable 用于:
20-101-1105 功能描述:模塊化系統(tǒng) - SOM RCM4100 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-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V