COP8SA-DM National Semiconductor, COP8SA-DM Datasheet - Page 205
COP8SA-DM
Manufacturer Part Number
COP8SA-DM
Description
MODULE DEBUGGING FOR COP8SA
Manufacturer
National Semiconductor
Datasheet
1.DM-COP820D.pdf
(254 pages)
Specifications of COP8SA-DM
Module/board Type
Debugger Module
For Use With/related Products
Cop 8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*COP8SA-DM
- Current page: 205 of 254
- Download datasheet (2Mb)
The Timer Input Capture Mode can be used to measure the time between events. The
simple block diagram in Figure 4-7 shows how the COP8SAx7 can be used to measure
motor speed based on the time required for one revolution of the wheel. A magnetic
sensor is used to produce a pulse for each revolution of the wheel.
In the capture mode of operation, the timer counts down at the instruction cycle rate. In
this application, the timer T1 is set up to generate an interrupt on a T1A positive edge
transition. The timer is initialized to 0FFFF Hex and begins counting down. An edge
transition on the T1A input pin of the timer causes the current timer value to be copied
into the R1A register. In addition, it sets the timer interrupt pending flag, which causes
a program branch to memory location 0FF Hex. The VIS instruction vectors the program
to interrupt service routine for the timer. The interrupt service routine resets the
T1PNDA pending flag. It then reads the contents of R1A and stores it in RAM for later
processing. An RETI instruction is used to return to normal program execution and re-
enable subsequent interrupts (by setting the GIE bit).
On the next rising edge transition on T1A, the program returns to the interrupt service
routine. The value in R1A is read again, and compared with the previously read value.
The difference between the two captured values, multiplied by the instruction cycle time,
gives the time for one revolution. This is easily converted to a frequency. The frequency
may be displayed on a display unit using the MICROWIRE/PLUS interface and a display
driver.
NOTE:
The T1B input may be used simultaneously to measure the time between
different events.
COP8SAx7 APPLICATION IDEAS
4-13
Related parts for COP8SA-DM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROGRAMING UNIT FOR COP8SA PARTS
Manufacturer:
National Semiconductor
Part Number:
Description:
ADAPTER SOIC 16,20,28,44 PLCC
Manufacturer:
National Semiconductor
Part Number:
Description:
8-Bit CMOS ROM Based and One-Time Programmable OTP Microcontroller with 1k to 4k Memory/ Power On Reset/ and Very Small Packaging
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [8-Bit D/A Converter]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [Media Coprocessor]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
AC97 Rev 2 Codec with Sample Rate Conversion and National 3D Sound
Manufacturer:
National Semiconductor
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
General Purpose, Low Voltage, Low Power, Rail-to-Rail Output Operational Amplifiers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
8-bit 20 MSPS flash A/D converter.
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Low Noise Quad Operational Amplifier
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad Differential Line Receivers
Manufacturer:
National Semiconductor
Datasheet: