ENGLISH 简体中文 日本語 한국어  


APPLICATION NOTE  118

Replacing the DS1202 with the DS1302

Abstract: This application note describes how to interface a DS1302 in an application that previously used the obsolete DS1202.

Introduction

This application note provides the information necessary to determine whether or not the DS1302 is a "drop in" replacement for the DS1202 in existing applications.

Replacement Issues

The DS1302 may provide a replacement for the DS1202 without requiring hardware or software modification of the existing DS1202 application with a couple of exceptions to note.

Software 3-Wire Read Cycle

Data on the I/O pin must be read after the falling edge of SCLK and before the rising edge of SCLK.

    DS1202 3-Wire Read Cycle Implementation
      Data is output on the falling edge of SCLK and remains valid until the next falling edge of SCLK.
    DS1302 3-Wire Read Cycle Implementation
      Data is output on the falling edge of SCLK and is high impedance on the rising edge of SCLK.
Potential Software Concern

If the software in the current DS1202 application reads the I/O line after the falling edge of SCLK, both the DS1202 and DS1302 will provide expected results.

If the software reads the I/O line after the rising edge of SCLK the DS1202 will return expected data but the DS1302 will provide inconsistent data.

Software Conclusion

Ensure the data on the I/O pin is read after the falling edge of SCLK and before the rising edge of SCLK.

Hardware Pin 1

This pin must be unconnected in current DS1202 applications.

    DS1202 Pin 1
      No connection.
    DS1302 Pin 1
      Vcc2 input. The primary supply in a dual power supply configuration. Internal pull-down resistor provided for proper operation if the pin is left unconnected.
Potential Hardware Concern

If pin 1 in the current DS1202 application is not connected, both the DS1202 and DS1302 will provide expected results.

If pin 1 in the current DS1202 application is connected for some reason and the connection provides a voltage level greater than the voltage present on Vcc1 (pin 8), the DS1302 will be powered by this connection therefore drawing unexpected current from the application.

Hardware Conclusion

Ensure that pin 1 is not connected in the current DS1202 application.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 118: Feb 07, 2002
DS1302 트리클 충전 계시 칩 전체 데이터 시트
(PDF, 672kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (18kB)
 AN118, AN 118, APP118, Appnote118, Appnote 118



         



   Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor    법적 고지    개인정보보호 정책