查看: 4397|回复: 3

[其他] DZ60如何从stop2模式中唤醒

[复制链接]

该用户从未签到

3

主题

9

帖子

0

新手上路

Rank: 1

积分
25
最后登录
1970-1-1
发表于 2012-3-17 22:52:57 | 显示全部楼层 |阅读模式
各位好:
        小弟最近在使用MC9S08DZ60做低功耗的应用,使用stop2模式。使用时能够正常进入stop2模式,RTI唤醒也可以正常唤醒,但是IRQ低电平唤醒却不行,不知道在配置IRQ唤醒的时候是不是要注意什么。还有就是MC9S08DZ60的PDF文档上面写道
NOTE
On 3M05C or older masksets only, PTA7/ADP7/IRQ is an active low
wake-up and must be configured as an input prior to executing a STOP
instructiontoavoidanimmediateexitfromstop2.PTA7/ADP7/IRQca
disabledasawake-upifitisconfiguredasahighdrivenoutput.Forlo
power consumption in stop2, this pin should not be left open when
configured as input (enable the internal pullup; or tie an external
pullup/down device; or set pin as output).
我现在使用飞MC9S08DZ60是Mask Set 是1M74K,还有一个文档名叫MC9S08DZ60 Migrating from the
3M05C to M74K Mask Set的写的是他们指令集的不同,其中就写道了PTA7/ADP7引脚的变化
With the M74K mask sets, the customer is now able to use the port pin as an analog input. However, the
pin can no longer be used to wake the part from stop.
If this pin was used to wake the part up from stop, then code must be modified.
但是没有具体写怎么修改。并且文档写的是PTA7/ADP7,没有写IRQ的使用,这个IRQ的唤醒要怎么使用,还有MC9S08DZ60到底能不能用IRQ唤醒?
我知道答案 目前已有3人回答
回复

使用道具 举报

该用户从未签到

3

主题

9

帖子

0

新手上路

Rank: 1

积分
25
最后登录
1970-1-1
 楼主| 发表于 2012-3-18 13:49:08 | 显示全部楼层

RE:DZ60如何从stop2模式中唤醒

有人知道不?帖子顶上去
回复 支持 反对

使用道具 举报

该用户从未签到

0

主题

7

帖子

0

新手上路

Rank: 1

积分
0
最后登录
1970-1-1
发表于 2012-4-17 15:20:31 | 显示全部楼层

回复:DZ60如何从stop2模式中唤醒

我现在用的是S08LL16,都不能进入STOP2模式,我也是按照手册上要求设定寄存器的。LZ是怎样进入STOP2的?
回复 支持 反对

使用道具 举报

该用户从未签到

0

主题

2

帖子

0

新手上路

Rank: 1

积分
20
最后登录
2017-12-11
发表于 2017-4-5 16:21:35 | 显示全部楼层
借问一下楼主,你的stop2模式功耗有多大?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-8-3 15:03 , Processed in 0.087948 second(s), 24 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表