完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好
请告知最大时钟速度ISR模块如何? 用时钟模块测试ISR模块中断,最大频率为APROX。3-4千赫。如何使用较大频率的ISR? 感谢信息 卡米尔 以上来自于百度翻译 以下为原文 Hi all Please info how max clock speed ISR module ? Im testing interrupt with ISR module with Clock module and maximal frequency is aprox. 3-4 kHz. How to use ISR with bigger frequency ? Thanks Info Kamil |
|
相关推荐
4个回答
|
|
PSOC5中断的最大频率主要取决于你在ISR中所做的事情。
PSOC5(PG 50)的TRM表示,输入ISR需要至少12个周期延迟,每个指令也需要一些周期,对于频率来说是如此。 通常开发者在信号上的反应时间上,而不是在最大频率上。所以我想问一下你想用高中断率来执行什么。 鲍勃 以上来自于百度翻译 以下为原文 The max frequency of interrupts in psoc5 depends mainly what you actually do within the ISR. The TRM for PSoC5 (Pg. 50) says that at least 12 cycles latency is needed to enter the ISR, every Instruction will need some cycles too, so much for the frequency. Usually developers are intrested on the reaction-time on a signal, not on max frequency. So I'd like to ask what you want to perform with a high interrupt rate. Bob |
|
|
|
我的想法是音频缓冲器操作-像过滤器,整形器,延迟,乘法…
以上来自于百度翻译 以下为原文 My idea is audio buffer operation - like filter, shaper, delay, multiply ..... |
|
|
|
我建议使用诸如ADC、DFB(数字滤波器)之类的东西,以及使用DMA来将信息从一个块传送到另一个块。这将不使用任何CPU,运行速度一样快的ADC将。
以上来自于百度翻译 以下为原文 I would suggest to use something like ADC, DFB (Digital Filter) and the use of DMA to transfer information from one block to the other. That will not use any CPU and runs as fast as the ADC will. |
|
|
|
正如鲍勃提到的DMA是一个很好的选择,在过滤器的情况下,这也
可以用于延迟,例如AlpPASS等,因为这都可以是HW。 处理。 但是如果必须处理过滤器不能处理的,ISR有效性是 当你在ISR和出口设置一个标志时,最好。这样,通过 在ISR中不调用任何FER(),你不会得到很多堆栈推,因此MIPS。 浪费。这样处理ISR响应通常是一个很好的做法。 问候,Dana。 以上来自于百度翻译 以下为原文 As bob mentioned DMA a good choice in case of filter, which also can be used for delay, eg. allpass etc...becuse this can all be HW processed. But if you have to do processing the filter cannot handle, ISR effectiveness is best when you do nothing more than set a flag in ISR and exit. That way, by not calling any f()'s within ISR you dont get a lot of stack push, hence MIPs wasted. It's generally a good practice to handle ISR response this way. Regards, Dana. |
|
|
|
只有小组成员才能发言,加入小组>>
717个成员聚集在这个小组
加入小组1903 浏览 1 评论
1655 浏览 1 评论
3410 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1570 浏览 6 评论
1382 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
193浏览 2评论
184浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
325浏览 2评论
352浏览 1评论
64浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-27 21:41 , Processed in 0.560913 second(s), Total 48, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号