ENGLISH 简体中文 日本語 한국어  


애플리케이션 노트  1145

Interface a Multiplexed-Bus Real-Time Clock to a µP With Separate Address and Data Buses

Abstract: This application note provides general information about how to interface a real-time clock (RTC) that has a multiplexed-bus (multiplexed address and data) interface (example: DS12887) with a microcontroller that has separate address and data buses.

An IC multiplexed-bus real-time clock (RTC) is designed for use with processors that include a multiplexed data-address bus, but some designers prefer to use such "mux-bus" RTCs with processors whose data and address buses are separate (Figure 1).

Figure 1. The components shown interface a mux-bus RTC to a processor (DS2250) with separate data and address buses.
Figure 1. The components shown interface a mux-bus RTC to a processor (DS2250) with separate data and address buses.

The mux-bus RTC has four control signals. Chip Select (active-low CS) must be active when reading or writing data. Read Data strobe (active-low RD) is for data reads, Write Data strobe (active-low WR) is for data writes, and Address Strobe (ALE) latches the register address internally. The falling edge of ALE latches the register address (presented on pins AD0-AD7 of the Address/Data bus) whenever active-low RD and active-low WR are both high. You then transfer data to or from the selected clock register via AD0-AD7 by toggling active-low WR or active-low RD low while active-low CS is active.

In Figure 1, the interface between the RTC (DS1687) and an 8051-type processor (DS2250) ignores the expanded memory multiplexed address and data function provided by the processor's P0, P2 and ALE pins (not shown). Instead, external logic creates the ALE signal, and the RTC is memory-mapped into the expanded memory area.

The configuration above requires two address locations in the processor address space. When A0 is low, the clock-decode logic toggles ALE while active-low RD and active-low WR are held high. When A0 is high, the clock-decode logic holds ALE low while toggling active-low RD or active-low WR low. The address-decode logic holds active-low CS low for either state of A0, provided A1-15 matches the address to which the clock is mapped. In software, you access the clock by writing the register address to the lower address (A0 low), which is followed by a read or write to the upper address (A0 high). The associated software can be downloaded from the Maxim site. Figure 2 shows the complete schematic.

Figure 2.
For Larger Image
Figure 2.

We Want Your Feedback!


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


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



추가 정보  APP 1145: Jul 17, 2002
DS12885 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12887 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12887A 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12C887 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12C887A 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12CR887 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS12R885 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS12R887 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS14285 NV RAM 제어 기능이 있는 실시간 클록 전체 데이터 시트
(PDF, 520kB)
DS14287 NV RAM 제어 기능이 있는 실시간 클록 전체 데이터 시트
(PDF, 520kB)
DS1685 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 772kB)
무료 샘플
DS1687 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 772kB)
무료 샘플
DS1688 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 400kB)
DS1689 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 600kB)
DS1691 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 400kB)
DS1693 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 600kB)
DS17285 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17287 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17485 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17487 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17885 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17887 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS2250 소프트 마이크로컨트롤러 모듈 전체 데이터 시트
(PDF, 456kB)
 

다운로드, PDF 형식다운로드, PDF 형식 (42kB)
 AN1145, AN 1145, APP1145, Appnote1145, Appnote 1145


      개인정보보호 정책    법적 고지

      Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor