Timer- one shot and auto reload.

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

Timer- one shot and auto reload.

Jump to solution
682 Views
Krishnaja
Contributor II

Hi,

I am using MPC5748g controller, I need sample code for timer functions.

For using Timing_StartChannel(), it has 3 pareameters namely, 1.instance, 2. channel and 3.period ticks.

How to calculate period ticks and different channels and their usages?

 

0 Kudos
1 Solution
673 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there's timing_pal example in the package:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\timer\timing_pal\

The documentation can be found here:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

Regards,

Lukas

 

View solution in original post

0 Kudos
1 Reply
674 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there's timing_pal example in the package:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\timer\timing_pal\

The documentation can be found here:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

Regards,

Lukas

 

0 Kudos