Hi Everyone,
I will working to implement the Counter with Development board OM13098LPCxpresso54628 (eg. I give some Plus in Counter pin that is read the count value with Every one seconds).
How to Configure and implement the Counter registers and What are the step to follow?
Any Counter Sample program is available?
Thanks & Regard
Vijay
Hi Alice,
I know the step as to variable declearation and time configuration.
but I want to know the How to Configure the Timer And configure the Counter in MCUxpresso IDE.
And what are registers to Configure to Counter?
Thanks and Regard,
Vijay
Hello @Vijay_Vj
1)There are some basic demos about timer, counter under SDK, for example "ctimer_match_example".
Download SDK from:
https://mcuxpresso.nxp.com/en/select
2) Also you can use MCUXpresso configure tool to config refer to your requirements:
BR
Alice
Hello @Vijay_Vj
You can consider below steps:
1) Define a global variable cn.
2) Enable plus pin interrupt, in the interrupt, cn+1;
3)Configure timer, read the value of "cn" in each seconds interrupt.
Just a simple suggestion.
BR
Alice