LPC1768 interrupt time waste

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1768 interrupt time waste

799件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AmirHejazi on Fri Oct 04 01:15:58 MST 2013
hi
is it possible to define amount of clock pulses used(consumed) in every interrupt?(assume that the handler does not contain any code)
0 件の賞賛
返信
3 返答(返信)

764件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Oct 04 03:37:42 MST 2013
If you read the PDF file that I provided the link to, then it explains everything. Read the section on the NVIC.
0 件の賞賛
返信

764件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AmirHejazi on Fri Oct 04 03:33:40 MST 2013
thanks
1- is it a fixed value or it's the max value of latency?
2- 12 cycles for push the handler and 12 cycles for pop from it. (page 7)
that means a simple interrupt hendler consumes 24 clock pulses. per every call. 
Did i said that correctly?

best regards
Amir
0 件の賞賛
返信

764件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Oct 04 03:01:16 MST 2013
According to this:
http://www.arm.com/files/pdf/introToCortex-M3.pdf
the interrupt latency of a Cortex-M3 is 12 cycles (compared with 24-42 for ARM7TDMI).
0 件の賞賛
返信