0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
DS1307DTR

DS1307DTR

  • 厂商:

    XBLW(芯伯乐)

  • 封装:

    SOP8_150MIL

  • 描述:

    带备用电池的 56 字节非易失性 RAM 自动掉电检测及电源切换电路,工作电压(Vcc)(v) 4.5~5.5V,静态电流Iq(mA)(Max) 500uA

  • 数据手册
  • 价格&库存
DS1307DTR 数据手册
XBLW DS1307 64 X 8 Serial Real Time Clock General Description The 1307 Serial Real Time Clock is a low power, full BCD clock/calendar plus 56 bytes of nonvolatile SRAM . Address and data are transferred serially via a 2-wire bi-directionalbus. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with less than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. The 1307 has a built-in power sense circuit which detects power failures and automatically switches to the battery supply. Features  1Real time clock counts seconds, minutes,hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100  56 byte nonvolatile RAM for data storage  2-wire serial interface Programmable squarewave output signal  Automatic power- fail detect and switch Circuitry  Consumes less than 1uA in battery backup mode with oscillator running  Optional industrial temperature range -40°C to +85°C  Recognized by Underwriters Laboratory DS1307 Compatible Order Information Product Model XBLW DS1307N XBLW DS1307DTR Package Type DIP-8 SOP-8 Marking DS1307N DS1307 Packing Packing Qty Tube Tape 1000/Box 2500/Reel Block Diagram And Pin Description XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 1 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock OPERATION The 1307 operates as a slave device on the serial bus. Accessis obtained by implementing a START condition and providing a device identification code followed by a register address. Subsequent registers can be accessed sequentially until a STOP condition is executed. When VCC falls below 1 . 15 x VBAT the device terminates an access in progress and resets the device address counter.Inputs to the device will not be recognized at this time to prevent erroneous data from being written to the device from an out of tolerance system . When VCC falls below VBAT the device switches into a low current battery backup mode. Upon power up, the device switches from battery to VCC when VCC is greater than VBAT +0.2V and recognizes inputs when VCC is greater than 1 . 15 x VBAT . The block diagram in Figure 1 shows the main elements of the Serial Real Time Clock. 1307 BLOCK DIAGRAM SIGNAL DESCRIPTIONS VCC, GND - DC power is provided to the device on these pins. VCC is the +5 volt input. When 5 volts is applied within normal limits, the device is fully accessible and data can be written and read.When a 3volt battery is connected to the device and VCC is below 1 . 15 x VBAT, reads and writes are inhibited . However, the Timekeeping function continues unaffected by the lower input voltage . As VCC falls below VBAT the RAM and timekeeper are switched over to the external power supply (nominal 3 . 0V DC) at VBAT . VBAT - Battery input for any standard 3-volt lithium cell or other energy source. Battery voltage must be held between 2.0 and 3.5 volts for proper operation. The nominal write protect trip point voltage at which access to the real time clock and user RAM is denied is set by the internal circuitry as 1 . 15 x VBAT nominal . A lithium battery with 100 mAhr or greater will back up the 1307 for more than 10 years in the absence ofpower at 25 degrees C. SCL (Serial Clock Input) - SCL is used to synchronize data movement on the serial interface. SDA (Serial Data Input/Output) - SDA is the input/output pin for the 2-wire serial interface. The SDApin is open drain which requires an external pullup resistor. SQW/ OUT ( Square Wave/ Output Driver) - When enabled, the SQWE bit set to 1 , the SQW/OUT pin outputs one of four square wave frequencies ( 1 Hz, 4 kHz, 8 kHz, 32 kHz) . The SQW/OUT pin is open drain which requires an external pullup resistor. SQW/OUT will operate with either Vcc or Vbat applied. XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 2 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock X1, X2 - Connections for a standard 32 .768 kHz quartz crystal . The internal oscillator circuitry is designed for operation with a crystal having a specified load capacitance (CL) of 12.5 pF. RTCAND RAM ADDRESS MAP The address map for the RTC and RAM registers of the 1307 is shown in Figure 2 . The real time clock registers are located in address locations 00h to 07h . The RAM registers are located in address locations 08h to 3Fh. During a multi-byte access, when the address pointer reaches 3Fh, the end of RAM space, it wraps around to location 00h, the beginning of the clock space. 1307 ADDRESS MAP Figure 2 CLOCK AND CALENDAR The time and calendar information is obtained by reading the appropriate register bytes. The real time clock registers are illustrated in Figure 3 . The time and calendar are set or initialized by writing the appropriate register bytes. The contents of the time and calendar registers are in the Binary- Coded Decimal ( BCD) format.Bit 7 of Register 0 is the Clock Halt ( CH) bit. When this bit is set to a 1 , the oscillator is disabled. When cleared to a 0 , the oscillator is enabled. Please note that the initial power on state of all registers is not defined. Therefore it is important to enable the oscillator ( CH bit= 0 ) during initial configuration. The 1307 can be run in either 12 - hour or 24 - hour mode. Bit 6 of the hours register is defined as the 12 - or 24 hour mode select bit. When high, the 12 -hour mode is selected. In the 12-hour mode, bit 5 is the AM/ PM bit with logic high being PM. In the 24 -hour mode, bit 5 is the second 10 hour bit (20- 23 hours). XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 3 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock On a 2-wire START, the current time is transferred to a second set of registers. The time information is read from these secondary registers, while the clock may continue to run. This eliminates the need to re- read the registers in case of an update of the main registers during a read. 1307 TIMEKEEPER REGISTERS Figure 3 CONTROL REGISTER The 1 3 0 7 Control Register is used to control the operation of the SQW/ OUT pin. BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 OUT X X SQWE X X RS1 RS0 OUT ( Output control) : This bit controls the output level of the SQW/ OUT pin when the square wave output is disabled.If SQWE= 0 , the logic level on the SQW/ OUT pin is 1 if OUT= 1 and is 0 ifOUT=0 . SQWE ( Square Wave Enable) : This bit, when set to a logic 1 , will enable the oscillator output. The frequency of the square wave output depends upon the value ofthe RS0 and RS1 bits . RS ( Rate Select) : These bits control the frequency of the square wave output when the square wave output has been enabled. Table 1 lists the square wave frequencies that can be selected with the RS bits. SQUAREWAVE OUTPUT FREQUENCY Table 1 RS1 RS0 SQW OUTPUT FREQUENCY 0 0 1 Hz 0 1 4.096 kHz 1 0 8. 192 kHz 1 1 32.768 kHz 2-WIRE SERIAL DATA BUS The 13 0 7 supports a bi- directional 2- wire bus and data transmission protocol. A device that sends data onto the bus is defined as a transmitter and a device receiving data as a receiver. The device that controls the message is called a master. The devices that are controlled by the master are referred to as slaves. The bus must XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 4 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock be controlled by a master device which generates the serial clock ( SCL) , controls the bus access, and generates the START and STOP conditions. The 1307 operates as a slave on the 2 - wire bus. A typical bus configuration using this 2 - wire protocol is show in Figure 4 . TYPICAL 2- WIRE BUS CONFIGURATION Figure 4 Figures 5 , 6 , and 7 detail how data is transferred on the 2 -wire bus. Data transfer may be initiated only when the bus is not busy. During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is high will be interpreted as control signals. Accordingly, the following bus conditions have been defined : Bus not busy: Both data and clock lines remain HIGH. Start data transfer: A change in the state of the data line, from HIGH to LOW, while the clock is HIGH, defines a START condition. Stop data transfer: A change in the state of the data line, from LOW to HIGH, while the clock line is HIGH, defines the STOP condition. Data valid: The state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. The data on the line must be changed during the LOW period of the clock signal . There is one clock pulse per bit of data. Each data transfer is initiated with a START condition and terminated with a STOP condition. The number of data bytes transferred between START and STOP conditions is not limited, and is determined by the master device . The information is transferred byte- wise and each receiver acknowledges with a ninth bit. Within the 2 - wire bus specifications a regular mode ( 100 kHz clock rate) and a fast mode (400 kHz clock rate) are defined. The 1307 operates in the regular mode ( 100 kHz) only. Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte . The master device must generate an extra clock pul se which is associated with this acknowledge bit. XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 5 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse . Of course, setup and hold times must be taken into account. A master must signal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave . In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condition. DATA TRANSFER ON 2- WIRE SERIAL BUS Figure 5 Depending upon the state of the R/ W bit, two types of data transfer are possible: 1 . Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the master is the slave address. Next follows a number of data bytes. The slave returns an acknowledge bit after each received byte . Data is transferred with the most significant bit ( MSB) first. 2 .Data transfer from a slave transmitter to a master receiver. The first byte (the slave address) is transmitted by the master. The slave then returns an acknowledge bit. This is followed by the slave transmitting a number of data bytes. The master returns an acknowledge bit after all received bytes other than the last byte. At the end of the last received byte, a’ not acknowledge ’ is returned. The master device generates all of the serial clock pulses and the START and STOP conditions. A transfer is ended with a STOP condition or with a repeated START condition. Since a repeated START condition is also the beginning of the next serial transfer, the bus will not be released. Data is transferred with the most significant bit ( MSB) first. The 1 3 0 7 may operate in the following two modes: 1 . Slave receiver mode ( 1307 write mode) : Serial data and clock are received through SDA and SCL. After each byte is received an acknowledge bit is transmitted. are recognized as the beginning and end of a serial transfer. START and STOP conditions Address recognition is performed by hardware after reception of the slave address and * direction bit ( See Figure 6 ) . The address byte is the first byte received after the start condition is generated by the master. The address byte contains XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 6 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock the 7 bit 1307 address,which is 1101000 , followed by the *direction bit (R/W ) which, for a write, is a 0 . After receiving and decoding the address byte the device outputs an acknowledge on the SDA line . After the 1 3 0 7 acknowledges the slave address + write bit, the master transmits a register address to the 1 3 0 7 This will set the register pointer on the 1 3 0 7 . The master will then begin transmitting with the 1307 each byte of data acknowledging each byte received. The master will generate a stop condition to terminate the data write. DATA WRITE - SLAVE RECEIVER MODE Figure 6 Slave transmitter mode( 1307 read mode) : The first byte is received and handled as in the slave 2 . receiver mode. However, in this mode, the *direction bit will indicate that the transfer direction is reversed. Serial data is transmitted on SDA by the 1 3 0 7 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer ( See Figure 7 ) . The address byte is the first byte received after the start condition is generated by the master. The address byte contains the 7- bit 1307 address, which is 1 101000, followed by the * direction bit ( R/ W ) which, for a read, is a 1 . After receiving and decoding the address byte the device inputs an acknowledge on the SDA line. The 1 3 0 7 then begins to transmit data starting with the register address pointed to by the register pointer. If the register pointer is not written to before the initiation of a read mode the first address that is read is the last one stored in the register pointer.The 1307 must receive a Not Acknowledge to end a read. DATA READ - SLAVE TRANSMITTER MODE Figure 7 ABSOLUTE MAXIMUM RATINGS XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 7 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock * This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability . RECOMMENDED DC OPERATING CONDITIONS (0 。C to 70 。C or -40 。C to +85 。C) PARAMETER Supply Voltage SYMBOL MIN TYP V CC 4.5 5.0 MAX UNITS NOTES 5.5 V 1 2.2 VCC+0 .3 V 1 -0 3 +0 8 V 1 2.0 3.5 V 1 MAX UNITS NOTES ILI 1 uA 10 I/ O Leakage ILO 1 uA 11 Logic 0 Output V OL 0.4 V 2 Active Supply Current I CCA 1 mA 9 Standby Current I CCS 500 uA 3 Logic 1 V IH Logic 0 V IL VBAT Battery Voltage V BAT DC ELECTRICAL CHARACTERISTICS ( 0 。C to 70 。C or -40 。C to +85 。C; VCC = 4.5V to 5.5V) PARAMETER Input Leakage Battery Current ( OSC ON) ; SQW/ OUT OFF Battery Current ( OSC ON) ; SQW/ OUT ON (32 kHz) XBLWversion1.0 SYMBOL MIN TYP IBAT1 1 2 uA 4 IBAT2 1.2 2 uA 4 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 8 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock AC ELECTRICAL CHARACTERISTICS PARAMETER SCL Clock Frequency SYMBOL MIN MAX UNITS f SCL 0 100 k Hz t BUF 4.7 1 us tHD: STA 4.0 us LOW Period of SCL Clock t LOW 4.7 us HIGH Period of SCL Clock Set- up Time for a Repeated START t HIGH 4.0 us t SU: STA 4.7 us Data Hold Time tHD: DAT 0 us Data Set- up Time t SU: DAT 250 ns Bus Free Time Between a STOP and START Condition Hold Time ( Repeated) START Condition Condition TYP Rise Time of Both SDA and SCL Signals tR 1000 ns Fall Time of Both SDA and SCL Signals tF 300 ns Set- up Time for STOP Condition t SU: STO Capacitive Load for each Bus Line CB I/ O Capacitance CI/ O Crystal Specified Load Capacitance 4.7 NOTES 5 6,7 us 400 8 pF 10 pF 12.5 pF NOTES: 1 . All voltages are referenced to ground. 2 . Logic zero voltages are specified at a sink current of 5 mA at VCC=4 .5V, VOL=GND for capacitiveloads. 3 .ICCS specified with VCC=5 .0V and SDA, SCL=5 .0V . 4. 5. VCC=0V, VBAT=3V. After this period, the first clock pulse is generated. 6. A device must internally provide a hold time of at least 3 0 0 ns for the SDA signal ( referred to the VIHMIN of the SCL signal) in order to bridge the undefined region of the falling edge of SCL. 7. The maximum tHD: DAT has only to be met if the device does not stretch the LOW period ( tLOW) of theSCL signal . 8 .CB - total capacitance of one bus line in pF. 9.ICCA - SCL clocking at max frequency = 100 kHz. 10. SCL only. 11. SDA and SQW/OUT XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 9 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock TIMING DIAGRAM Figure 8 XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 10 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock Package Information DIP8 XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 11 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock SOP8 XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 12 页 共 13 页 XBLW DS1307 64 X 8 Serial Real Time Clock Statement:  Shenzhen xinbole electronics co., ltd. reserves the right to change the product specifications, without notice! Before placing an order, the customer needs to confirm whether the information obtained is the latest version, and verify the integrity of the relevant information.  Any semiconductor product is liable to fail or malfunction under certain conditions, and the buyer shall be responsible for complying with safety standards in the system design and whole machine manufacturing using Shenzhen xinbole electronics co., ltd products, and take appropriate security measures to avoid the potential risk of failure may result in personal injury or property losses of the situation occurred!  Product performance is never ending, Shenzhen xinbole electronics co., ltd will be dedicated to provide customers with better performance, better quality of integrated circuit products. XBLWversion1.0 文档仅供参考,实际应用测试为准 www.xinboleic.com 技术支持热线:4009682003 第 13 页 共 13 页
DS1307DTR 价格&库存

很抱歉,暂时无法提供与“DS1307DTR”相匹配的价格&库存,您可以联系我们找货

免费人工找货