Hello, ı am working on imxrt 1050 evk and ı cant find the timer library in SDK_2.6.0_EVKB-IMXRT1050. I download another sdk LPC845_PWM_LED. In second sdk ı found ctimer.h and add to my code. When ı debbug it ,many problems occurs. Cant ı use it ? If ı cant how can ı use counter? ( Add ctimer.h with drag and drop into my code drivers)
Hi,
prvSampleTimeNow is a FreeRTOS internal function. You can see it is announced as static. It means functions outside timers.c can't call it.
RT1050 hasn't ctimer. But it has PIT, PWM and GPT. All of them are timer. Please refer to their examples in SDK.
Regards,
Jing
I tried to use freertos and problem occurs.
I tried to get value from timer but cant use function prvSampleTimeNow(),
Anyone can help me ?
Hi Omer,
No, you can't use it. RT1050 hasn't ctimer. LPC845's code won't work no RT1050. If you want to blink a led on RT1050 evb, please use iled_blinky demo in RT1050 SDK.
Regards,
Jing
Hi jingpan , thank you for your reply. I dont want to blink led. I want to create and use counter. Cant find counter function in 1050. Do ı have to create counter function by myself ?