Cypress技术论坛
直播中

王翰音

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

请问fx2lp是可以处理60个中断每秒吗?

你好,
我有一个图像传感器接口FX2LP,框架有效连接INT1,图像传感器能够给60frames每second.that 60次框架有效中断每秒,FX2LP是可以处理60个中断每秒?
如果我错了,请纠正我。
当做,
吉萨
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            hello,
I have interfaced fx2lp with an image sensor,the frame valid is connected to INT1,image sensor is capable of giving 60frames per second.that is 60 times frame valid interrupt per second,is fx2lp is capable of handling 60 interrupts per second?
correct me if i am wrong.

regards,
geetha.

回帖(5)

杜美娜

2018-8-19 04:19:18
你好,Geethanjali,
当发生中断时,固件分支到ISR。一旦在ISR开始执行代码,中断被禁用,又只有RETI指令指示固件返回到中断点启用。因此,根据不同大小的代码是在ISR执行,中断的次数,可以通过在一个特定的时间处理不同FX2LP。
最好的问候,
斯里纳斯
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello Geethanjali,
 
When an interrupt occurs, the firmware branches to the ISR. Once the code inside the ISR starts executing, the interrupt is disabled and is enabled again only after the RETI instruction which instructs the return of firmware back to the point of interruption. So, depending on the size of the code that is executed inside the ISR, the number of interrupts that can be processed by FX2LP in a particular time varies.
 
Best regards,
Srinath S
举报

王翰音

2018-8-19 04:30:43
引用: wangcong12138 发表于 2018-8-19 04:19
你好,Geethanjali,
当发生中断时,固件分支到ISR。一旦在ISR开始执行代码,中断被禁用,又只有RETI指令指示固件返回到中断点启用。因此,根据不同大小的代码是在ISR执行,中断的次数,可以通过在一个特定的时间处理不同FX2LP。
最好的问候,

你好,克里斯纳特,
8051可以每秒处理60次中断?也就是说,它能每秒执行60次ISR功能吗?
它能做到这一点关于硬件和软件吗?
我的问题是“它会错过中断”吗?,是否在一秒钟内执行一些中断失败?
当做,
吉萨
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello shrinath,
8051 can handle 60 times of interrupts per second?i.e. can it execute ISR function 60 times per second?
is it capable of doing this regarding hardware and software?
my question is "it will miss interrupts"?,i.e is failed to execute some interrupts within one second?
 
regards,
geetha.
举报

杜美娜

2018-8-19 04:46:57
引用: wangcong12138 发表于 2018-8-19 04:19
你好,Geethanjali,
当发生中断时,固件分支到ISR。一旦在ISR开始执行代码,中断被禁用,又只有RETI指令指示固件返回到中断点启用。因此,根据不同大小的代码是在ISR执行,中断的次数,可以通过在一个特定的时间处理不同FX2LP。
最好的问候,

你好,Geethanjali,
8051是否会想念中断或不取决于在ISR例程的代码和执行指令的时间。
当固件代码流进入ISR例程,中断被禁用和启用只有当ISR返回。
最好的问候,
斯里纳斯
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello Geethanjali,
 
Whether 8051 will miss interrupts or not depends on the code inside the ISR routine and the time for the instructions to execute.
 
When the firmware code flow enters the ISR routine, the interrupt gets disabled and is enabled only when the ISR returns back.
 
Best regards,
Srinath S
举报

王翰音

2018-8-19 05:05:16
引用: wangcong12138 发表于 2018-8-19 04:46
你好,Geethanjali,
8051是否会想念中断或不取决于在ISR例程的代码和执行指令的时间。
当固件代码流进入ISR例程,中断被禁用和启用只有当ISR返回。

你好,克里斯纳特,
ISR函数只包含8个字节的数据添加到端点缓冲区切换到手动模式,automode.in这种情况下,它是能够处理每秒60外部中断?
我不知道多少次FX2LP将从手动切换到自动模式?
当做,
吉萨
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            hello shrinath,
 
isr function contains only 8 bytes data adding to endpoint buffer and switch to manual mode to automode.in this case,is it capable to handle 60 external interrupts per second?
 
I dont know how much time fx2lp will take to switch from manual mode to automode?
 
regards,
geetha.
举报

更多回帖

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