Can I use the LP Timer in place of the SysTick?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I use the LP Timer in place of the SysTick?

425 Views
jamesmasamoto
Contributor I

In _bsp_pre_init() there is OSA_InstallIntHandler(BSP_SYSTIMER_INTERRUPT_VECTOR, HWTIMER_SYS_SystickIsrAction). Can I replace with LPTMR0_IRQn?

Labels (1)
0 Kudos
1 Reply

276 Views
ivadorazinova
NXP Employee
NXP Employee

Hi James,

no, because the functions such as OSA_TimeDelay(), OSA_TimeGetMsec() and the timeout are all based on LPTMR.

For more details please see fsl_os_abstraction_bm.c located at c:\Freescale\KSDK_1.3.0\platform\osa\src\

Best Regards,

Iva

0 Kudos