| 数据搜索系统,热门电子元器件搜索 |
|
HCS200 数据表(PDF) 9 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
HCS200 数据表(HTML) 9 Page - Microchip Technology |
|
9 / 16 page ![]() © 1996 Microchip Technology Inc. Preliminary DS40138A-page 9 HCS200 6.0 PROGRAMMING THE HCS200 When using the HCS200 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 PWM 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 pat- tern. The device can then be programmed by clocking in 16 bits at a time, using S2 as the clock line and PWM as the data in line. Data clocked in on falling edge of S2. After each 16-bit word is loaded, a programming delay of TWC is required for the internal program cycle to complete. 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 PWM. Falling edge of S2 initi- ated reading. For security reasons, it is not possible to execute a verify function without first programming the EEPROM. A verify operation can only be done immediately following the program cycle. Note: To ensure that the device does not acci- dentally enter programming mode (result- ing in a bulk erase), PWM should never be pulled high by the circuit connected to it. Special care should be taken when driving PNP RF transistors. TABLE 6-1: PROGRAMMING/VERIFY TIMING REQUIREMENTS FIGURE 6-1: PROGRAMMING WAVEFORMS FIGURE 6-2: VERIFY WAVEFORMS VDD = 5.0V ± 10%, 25°C ± 5 °C Parameter Symbol Min. Max. Units Program mode setup time TPS 3.5 4.5 ms Hold time 1 TPH1 3.5 — ms Hold time 2 TPH250 — µs Bulk Write time TPBW — 3.5 ms Program delay time TPROG — 3.5 ms Program cycle time TWC —36 ms Clock low time TCLKL 25 — µs Clock high time TCLKH 25 — µs Data setup time TDS 0 — µs Data hold time TDH 18 — µs Data out valid time TDV 10 24 µs PWM Enter Program Mode (Data) (Clock) 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 0 (KEY_0) Data for Word 1 TDH Note 1: Unused button inputs to be held to ground during the entire programming sequence. 2: The VDD pin must be taken to ground after a program/verify cycle. PWM (Clock) (Data) End of Programming Cycle Begin Verify Cycle Here Bit 1 Bit 2 Bit 3 Bit 15 Bit 14 Bit 16 Bit 17 Bit190 Bit191 TWC Data in Word 0 TDV S2 Bit 0 Bit191 Bit190 Note: If a verify operation is to be done, then it must immediately follow the program cycle. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |