LS7266R1-S LSI Computer Systems, Inc., LS7266R1-S Datasheet

no-image

LS7266R1-S

Manufacturer Part Number
LS7266R1-S
Description
24-bit dual-axis quadrature counter
Manufacturer
LSI Computer Systems, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LS7266R1-S
Manufacturer:
TI
Quantity:
301
Part Number:
LS7266R1-S
Manufacturer:
ST
0
Part Number:
LS7266R1-S
Manufacturer:
LSI
Quantity:
20 000
Part Number:
LS7266R1-SD
Manufacturer:
SCL
Quantity:
430
7266R1-121002-1
Byte Pointers: XBP and YBP
The Read and Write operations on an OL or a PR always accesses one byte at a time. The byte that is accessed is
addressed by one of the BPs. At the end of every data Read or Write cycle on an OL or a PR, the associated BP is
automatically incremented to address the next byte.
LS7266R1 Registers:
LS7266R1 has a set of registers associated with each X and Y axis. All X-axis registers have the name prefix X,
whereas all Y-axis registers have the prefix Y. Selection of a specific register for Read/Write is made from the decode
of the three most significant bits (D7-D5) of the data-bus. CS input enables the IC for Read/Write. C/D input selects
between control and data information for Read/Write. Following is a complete list of LS7266R1 registers.
FEATURES:
• 30 MHz count frequency in non-quadrature mode,
• Dual 24-bit counters to support X and Y axes in
• Dual 24-bit comparators.
• Digital filtering of the input quadrature clocks
• Programmable 8-bit separate filter clock prescalers
• Error flags for noise exceeding filter band width.
• Programmable Index Input and other programmable I/Os.
• Independent mode programmability for each axis.
• Programmable count modes:
• 8-bit 3-State data I/O bus.
• 5V operation (V
• TTL/CMOS compatible I/Os.
• LS7266R1 (DIP); LS7266R1-SD (Skinny DIP);
Preset Registers: XPR and YPR
Each of these PRs are 24-bit wide. 24-bit data can be written into a PR, one byte at a time, in a sequence of three data
write cycles.
Counters: XCNTR and YCNTR
Each of these CNTRs are 24-bit synchronous Up/Down counters. The count clocks for each CNTR is derived from its
associated A/B inputs. Each CNTR can be loaded with the content of its associated PR.
Output Latches: XOL and YOL
Each OL is 24-bits wide. In effect, the OLs are the output ports for the CNTRs. Data from each CNTR can be loaded
into its associated OL and then read back on the data-bus, one byte at a time, in a sequence of three data Read
cycles.
U L
A3800
®
LS7266R1-S (SOIC); LS7266R1-TS (TSSOP)
17MHz in x4 quadrature mode.
motion control applications.
Quadrature (x1, x2, x4) / Non-quadrature,
Normal / Modulo-N / Range Limit / Non-Recycle,
Binary / BCD.
for each axis.
LSI/CSI
LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747
24-BIT DUAL-AXIS QUADRATURE COUNTER
DD
-V
SS
).
7
7
HI BYTE
HI BYTE
(PR2)
(OL2)
0
0
7
7
MID BYTE
MID BYTE
(PR1)
PR
(OL1)
OL
0 7
0 7
LO BYTE
LO BYTE
(OL0)
(PR0)
YLCNTR/YLOL
V
V
0
0
SS
DD
(GND)
(+5V)
FCK
PIN ASSIGNMENT - TOP VIEW
C/D
WR
D0
D1
D2
D3
D4
D5
D6
D7
10
11
12
13
14
4
5
6
7
8
9
1
2
3
LS7266R1
(631) 271-0400 FAX (631) 271-0405
28-Pin Package
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RD
YRCNTR/YABG
YFLG1
YFLG2
YA
YB
XFLG2
XFLG1
XB
XA
XLCNTR/XLOL
XRCNTR/XABG
X/Y
CS
December 2002

Related parts for LS7266R1-S

LS7266R1-S Summary of contents

Page 1

