完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我遇到了SWT在SPC560P44L3上进行复位之前产生中断的问题 ITR位使能,当我触发看门狗时,我看到第一次超时后tiF位开启,第二次超时后,CPU复位,正如预期的那样。 但是,当TIF激活时,不会调用Vector28。除了ITR位之外,我还需要配置其他任何东西才能使其工作吗? 谢谢, 以上来自于谷歌翻译 以下为原文 Hi, I'm having problems with the SWT generating an interrupt before going through reset on the SPC560P44L3 ITR bit is enabled, and when I trigger the watchdog I see the TIF bit switch on after the first timeout, and after the second timeout the CPU is reset, as expected. Vector28 is not called when TIF goes active, however. Do I need to configure anything else in addition to the ITR bit to get this to work? Thanks, |
|
相关推荐
3个回答
|
|
Hello Geirt,
您是否为SWT设置了相应的PSR? 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Geirt , Did you set your corresponding PSR for SWT ?
Best regards Erwan |
|
|
|
|
|
|
|
这个问题已经解决了。我在另一个完全不相关的问题上混淆了,这个问题导致了影响中断处理的错误症状。对不起噪音。
以上来自于谷歌翻译 以下为原文 This problem has been solved. I was mixed up in another completely unrelated issue which caused wrong symptoms affecting the interrupt handling. Sorry for the noise. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2877 浏览 1 评论
3282 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1861 浏览 1 评论
3710 浏览 6 评论
6124 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
411浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
510浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
334浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
246浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
354浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-23 18:51 , Processed in 1.232659 second(s), Total 47, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191