how to make a easy delay function by using the S32K144EVK board.

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

how to make a easy delay function by using the S32K144EVK board.

Jump to solution
1,687 Views
Guofred
Contributor III

Hi,

i want to make a easy delay function for the blinking LED, i found this function doesn't have execute and  jump the code end line. the details as below.

the attachment is the source code, would you like kindly help to share your comments or provide your blinking LED code for reference, thanks.

Guofred_0-1642605849944.png

Guofred_0-1642606627441.png

 

Best regards.

Guofred

 

 

0 Kudos
1 Solution
1,660 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

please refer to belowing picture.

Senlent_0-1642662494082.png

BR!

     Jim,

View solution in original post

4 Replies
1,677 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

you can take a look at belowing function

 

file osif.h

/*!
* @brief Delays execution for a number of milliseconds.
*
* @param[in] delay Time delay in milliseconds.
*/
void OSIF_TimeDelay(const uint32_t delay);

 

BR!

     Jim,

0 Kudos
1,668 Views
Guofred
Contributor III

Hi @Senlent ,

Thanks for your kindly help.

would you like kindly help to share your code for reference, may be osif.h and osif.c are need to add our project, i can't use this function directly, thanks.

Guofred_0-1642657494808.png

Guofred_1-1642657995154.png

Best regards.

Guofred

 

0 Kudos
1,661 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

please refer to belowing picture.

Senlent_0-1642662494082.png

BR!

     Jim,

1,647 Views
Guofred
Contributor III

Hi @Senlent ,

Thanks for your patience and kindly help.

Best regards.

Guofred

0 Kudos