在线时间0 小时
UID170504
注册时间2007-12-15
NXP金币0
该用户从未签到
新手上路

- 积分
- 25
- 最后登录
- 1970-1-1
|
各位好:
小弟最近在使用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唤醒?
|
|