hardware triggers

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

hardware triggers

跳至解决方案
769 次查看
d2014
Contributor I

I am wondering which Kinetis chip can have an digital input rising or falling edge reset and start a counter. All of this is done via hardware without bothering the processor core. The processor will use this ramp timer to make PWM signals.

0 项奖励
回复
1 解答
668 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi David,

I'd like to suggest that you can choose the KL25, the timer module TPM can support to not start incrementing after it is enabled until a rising edge on the EXTRG_IN pin is detected (Fig 1).

2015-07-23_12-47-58.jpg

                                                                                      Fig 1

You can learn more detail information about this MCU through the link as below.

http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf?fasp=1&WT_TYPE=Reference%2...
Have a great day,
Ping

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
669 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi David,

I'd like to suggest that you can choose the KL25, the timer module TPM can support to not start incrementing after it is enabled until a rising edge on the EXTRG_IN pin is detected (Fig 1).

2015-07-23_12-47-58.jpg

                                                                                      Fig 1

You can learn more detail information about this MCU through the link as below.

http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf?fasp=1&WT_TYPE=Reference%2...
Have a great day,
Ping

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

0 项奖励
回复
668 次查看
d2014
Contributor I

i didnt know about this chart, thank you. I didn't know i could use the comparator output to start a timer.

0 项奖励
回复