dsPICDEM? 1.1 Plus Development Board User’s Guide
Following is a summary of the processing time for each of the main demo functions.
The data is based upon a 256 sample size.
? Acquisition of 256 discrete sine-wave data points sampled at 8 kHz
- Total acquisition time = 32 mS (256/8000)
? FIR filtering – 72,734 instruction cycles for block processing 256 samples in a
273-tap band-pass filter
- 9.87 mS @ 7.3728 MIPS
? IIR filtering – 28,649 instruction cycles for block processing 256 samples in a
9-section bi-quad bandpass filter
- 3.89 mS @ 7.3728 MIPS
? 256-point complex FFT – 18,176 instruction cycles
- 2.47 mS @ 7.3728 MIPS
Note:
Filtering and FFT operations may be interrupted by the DCI, Timer2 or
UART2 modules. The time metrics presented above account for the
interrupt handler processing time from these interrupts.
? The interrupt-driven UART2 transmitter is triggered every 1.14 seconds by Timer3
to send out approximately 145 characters.
- At 57600 baud, transmission of 145 characters requires approximately 25 mS
? SPI 2 transmits 160 characters (80 control and 80 data) @ F CY /8 Hz (where
F CY = 7.3728 MHz) to the PIC18F242 LCD controller for LCD screen updates.
3.5.1
Performance Metric Summary with FIR Filter
The overall CPU performance metric is calculated on how many complete processing
cycles can be performed over a 1 second interval. In one second, the dsPIC30F
spends the following amounts of time in each of the three major functions:
? FFT Computation:
- 22.55 x 256-point complex FFTs = 55.69 mS
? FIR Filter Computation:
- 22.55 x 273-tap FIR filters = 223 mS
Coefficients stored in program memory
? CPU Idle:
- Waiting for ADC data = 721 mS
The 22.55 multiplier used in the above computations is based upon how many times in
one second 256 samples can be acquired and then processed by the FIR and FFT
algorithms.
For example:
? 32 mS for acquisition of 256 samples
? 9.87 mS for FIR filtering
? 2.47 mS for 256-point FFT
Adding these three major timing metrics results in 44.34 mS. Therefore, this
44.34 mS cycle is repeated 22.55 times in a 1 second interval.
Total MIPS required = 2.1 MIPS out of available 7.3728 MIPS.
FIR filter specifications are listed in Table 3-5.
DS70099D-page 40
? 2006 Microchip Technology Inc.
相关PDF资料
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
DR-8094 RACK DOUBLE 84"X20.25"X36" BLK
DR-IAC5E INPUT MODULE AC 5VDC
DRIDC24A INPUT MODULE DC 34MA 24VDC
DRODC24 OUTPUT MODULE DC 13MA 24VDC
DRR-40A MODULE REDUNDANCY 40A DIN RAIL
相关代理商/技术参数
DM300027 功能描述:开发板和工具包 - PIC / DSPIC 16-bit Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM-3-000-K 制造商:PacTec 功能描述:Case, Plastic; ABS; Black; 11.46 in.; 3.38 in.; 10.4 in.; UL 94-HB Rated 制造商:PacTec 功能描述:ENCLOSURE, DESKTOP, PLASTIC, BLACK; Enclosure Type:Desktop; Enclosure Material:Plastic; Body Color:Black; External Height - Imperial:3.38"; External Height - Metric:86mm; External Width - Imperial:10.4"; External Width - Metric:264mm;RoHS Compliant: Yes
DM-300-C 制造商:Greenlee Textron Inc 功能描述:DMM 1000V RMS
DM-301 制造商:Labfacility Limited 功能描述:SENSOR PT100 THIN FILM 2X2.3MM CL B 制造商:LABFACILITY 功能描述:SENSOR, PT100, THIN FILM, 2X2.3MM, CL B 制造商:LABFACILITY 功能描述:TEMPERATURE RTD SENSOR, -70C to +500C, 100 OHM; Sensing Temperature Min:-70C; Sensing Temperature Max:+500C; Resistance:100ohm; Sensor Terminals:Through Hole; Temperature Sensing Range:-70C to +500C ;RoHS Compliant: Yes
DM30103J 制造商:ELMCO 功能描述:
DM30113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30-113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30133J 制造商:n/a 功能描述:DM30X313 S7C8B