How to use software interrupt/ timer interrupt on KE06Z

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

How to use software interrupt/ timer interrupt on KE06Z

1,601 次查看
eyeow84
Contributor III

I am using FRDM-KE06Z (MKE06Z128VLK4) to control hi and low state on few I/O pins. I am using CW 10.6 Processor Expert (PE) to generate code TimerInt_LDD. I want to set 3 I/O pins to HI during state 1 for 3 minutes, and set/toggle them to LOW during state 2 for 3 minutes. And maintain this loop over a period of time or infinite loop.

 

I am still exploring the options to make this works. I found that one of the possible ways is to use TimerInt_LDD? However I don't have any working example by using this TimerInt_LDD component and the example given in CW help is very insufficient.

 

thanks.

标签 (1)
0 项奖励
回复
1 回复

1,489 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Lee,

I suggest you use component PPG_LDD which has method to change period and duty cycle during program running.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复