数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MPXM2202GS 数据表(PDF) 133 Page - Motorola, Inc

部件名 MPXM2202GS
功能描述  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MOTOROLA [Motorola, Inc]
网页  http://www.freescale.com
标志 MOTOROLA - Motorola, Inc

MPXM2202GS 数据表(HTML) 133 Page - Motorola, Inc

Back Button MPXM2202GS Datasheet HTML 129Page - Motorola, Inc MPXM2202GS Datasheet HTML 130Page - Motorola, Inc MPXM2202GS Datasheet HTML 131Page - Motorola, Inc MPXM2202GS Datasheet HTML 132Page - Motorola, Inc MPXM2202GS Datasheet HTML 133Page - Motorola, Inc MPXM2202GS Datasheet HTML 134Page - Motorola, Inc MPXM2202GS Datasheet HTML 135Page - Motorola, Inc MPXM2202GS Datasheet HTML 136Page - Motorola, Inc MPXM2202GS Datasheet HTML 137Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 133 / 670 page
background image
AN1635
2–97
Motorola Sensor Device Data
www.motorola.com/semiconductors
APPENDIX — ASSEMBLY CODE LISTING FOR BASEBALL PITCH SPEEDOMETER
* Baseball Pitch Speedometer – Rev. 1.0
*
* Program waits for detection of impact via the input capture pin and then reads four A/D channels.
* The area under the Acceleration vs. Time curve is found by subtracting the steady state offsets
* from the digitized readings and summing the results.
The sum is then divided by an empirically
* determined constant of proportionality, and the speed of the ball is displayed.
*
* Written by Carlos Miranda
* Systems and Applications
* Sensor Products Division
* Motorola Semiconductor Products Sector
* May 6, 1997
*
*
********************************************************************************************************
*
Although the information contained herein, as well as any information provided relative
*
*
thereto, has been carefully reviewed and is believed accurate, Motorola assumes no
*
*
liability arising out of its application or use, neither does it convey any license under
*
*
its patent rights nor the rights of others.
*
********************************************************************************************************
* These equates assign memory addresses to variables.
EEPROM
EQU
$B600
CODEBGN
EQU
$B60D
REGOFF
EQU
$1000
;Offset to access registers beyond direct addressing range.
PORTC
EQU
$03
PORTB
EQU
$04
DDRC
EQU
$07
TCTL2
EQU
$21
TFLG1
EQU
$23
ADCTL
EQU
$30
ADR1
EQU
$31
ADR2
EQU
$32
ADR3
EQU
$33
ADR4
EQU
$34
OPTION
EQU
$39
STACK
EQU
$01FF
;Starting address for the Stack Pointer.
RAM
EQU
$0000
* These equates assign specific masks to variables to facilitate bit setting, clearing, etc.
ADPU
EQU
$80
;Power up the analog to digital converter circuitry.
CSEL
EQU
$40
;Select the internal system clock.
CCF
EQU
$80
;Conversion complete flag.
IC1F
EQU
$04
;Input Capture 1 flag.
IC1FLE
EQU
$20
;Configure Input Capture 1 to detect falling edges only.
IC1FCLR
EQU
$FB
;Clear the Input Capture 1 flag.
CHNLS47
EQU
$14
;Select channels 4 through 7 with MULT option ON.
SAMPLES
EQU
$0200
;Number of A/D samples taken.
OC1F
EQU
$80
;Output Compare 1 flag.
OC1FCLR
EQU
$7F
;Clear the Output Compare flag.
CURDLY
EQU
$0098
;Timer cycles to create delay for displaying ”Your Speed.”
RAMBYTS
EQU
$19
;Number of RAM variables to clear during initialization.
ALLONES
EQU
$FF
YOURSPD
EQU
$01
PRPFCTR
EQU
$00AD
;This constant of proportionality was empirically determined.
* Variables used for computation.
ORG
RAM
OFFSET1
RMB
1
;One for each accelerometer.
OFFSET2
RMB
1
OFFSET3
RMB
1
OFFSET4
RMB
1
SUM1
RMB
2
;Area under the acceleration vs. time curve.
SUM2
RMB
2
SUM3
RMB
2
SUM4
RMB
2
GRNDSUM
RMB
2
COUNT
RMB
2
CURBIN
RMB
1
TEMPBIN
RMB
1
BCD
RMB
2
CURDSPL
RMB
2
MAXBIN
RMB
1
MAXDSPL
RMB
2
* LED seven segment display patterns table.
ORG
EEPROM
JMP
START
SEVSEG
FCB
%11111010
FCB
%01100000
FCB
%11011100
FCB
%11110100
FCB
%01100110
FCB
%10110110
FCB
%10111110
FCB
%11100000
FCB
%11111110
FCB
%11100110
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com