Dear All,
This is my first time when i am using 32 bit and freescale controller.
Kindly mail me sample code workspace for 1 sec delay using FTM2.
Mail ID - karan.atepower@gmail.com
Regards,
Karan Chaudhary
Hello Karan,
Thank for your interesting about our product.
Please tell me which chip do you use ? And also which IDE ?
BR
Alice
Dear Sir/Mam,
I am using Kinetics KEA8 micro controller and ide is Code warrior 10.6.4
Please reply as soon as possible.
Regards !
Karan Chaudhary,
(ATE Power Connection Pvt. Ltd.)
Mob : + 91 - 8860194660.
On Thu, Jan 7, 2016 at 3:23 PM, Alice_Yang <admin@community.freescale.com>
Hello Karan,
There is no the FTM delay demo function on the NXP official website, so i crate one demo by myself.
I use the CW10.6.4, TRK-KEA8, please the attachment .
** ###################################################################
this function delay t ms
** ###################################################################
*/
void delayms(int t)
{
EventCount = 0;
while(t > EventCount);
}
In this project , define the period of the FTM interrupt to 1ms , then the "EnventCount" will be add 1
when it run to the interrupt.
I think you can refer to this create one delay function on your project .
Dear Alice,
*Its my starting on 32 bit controller so i am unable to generate *
FTM interrupt for timer delay. I know the logic you told but
my problem is to generate interrupt for FTM2.
I am using TRK-KEA8 evaluation board.
Thanks for your revert.
Regards !
Karan Chaudhary,
(ATE Power Connection Pvt. Ltd.)
Mob : + 91 - 8860194660.
On Fri, Jan 8, 2016 at 1:01 PM, Alice_Yang <admin@community.freescale.com>
Hello Karan ,
THe demo i send you is just for the board TRK-KEA8, you can directly use it .
BR
Alice
Hello Alice,
Thanks a lot for revert.
Can i have sample code for input capture for the same board.
Regards !
Karan Chaudhary,
(ATE Power Connection Pvt. Ltd.)
Mob : + 91 - 8860194660.
On Tue, Jan 12, 2016 at 3:56 PM, Alice_Yang <admin@community.freescale.com>
Hello Karan,
In the Typical Usage , there is a demo about input capture, you can refer to it .
Please right click the component , the select the "help on component", the refer to the demo of "
"
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------