Cypress技术论坛
直播中

崔明华

8年用户 133经验值
私信 关注
[问答]

请问PSOC 4的中断延迟是什么?

你好:
有没有人知道PSOC 4的中断延迟是什么?我运行一个4200与外部48兆赫时钟。当Itrigger与一个定时器进行中断比较时,在ISR切换输出线之前有一个800毫秒的延迟。IAM使用寄存器写,而不是生成函数之一。我的理解是,M0的潜伏期是16个周期,如果是这样的话,延迟大约只有350nS。我是不是有什么不对,或者是在这个MCU上中断得很慢?
数据表和技术参考手册的搜索没有透露任何答案。
谢谢,
史蒂芬

以上来自于百度翻译


     以下为原文
  Hello:
     
    Does anyone know what the interrupt latency is for the PSoC 4?  I am running a 4200 with an external 48MHz clock.  When I trigger an interrupt with a timer compare, there is an 800ns delay  before the ISR toggles an output line.  I am using a register write, not one of the generated functions.  My understanding was that latency for M0 was 16 cycles.  If that was the case, the delay would only be about 350ns.  Am I doing something wrong, or are interrupts slow on this MCU?
    A search of the data sheet and technical reference manual did not reveal any answers.
     
    Thanks,
    Stephen

回帖(2)

杨军

2019-7-12 09:56:49
除了明显的,你有最高优先级的中断优先级,
我看到了这个手臂手册,附上。
问候,Dana。
PSoC 4中断延迟
168.4 K

以上来自于百度翻译


     以下为原文
  Other than the obvious, eg. you have the interrupt priority at highest,
    I saw this in ARM manual, attached.
     
    Regards, Dana.


举报

崔明华

2019-7-12 10:54:32
嗨,Asha,
非常感谢你提供的信息。IDO有一个问题:我能理解为什么在RAM中放置ISR会影响中断的性能,但是为什么像ISRSListSo()这样的函数也需要放在那里呢?
谢谢,
史蒂芬

以上来自于百度翻译


     以下为原文
  Hi Asha,
    Thanks very much for the information.  I do have one question: I can understand why placing the ISR in RAM would affect the performance of interrupts, but why do functions like isr_Start() need to be placed there as well?
    Thanks,
    Stephen
举报

更多回帖

发帖
×
20
完善资料,
赚取积分