数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HCS365 数据表(PDF) 11 Page - Microchip Technology

部件名 HCS365
功能描述  KEELOQ짰 Code Hopping Encoder Crypt keys are read protected
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

HCS365 数据表(HTML) 11 Page - Microchip Technology

Back Button HCS365 Datasheet HTML 7Page - Microchip Technology HCS365 Datasheet HTML 8Page - Microchip Technology HCS365 Datasheet HTML 9Page - Microchip Technology HCS365 Datasheet HTML 10Page - Microchip Technology HCS365 Datasheet HTML 11Page - Microchip Technology HCS365 Datasheet HTML 12Page - Microchip Technology HCS365 Datasheet HTML 13Page - Microchip Technology HCS365 Datasheet HTML 14Page - Microchip Technology HCS365 Datasheet HTML 15Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 40 page
background image
© 2011 Microchip Technology Inc.
DS41109E-page 11
HCS365
3.2
Code Word Format
A KEELOQ code word consists of 32 bits of hopping
code data, 32 bits of fixed code data, and between 3 to
5 bits of status information. Various code word formats
are shown in Figure 3-1 and Figure 3-2.
3.2.1
HOPPING CODE PORTION
The hopping code portion is calculated by encrypting
the counter, discrimination value, and function code
with the Encoder Key (KEY). The hopping code is cal-
culated when a button press is debounced and remains
unchanged until the next button press.
The counter can be either a 16- or 20-bit counter. The
Configuration Option Counter Select (CNTSEL) value
will determine this. The counter select option must be
the same for both Encoder 1 and Encoder 2. If the 16-bit
counter is selected, the discrimination value is 10 bits
long and there are 2 counter overflow bits (OVR0,
OVR1). Set both bits in production and OVR0 will be
cleared on the first counter overflow and OVR1 on the
second.
If the counter is 20 bits, the discrimination value is 8 bits
long and there are no overflow bits. The rest of the 32
bits are made up of the function code also known as the
button inputs.
The discrimination value can be programmed with any
value to serve as a post decryption check on the
decoder end. In a typical system, this will be pro-
grammed with the 8 or 10 Least Significant bits of the
serial number. This will be stored by the receiver sys-
tem after a transmitter has been learned. The discrimi-
nation bits are part of the information that is to form the
encrypted portion of the transmission.
3.2.2
FIXED CODE PORTION
The 32 bits of fixed code consist of 28 bits of the serial
number (SER) and a copy of the 4-bit function code.
This can be changed to contain the whole 32-bit serial
number by setting the Extended Serial Number (XSER)
configuration option to a 1. If more than one button is
pressed, the function codes are logically OR’ed
together. The function code is repeated in the
encrypted and unencrypted data of a transmission.
TABLE 3-4:
FUNCTION CODES
3.2.3
STATUS INFORMATION
The status bits will always contain the output of the Low
Voltage (VLOW) detector and Cyclic Redundancy
Check (CRC). If Queue (QUEN) is enabled, button
queue information will be included in the code words.
FIGURE 3-1:
CODE WORD DATA FORMAT (16-BIT COUNTER)
Button
Function Code
S0
xx1x
2
S1
x1xx
2
S2
1xxx
2
S3
xxx1
2
Fixed Code Portion (32 Bits)
CRC
2 Bits
VLOW
1-Bit
SERIAL NUMBER
(28 Bits)
C1
C0
S2
S1
S0
S3
BUT
4 Bits
Counter
Overflow
2 Bits
DISC
10 Bits
Synchronization
16 Bits
Counter
15
0
S1
S2
S0
S3
OVR1
OVR0
Transmission Direction LSB First
Hopping Code Portion (32 Bits)
With XSER=0, 16-bit Counter, QUEN=0
Status Information
(3 Bits)
BUT
4 Bits
Fixed Code Portion (32 Bits)
QUE
2 Bits
CRC
2 Bits
VLOW
1-Bit
SERIAL NUMBER
(32 Bits)
Q1 Q0 C1 C0
BUT
4 Bits
Counter
Overflow
2 Bits
DISC
10 Bits
Synchronization
16 Bits
Counter
15
0
S2
S1
S0 S3
OVR1
OVR0
Hopping Code Portion (32 Bits)
With XSER=1, 16-bit Counter, QUEN=1
Status Information
(5 Bits)



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 37 38 39 40


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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