Capture Mode in LPC55S16.

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

Capture Mode in LPC55S16.

592 次查看
Karthick4
Contributor I

Hi Sir,

I was using the LPC55s16 microcontroller.In Timer unable to cofigure to use the Capture mode.Is there any example code for Capture mode in LPC55S16 Microcotroller.

0 项奖励
回复
3 回复数

563 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting our case, could you elaborate further about what you want to do on your application?

Best regards,
Pavel

555 次查看
Karthick4
Contributor I

To configure the  lpc55s16 timer as capture mode using external switch if i press the switch twice i want to calculate the time period between pressing the switch

0 项奖励
回复

548 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I reviwed the SDK and the only example that may has your requeriment will be the anactrl.

This is the description of the example.

The anactrl_measure_frequency Example project is to demonstrate usage of the KSDK anactrl driver.

In the example, you can set a reference clock and target clock. The project will calculate the frequency of the

target clock according to the reference clock frequency.

Analog control measure frequency example.

Reference clock source: wdt oscillator.

Target clock source: 32kHz oscillator.

Target clock frequency: 29799 Hz.

Maybe that example could help you.

 

Best regards,
Pavel

0 项奖励
回复