How to Generate 1 millisecond interrupt using LPIT Module in S32K144

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

How to Generate 1 millisecond interrupt using LPIT Module in S32K144

3,241 Views
sakthivelkuland
Contributor III

Hello Supporting Team/ All

I have newly startup the TPMS project with S32K144 MCU, First walk through the SDK Example Startup code for my better Understanding of the MCU Initialization.

1) My Project requirement to generate the 1millisecond timer interrupt that I will use for my task calling with 2ms and 10ms container.

2) FTM channel configures as Input Capture mode to measure the External signal from the sensor and decode the signals for my application usage.

3) My Project have to use the GENY Generated CAN Driver with my S32K144 MCU, If anyone has used the third part CAN Driver embedded with 

My question,

As the example code explained the about 1second timer interrupt using LPIT module,

could you please explain to me how to setup the 1millisecond timer interrupt?

Because this 1-millisecond timer, I have used all over my project for execution of all the task.

Please help me if any one has done before..

Thanks in Advance,

Sakthivel  Kulandaivel 

Labels (1)
10 Replies

2,325 Views
sakthivelkuland
Contributor III

Thanks, Robin &  Daniel,

I have not done the "Generate Process Export Code" Before After Generated Project build success.

► NXP Licenses:

pastedImage_1.png

► Available Update

pastedImage_2.png

Should I process with this Updates?

Other,

My Project has to use the GENY Generated CAN Driver with S32K144 MCU, If anyone has used the third part CAN Driver embedded with S32K144 Project?

Is there any other document or guidelines available for this implementation?

Regards,

Sakthivel K

0 Kudos

2,325 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please Return License for v1.3 and then Activate the License for v2.0.

Return License.png

Activate.png

You should received the Activation Code for v2.0 when download the S32DS IDE v2.0.

license when downloading.png

You can also find the Activation Code after login NXP.
Go to https://www.nxp.com/security/login under secure application and click on "Software Licensing and Support"

Software Licensing and Support.png

Then you can find the Activation Code after click Details.

find license.png

Best Regards,

Robin

0 Kudos

2,325 Views
sakthivelkuland
Contributor III

Hello Rabin,

Thanks for the response,

► I have Done the Return the License.

► Again for Active License, I have followed your Instruction,

1. "You should be received the Activation Code for v2.0 when download the S32DS IDE v2.0."

Problems, Error During Download,

pastedImage_1.png

2. 

 

You can also find the Activation Code after login NXP.
Go to https://www.nxp.com/security/login under secure application and click on "Software Licensing and Support"

pastedImage_2.png

Problems,

Once I Clicked the "Software Licensing and Support",  not going to the Activation Code Page, Remain the same Same Page.

Please Help me How I should get the Activation Code S32K Design Studio  V2.0 IDE

Regards,

Sakthivel K

0 Kudos

2,325 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

If you have download the software by this account before, then you can direct search the email "Thank you for your interest in S32 Design Studio for ARM v2.0".

Or you may need to contact NXP Technical Support to use the Live Chat.

Live Chat.png

0 Kudos

2,325 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

If you are using the lpit_periodic_interrupt example in S32SDK_S32K14x_EAR_0.8.6(C:\nxp\S32DS_ARM_v2.0\S32DS\S32SDK_S32K14x_EAR_0.8.6\examples\S32K144\driver_examples\timer\lpit_periodic_interrupt).
Then please modify the period in lpit1_ChnConfig0.

lpit_periodic_interrupt.PNG

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,325 Views
sakthivelkuland
Contributor III

Thanks For your Information,

I have not fount the Program path as you mentioned,

My S32SDK screen,

pastedImage_1.png

Then browse  for the Example program, with My S32 Design Studio,

pastedImage_2.png

Soi Could not find the right file lpit1.c

any simple way there to configure the LPIT for 1millisecond interrupt timer configuration.

Note: When I have tried to build LPIT_Example project, build fail with errors.

Thanks,

Sakthivle K 

0 Kudos

2,325 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

You may need to download S32 Design Studio for ARM v2.0 Update 3 – S32 SDK 0.8.6 & Processor Expert Update.

S32 SDK 0.8.6 EAR.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,325 Views
sakthivelkuland
Contributor III

Hi Robin,

Thanks for your valuable response,

Yes, I have downloaded the Updated version and In my S32 IDE Help Menu→Software Update→broswer the Downloaded Zip for archive and Install all updates,

After Installation success, I have open the Example program from here  C:\nxp\S32DS_ARM_v2.0\S32DS\S32SDK_S32K14x_EAR_0.8.6\examples\S32K144\driver_examples\timer\lpit_periodic_interrupt

still i have build Errors,

pastedImage_1.png

Is there any other I have missed while updates.

Thanks,

Sakthvel K

0 Kudos

2,325 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Have you generated "processor expert code" in Components window? 

pastedImage_3.png

Regards,

Daniel

2,325 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please check the licenses of this IDE.(Help -> NXP Licenses)
Have you try to click Generate Processor Expert Code and then build it?

Licenses.png


You can click Help -> Check for Update.

Check for update.png

Please copy error message to here, so that I can check it.

Best Regards,

Robin

0 Kudos