To implement C/C++ delay() for MPC5748G(S32 DS)

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

To implement C/C++ delay() for MPC5748G(S32 DS)

901 Views
barkly_lin
Contributor III

Hi

Just found someone implement delay() function with interrupt + timer by using C language.

Is it possible to achieve that with easier way? or S32 DS may already has function available in library?

Regards,

0 Kudos
1 Reply

717 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

using PIT is the right way. If you are using SDK - there is PIT module which can be used for timing. 

Jiri

0 Kudos