參數(shù)資料
型號: MPC555
廠商: Motorola, Inc.
元件分類: 32位微控制器
英文描述: Highly Integrated, Low-Power, 32-Bit Microcontroller
中文描述: 高度集成,低功耗,32位微控制器
文件頁數(shù): 25/32頁
文件大小: 219K
代理商: MPC555
Application Note
Using the MPC555 as a Frequency Counter
AN1778
MOTOROLA
25
In programming the MDASM with register 0x30605E, notice that bit 0 in
Table 7
is a read-only status pin that toggles according to the status of
the incoming waveform.
For input period measurement:
Bits 1, 3, 5, 6, 7, 8, and 11 are not used. Write zeroes to these bits.
Because the MDASM should not freeze in BDM, bit 2 will be left
as 0.
Bit 4 will be 0 to trigger the MDASM counter on the rising edge.
Bits 9 and 10 select which 16-bit counter bus the MDASM will use.
Write 00 to these two bits.
To perform frequency measurement, the input period (MOD 0010 in
Table 8
) must be measured. Then convert this time measurement into
frequency to compare with what is being sent to the MDASM.
Table 8. MDASM Mode Selects
MDASM Control
Register Bits
MOD
0000
0001
0010
0011
0100
Bits
of
Resolution
Counter
Bus Bits
Ignored
MDASM Mode of Operation
16
16
16
16
DIS – Disabled
IPWM – Input pulse width measurement
IPM – Input period measurement
IC – Input capture
OCB – Output compare, flag on B compare
OCAB – Output compare,
flag on A and B compare
Reserved
Reserved
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
OPWM – Output pulse width modulation
0101
16
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
16
15
14
13
12
11
9
7
0
0,1
0-2
0-3
0-4
0-6
0-8
相關(guān)PDF資料
PDF描述
MPC561 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC561MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC563 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MPC5553 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553_07 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553AVF112 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF112R2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF132 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller