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

X  

HCS512-IP 数据表(PDF) 9 Page - Microchip Technology

部件名 HCS512-IP
功能描述  KEELOQ CODE HOPPING DECODER
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

HCS512-IP 数据表(HTML) 9 Page - Microchip Technology

Back Button HCS512-IP Datasheet HTML 5Page - Microchip Technology HCS512-IP Datasheet HTML 6Page - Microchip Technology HCS512-IP Datasheet HTML 7Page - Microchip Technology HCS512-IP Datasheet HTML 8Page - Microchip Technology HCS512-IP Datasheet HTML 9Page - Microchip Technology HCS512-IP Datasheet HTML 10Page - Microchip Technology HCS512-IP Datasheet HTML 11Page - Microchip Technology HCS512-IP Datasheet HTML 12Page - Microchip Technology HCS512-IP Datasheet HTML 13Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 20 page
background image
HCS512
© 1997 Microchip Technology Inc.
DS40151C-page 9
6.2
Programming the Manufacturer’s
Code
The manufacturer’s code must be programmed into
EEPROM memory through the synchronous program-
ming interface using the DATA and CLK lines. Provision
must be made for connections to these pins if the
decoder is going to be programmed in circuit.
Programming mode is activated if the CLK is low for at
least 1ms and then goes high within 64 ms after power-
up, stays high for longer than 8ms but not longer than
128 ms. After entering programming mode the 64-bit
manufacturer’s code, 8-bit configuration byte, and 8-bit
checksum is sent to the device using the synchronous
interface. After receiving the 80-bit message the check-
sum is verified and the information is written to
EEPROM. If the programming operation was success-
ful, the HCS512 will respond with an acknowledge
pulse.
After programming the manufacturer’s code, the
HCS512
decoder
will
automatically
activate
an
Erase All function, removing all transmitters from the
system.
6.3
Download Format
The manufacturer’s code and configuration byte must
be downloaded least significant byte, least significant
bit first as shown in Table 6-3.
6.4
Checksum
The checksum is used by the HCS512 to check that the
data downloaded was correctly received before pro-
gramming the data. The checksum is calculated so that
the 10 bytes added together (discarding the overflow
bits) is zero. The checksum can be calculated by adding
the first 9 bytes of data together and subtracting the
result from zero. Throughout the calculation the over-
flow is discarded.
Given
a
manufacturer’s
code
of
01234567-
89ABCDEF16 and a configuration word of 116, the
checksum is calculated as shown in Figure 6-1. The
checksum is 3F16.
6.5
Test Transmitter
The HCS512 decoder will automatically add a test
transmitter each time an Erase All Function is done. A
test transmitter is defined as a transmitter with a serial
number of zero. After an Erase All, the test transmitter
will always work without learning and will not check the
synchronization counter of the transmitter. Learning of
any new transmitters will erase the test transmitter.
TABLE 6-3:
DOWNLOAD DATA
FIGURE 6-1:
CHECKSUM CALCULATION
Note 1: A transmitter with a serial number of zero
cannot be learned. Learn will fail after the
first transmission.
2: Always learn at least one transmitter after
an Erase All sequence. This ensures that
the test transmitter is erased.
Byte 9
Byte 8
Byte 7
Byte 6
Byte 5
Byte 4
Byte 3
Byte 2
Byte 1
Byte 0
Check-
sum
Config
Man
Key_7
Man
Key_6
Man
Key_5
Man
Key_4
Man
Key_3
Man
Key_2
Man
Key_1
Man
Key_0
Byte 0, right-most bit downloaded first.
0116 + 2316 = 246
2416 + 4516 = 6916
6916 + 6716 = D016
D016 + 8916 = 15916
5916 + AB16 = 10416 (Carry is discarded)
0416 + CD16 = D116 (Carry is discarded)
D116 + EF16 = 1C016
C016 + 116 = C116 (Carry is discarded)
(FF16 - C116) + 116 = 3F16



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


数据表 下载

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