Generate 4 Pulses with SCT without interrupt

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

Generate 4 Pulses with SCT without interrupt

814 次查看
sodiptaberutu
Contributor II

Hallo all,

I try to generate 4 Pulse with SCT on LPC 1549 (see on the attachment). I use it for burst the ultrasonic sensor.  My question is: how can I generate the pulses without an Interrupt Routine. Any ideas?

Thank you

Sodipta Karina

标签 (2)
标记 (2)
3 回复数

629 次查看
sodiptaberutu
Contributor II

I have read it and it helps me. I have 1 question namely: For example I use SCT0, then I divide it into SCT0_High and SCT0_Low. Are those Timers (SCT0_H and SCT0_L) be able to start counting at the same time?

Best Regards,

Sodipta

0 项奖励

629 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Sodipta,

Yes, SCT0_H and SCT0_L value can start increase at the same time, about the run the SCT, you can learn the more information in the section Run the SCT in the reference manual.

Hope it helps.
Have a great day,
Ping

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

0 项奖励

629 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,

I've attached the application demo about the SCTimer, and please refer to it for details.

www.nxp.com/documents/application_note/AN11538.zip?fasp=1&WT_TYPE=Application%20Notes&WT_VENDOR=FREE...
Have a great day,
Ping

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