打印
[ZLG-MCU]

请教8583

[复制链接]
1097|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ayb_ice|  楼主 | 2007-8-10 14:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
zlgmcu| | 2007-8-11 20:01 | 只看该作者

8583不设置的话,int脚怎么可能有方波输出了.

一般情况下是设置有误才会导致以上情况.

在alarm control register中有个位可以disable interrupt out.
您可以在数据手册中找到该位试试.

使用特权

评论回复
板凳
ayb_ice|  楼主 | 2007-8-13 08:10 | 只看该作者

DATASHEET上说的,复位后输出1HZ的校准信号

我量过确实是这样的...

使用特权

评论回复
地板
zlgmcu| | 2007-8-13 17:47 | 只看该作者

re

When power-up occurs the I2C-bus interface, the
control/status register and all clock counters are reset.
The device starts time-keeping in the 32.768 kHz clock
mode with the 24 h format on the first of January at
0.00.00: 00. A 1 Hz square wave with 50% duty cycle
appears at the interrupt output pin (starts HIGH).
It is recommended to set the stop counting flag of the
control/status register before loading the actual time into
the counters. Loading of illegal states may lead to a
temporary clock malfunction.

看来这种现象是上电就有的.

使用特权

评论回复
5
LPC900| | 2007-8-13 17:55 | 只看该作者

要仔细看数据手册了

复位后,/INT自动输出1Hz方波(要加上拉电阻)。禁止的方法在第13页的Fig.11,请仔细看。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

222

主题

15435

帖子

34

粉丝