... DD SS • TTL/CMOS compatible I/Os. • LS7266R1 (DIP); LS7266R1-SD (Skinny DIP); LS7266R1-S (SOIC); LS7266R1-TS (TSSOP) LS7266R1 Registers: LS7266R1 has a set of registers associated with each X and Y axis. All X-axis registers have the name prefix X, whereas all Y-axis registers have the prefix Y. Selection of a specific register for Read/Write is made from the decode of the three most significant bits (D7-D5) of the data-bus ...

Page 2

Flag Register: XFLAG and YFLAG The FLAG registers hold the status information of the CNTRs and can be read out on the data bus. The E bit of a FLAG register is set to 1 when the noise pulses at ...

Page 3

Counter Mode Registers: XCMR and YCMR The CNTR operational mode is programmed by writing into the CMRs. 7 DEFINITIONS OF COUNT MODES: Range Limit. In range limit count mode, an upper and a lower limit is set, mimicking limit switches ...

Page 4

Input/Output Control Register: XIOR and YIOR The functional modes of the programmable input and output pins are written into the IORs. IOR Select IOR addressed by X/Y input 1: Select both XIOR ...

Page 5

C ...

Page 6

Transient Characteristics Parameter Symbol Read Cycle (See Fig Pulse Width CS Set-up Time CS Hold Time C/D Set-up Time C/D Hold Time X/Y Set-up Time X/Y Hold Time Data Bus Access Time Data Bus Release Time ...

Page 7

... D0-D7 Data Bus input/output. The 8-bit three-state data bus is the I/O port through which all data transfers (Pins 4-11) take place between the LS7266R1 and the host processor. FCK (Pin 2) Filter clock input in quadrature mode. The FCK is divided down internally by two 8-bit programmable prescalers, one for each channel. ...

Page 8

C C INPUT DATA t 1 FCK t 3 FCK n (Note ...

Page 9

A B INDEXI (Note 5) X1 CLOCK (Note 6) X2 CLOCK (Note 6) X4 CLOCK (Note 6) IDX (Note 7) Note 5: Shown here is positive index with solid line depicting 1/4 cycle index and dotted line depicting 1/2 cycle ...

Page 10

DOWN DIRECTION (B) COUNT IN (A) GATE (ABG) FIGURE 6. COUNT (A), DIRECTION (B) AND GATE (ABG) INPUTS IN NON-QUADRATURE MODE 999998 999999 CNTR RCNTR LCNTR FIGURE CNTR ...

Page 11

WRITE INPUT REG SBYTE2 8 8 PR2 (8) PR1 CNTR 24 24 COMPARATOR BYTE 0 BYTE 1 BYTE 2 SBYTE2 8 OL2 (8) 8 READ/WRITE I/O BUF DATA-BUS FIGURE 10. SINGLE-AXIS BLOCK DIAGRAM SHOWING MAJOR DATA ...

Page 12

... AT/XT AEN IOR IOW FIGURE 11A. LS7266R1 INTERFACE EXAMPLES R/W LDS DTACK FIGURE 11B. LS7266R1 INTERFACE EXAMPLES 7266R1-111196- ...

Page 13

... C Sample Routines for Interfacing with LS7266R1 #include<stdlib.h> #include <stdio.h> #include <conio.h> #define XDATA(arg) (arg +0) #define XCMD (arg) (arg + 1) #define YDATA (arg) (arg +2) #define YCMD (arg) (arg +3) // RLD Reg. #define RLD (arg) (arg | 0x80) #define XRLD (arg) (arg | 0) #define YRLD (arg) XRLD(arg) ...

Page 14

PR Reg. for Modulo N Counter to 0x123456 outp(XDATA(Addr),0x56); //Least significant Byte first outp(XDATA(Addr),0x34); //then middle byte outp(XDATA(Addr),0x12); //then most significant byte //Enable Counters outp(XCMD(Addr),IOR(EnAB)); } /* Write_7266_PR Input: Addr has Address of 7266 counter. Data: has 24 bit ...

Related keywords