Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

HCS201 Datasheet(PDF) 13 Page - Microchip Technology

Part # HCS201
Description  KEELOQ짰 Code Hopping Encoder 34-bit fixed code (28-bit serial number
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

HCS201 Datasheet(HTML) 13 Page - Microchip Technology

Back Button HCS201_11 Datasheet HTML 9Page - Microchip Technology HCS201_11 Datasheet HTML 10Page - Microchip Technology HCS201_11 Datasheet HTML 11Page - Microchip Technology HCS201_11 Datasheet HTML 12Page - Microchip Technology HCS201_11 Datasheet HTML 13Page - Microchip Technology HCS201_11 Datasheet HTML 14Page - Microchip Technology HCS201_11 Datasheet HTML 15Page - Microchip Technology HCS201_11 Datasheet HTML 16Page - Microchip Technology HCS201_11 Datasheet HTML 17Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 36 page
background image
© 2011 Microchip Technology Inc.
DS41098D-page 13
HCS201
6.0
PROGRAMMING THE HCS201
When using the HCS201 in a system, the user will have
to program some parameters into the device including
the serial number and the secret key before it can be
used. The programming cycle allows the user to input
all 192 bits in a serial data stream, which are then
stored internally in EEPROM. Programming will be
initiated by forcing the DATA line high, after the S2 line
has been held high for the appropriate length of time
line (Table 6-1 and Figure 6-1). After the Program
mode is entered, a delay must be provided to the
device for the automatic bulk write cycle to complete.
This will write all locations in the EEPROM to an all
zeros pattern. The device can then be programmed by
clocking in 16 bits at a time, using S2 as the clock line
and DATA as the data in line. After each 16-bit word is
loaded, a programming delay is required for the internal
program cycle to complete. This delay can take up to
Twc. After every 16-bit word is written to the HCS201,
the HCS201 will signal that the write is complete by
sending out a train of ACK pulses, TACKH high, TACKL
low (if the oscillator was perfectly tuned) on DATA.
These will continue until S2 is dropped. The first pulse’s
width should NOT be used for calibration. At the end of
the programming cycle, the device can be verified
(Figure 6-2) by reading back the EEPROM. Reading is
done by clocking the S2 line and reading the data bits
on DATA. For security reasons, it is not possible to exe-
cute a verify function without first programming the
EEPROM. A Verify operation can only be done
once, immediately following the Program cycle.
FIGURE 6-1:
PROGRAMMING WAVEFORMS
FIGURE 6-2:
VERIFY WAVEFORMS
Note:
To ensure that the device does not acci-
dentally enter Programming mode, DATA
should never be pulled high by the circuit
connected to it. Special care should be
taken when driving PNP RF transistors.
DATA
Enter Program
Mode
(Data)
(Clock)
Note 1: S0 and S1 button inputs to be held to ground during the entire programming sequence.
Bit 0
Bit 1
Bit 2
Bit 3
Bit 14
Bit 15
Bit 16
Bit 17
TPH1
TPBW
TPS
Repeat for each word (12 times)
TPH2
TCLKH
TCLKL
TWC
TDS
S2
Data for Word 1
TDH
TCLKL
Initiate Data
Polling Here
Write Cycle
Complete Here
Calibration Pulses
Ack
Ack
Ack
DATA
(Clock)
(Data)
Note: If a Verify operation is to be done, then it must immediately follow the Program cycle.
End of Programming Cycle
Beginning of Verify Cycle
Bit 1 Bit 2
Bit 3
Bit 15
Bit 14
Bit 16 Bit 17
Bit190 Bit191
TWC
Data from Word 0
TDV
S2
Bit 0
Bit191
Bit190
Ack



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com