Clock and interrupts frecuency

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Clock and interrupts frecuency

858 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pdrodriguez on Sat Sep 01 16:43:19 MST 2012
I need to generate a square wave on the order of nanoseconds, wanted to see what the maximum frequency that could be obtained by timer0 interrupt.
I also wanted to see how to set starting the 120MHz internal clock to achieve the highest possible frequencies.
标签 (1)
0 项奖励
回复
2 回复数

846 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by alexan.e on Mon Sep 03 02:29:09 MST 2012
Use the MAT pins and set the output to toggle and reset on compare match, no interrupt needed.

Alex
0 项奖励
回复

846 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Sat Sep 01 17:44:28 MST 2012
Don't use an interrupt for generating a precise wave, the jitter will drive you crazy.  Use either a PWM output or regular timer direct output.
0 项奖励
回复