PIT timer delay.

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

PIT timer delay.

335 Views
SBK_SBK_SBK_SBK
Contributor I

Hello,

I am currently w=working with KEA128 FRDM board. I have already written PIT timer delay program. But i have one doubt, how 

SUMANA_BHAT_K_0-1697630538392.png

this value will generate one second delay. how to load the value for LDVAL0 according to our requirements to generate different delay

 

0 Kudos
1 Reply

305 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @SBK_SBK_SBK_SBK,

First of all, we like to apologize for our delay to answer you.

Could you please take a look at the following information?

In the PIT for Kinetis K Series MCUs p13 it is mentioned how could you calculate the value for the LDVAL register.

Best regards, Raul.

0 Kudos