Datasheet
数据手册 > NXP > SC511663MZP40R2 数据手册PDF > SC511663MZP40R2 用户编程手册 第 1/12 页

SC511663MZP40R2 用户编程手册 - NXP

  • 制造商:
    NXP
  • 封装
    BGA-272
  • 描述:
    NXP 32Bit MCU, Power Architecture, 448KB Flash, -40/+125℃, Automotive Grade5degC, Die
更新时间: 2025-06-16 23:48:56 (UTC+8)

SC511663MZP40R2 用户编程手册

页码:/12页
下载 PDF
重新加载
下载
This TPU Programming Note is intended to provide simple C interface routines to the
programmable time accumulator TPU function (PTA).
1
The routines are targeted for the
MPC500 family of devices, but they should be easy to use with any device that has a TPU.
1 Functional Overview
This TPU input function measures the total high time, low time or period of an input signal
over a user defined number of periods, and presents the result to the host CPU in the form of
a 32-bit accumulation.
2 Detailed Description
The programmable time accumulator (PTA) function measures either period, high time or low
time of an input signal over a programmable number of periods. The number of periods over
which the measurement is made is selectable over the range 1 to 255. Four modes of
measurement are available:
Mode 1 measures total high time over the selected number of periods.
Mode 2 measures total low time over the selected number of periods.
Mode 3 measures total period over the selected number of periods, starting on a
rising edge.
Mode 4 measures total period over the selected number of periods, starting on a
falling edge.
Figure 1 shows the four operating modes. All four examples are based on an accumulation of
seven periods, which are numbered below each waveform. Dark shaded areas in the bar below
each waveform indicate which parts of the waveform are actually measured. Unshaded areas
are not included in the measurement. Lightly shaded areas are part of the next measurement
cycle.
The output of the PTA function is a 32-bit result, which is expressed in counts of the selected
TPU timebase. The user can select either TCR1 or TCR2 as the timebase for the measurement.
The number of TCR counts that have been accumulated multiplied by the period of one TCR
count will give the total measurement expressed in seconds.
1
The information in this Programming Note is based on TPUPN06. It is intended to
compliment the information found in that Programming Note.
Application Note
AN2365/D
Rev. 0, 10/2002
Using the
Programmable Time
Accumulator TPU
Function (PTA) with the
MPC500 Family
Stan Ostrum
Metrowerks
Freescale Semiconductor, I
For More Information On This Product,
Go to: www.freescale.com
nc...
Freescale Semiconductor
© Freescale Semiconductor, Inc., 2004. All rights reserved.

SC511663MZP40R2 数据手册 PDF

SC511663MZP40R2 数据手册
NXP
966 页, 17520 KB
SC511663MZP40R2 产品设计参考
NXP
554 页, 7967 KB
SC511663MZP40R2 用户编程手册
NXP
12 页, 419 KB
SC511663MZP40R2 其它数据手册
NXP
640 页, 5982 KB
SC511663MZP40R2 产品设计图
NXP
12 页, 427 KB
SC511663MZP40R2 应用笔记
NXP
37 页, 444 KB

SC511663MZP40 数据手册 PDF

SC511663MZP40
数据手册
NXP
MCU 32Bit MPC56xx e200 RISC 448KB Flash 3.3V/5V Automotive 272Pin BGA Tray
SC511663MZP40
其它数据手册
Freescale
MCU 32Bit MPC56xx e200 RISC 448KB Flash 3.3V/5V Automotive 272Pin BGA Tray
SC511663MZP40R2
数据手册
NXP
NXP 32Bit MCU, Power Architecture, 448KB Flash, -40/+125℃, Automotive Grade5degC, Die
SC511663MZP40R2
其它数据手册
Freescale
Freescale 32Bit MCU, Power Architecture, 448KB Flash, -40/+125℃, Automotive Grade5degC, Die
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送