完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
STM8S MCU的中断延迟是多少?我是STM8的新手,我读过的几篇文档都没有提到它。
以上来自于谷歌翻译 以下为原文 What is the interrupt latency on STM8S MCUs? I am new to STM8 and the few docs I have read do not mention it. |
|
相关推荐
4个回答
|
|
|
PM0044 - STM8 CPU编程手册 - 包含答案。
第3章的图2显示中断需要9个时钟周期进行维护。 以上来自于谷歌翻译 以下为原文 PM0044 - STM8 CPU Programming Manual - contains the answer. Figure 2 of Chapter 3 shows that an interrupt takes nine clock cycles to be serviced. |
|
|
|
|
|
这是正确的,但由于ST FW库存在问题,人们可以看到更大的时间,更大的时间。
我使用STM8L151,EWSTM8。在进入RTC唤醒ISR时,我将一个引脚切换并连接示波器探头。我连接到CCO的另一个探测器,路由HSI。 MCU正在进入Active Halt模式一段时间然后 - 唤醒。看看这两个探测器,我看到唤醒和进入RTC ISR之间的差距是7.5us,这是中断延迟,你要问的是。如果项目是使用Cosmic或IAR构建的,但是没有ST lib,那么确实可以看到上面提到的9个循环。 以上来自于谷歌翻译 以下为原文 It's correct but one can see a different time, much larger, due to a problem with ST FW library. I work with STM8L151, EWSTM8. On entry to RTC wakeup ISR I put a pin toggling and connected oscilloscope probe. Another probe I connected to CCO, routing HSI. MCU is moving to Active Halt mode for a certain time and then - waking up. Looking at the both probes, I saw a difference of 7.5us between the wakeup and getting into RTC ISR, which is the interrupt latency, you're asking about. If the project is built with Cosmic or with IAR, but without ST lib, then, indeed, the mentioned 9 cycles are seen. |
|
|
|
|
|
|
|
|
|
|
|
亲爱的RobG,
你能分享你的解决方案吗?我找不到自己的。除了头文件之外,我根本不使用ST FW lib。 此致,德米特里。 以上来自于谷歌翻译 以下为原文 Dear RobG, Could you share your solution? I can't find my own. I'm not using ST FW lib at all except header files. Regards, Dmitry. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
663浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 12:20 , Processed in 0.614185 second(s), Total 49, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
312