Produce 100 ms timer interrupt

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

Produce 100 ms timer interrupt

跳至解决方案
1,814 次查看
李志權
Contributor II

I have a k60 development board, and now want to use the codewarrior implementation produces a 100 ms interrupt timer, how should I set?

Development board type:TWR-K60D100M

标签 (1)
0 项奖励
回复
1 解答
1,515 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

You can refer it:

PIT 100ms PE.jpg

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,515 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

I generate a project using CodeWarrior10.5 with PE.

Use the TimerUnit_LDD as PIT , every 100ms it may run into PIT0_OnCounterRestart at Event.c.

Use the BitIO_LDD as LED_GRN , every time it run into PIT0_OnCounterRestart ,  the green led will change it's status.

0 项奖励
回复
1,516 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

You can refer it:

PIT 100ms PE.jpg

0 项奖励
回复
1,515 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

There are several module you can use to do that.

Maybe you can use PIT module.

0 项奖励
回复
1,515 次查看
BlackNight
NXP Employee
NXP Employee
0 项奖励
回复