參數(shù)資料
型號: AN1759
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Add a Non-Volatile Clock to the MC68HC705J1A
中文描述: 添加非易失時鐘的MC68HC705J1A
文件頁數(shù): 11/24頁
文件大小: 316K
代理商: AN1759
Application Note
DS1307 Software Interface
AN1759
11
Data Write
Sequence
The first byte transmitted in a write to the DS1307 is its 7-bit identification
code followed by the R/W bit. For writes, this bit will be 0. The next byte
transmitted is the DS1307 address pointer. After this, bytes of data to be
written to the DS1307 RAM are transmitted. After each byte of data is
written, the address pointer is incremented. See
Figure 9
.
Figure 9. Data Write Sequence
Data Read
Sequence
The first byte transmitted in a read from the DS1307 is its 7-bit
identification code followed by the R/W bit. For reads, this bit will be 1.
ThentheDS1307willbegintransmittingdatabacktothemaster.Aslong
as the DS1307 receives clocks and acknowledgments, it keeps
transmitting data. The starting address is the previous address pointer
from the last write transaction. If needed, a write sequence with only an
address can be used to initialize the address pointer for reads.
NOTE:
Remember that for the last byte read, the master sends back a No ACK
to the DS1307.
Figure 10. Data Read Sequence
START
1101000
DS1307 ADDRESSR/W
0 ACK
XXXX,XXXX
ADDRESS POINTER
ACK
XXXX,XXXX
DATA (N)
ACK
XXXX,XXXX
DATA (N+)
ACK
STOP
START
1101000
DS1307 ADDRESS R/W
1 ACK
XXXX,XXXX
DATA (N)
ACK
XXXX,XXXX
DATA (N+)
ACK STOP
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN1768 ADMISSIBLE AVALANCHE POWER OF SCHOTTKY DIODES
AN1775 Expanding Digital Input with an A/D Converter
AN1816 USING THE HC912B32 TO IMPLEMENT THE DISTRIBUTED SYSTEMS INTERFACE (DSI) PROTOCOL
AN2104 Using Background Debug Mode for the M68HC12 Family
AN2154FAP TV/Video Signal Processor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN175C25A 制造商:NEW SURPLUS HARDWARE 功能描述:
AN176-20A 制造商:AN# - MILITARY 功能描述:
AN176-40 制造商:AN# - MILITARY 功能描述:
AN1768 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ADMISSIBLE AVALANCHE POWER OF SCHOTTKY DIODES
AN176H22A 制造商:NEW SURPLUS HARDWARE 功能描述: