COP8SA-DM National Semiconductor, COP8SA-DM Datasheet - Page 203

no-image

COP8SA-DM

Manufacturer Part Number
COP8SA-DM
Description
MODULE DEBUGGING FOR COP8SA
Manufacturer
National Semiconductor
Datasheet

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
Duty Cycle) causes the motor to run at maximum speed, while a low output (0% Duty
Cycle) turns the motor off.
PWM Motor Control Code
INITIALIZATION:
T1INIT:
CHANGE:
PWMCHG:
INTERRUPT:
INTR:
T2INTR:
Both the T1RA and T1RB Timer Interrupts should be
programmed to vector to T1TNTR with the VIS instruction.
UPTML0
UPTMHI
DNTMLO
DNTMHI
T1L
T1H
T1RALO
T1RAHI
T1RBLO
T1RBHI
T1CNTRL
PORTLD
PORTLC
LD
LD
LD
X
LD
X
JSR
TOTAL INITIALIZATION TIME
_____
_____
_____
_____
LD
. = 0FF (Interrupt Address)
VIS
JSR UPDATE
RETI
=
=
=
=
=
=
=
=
=
=
=
=
=
PORTLC,#0FF
PORTLD,#0
A, DNTMLO
A, T1L
A, DNTMHI
A, T1H
UPDATE
Set up times for new Duty
Cycle in UPTMLO, UPTMHI,
DNTMLO, DNTMHI
T@CNTRL, #0B5
020
021
022
023
0C0
0C1
0C2
0C3
0C4
0C5
0C6
0D0
0D1
1/7
2/5
1/5
4/17
BYTES/CYCLES
=
3/3
16/23
11/46
27/69
3/3
3/3
2/3
2/3
2/3
2/3
2/5
COP8SAx7 APPLICATION IDEAS
4-11

Related parts for COP8SA-DM