how to set delay

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

how to set delay

546 Views
manibharathi
Contributor II

I use S9KEAZN8AMTGR , To design this chip I use Kinetis Design Studio . How I add delay and I generate PWM.

0 Kudos
Reply
3 Replies

511 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @manibharathi 

First, it is important to clarify that this device family is currently supported only by CodeWarrior and S32 Design Studio for Arm (S32DS), not by Kinetis Design Studio (KDS).

For PWM and timers usage, you can refer to the following application notes:

  • AN5213 – Kinetis EA Series Cookbook
  • AN4976 – Controlling a DC Motor Using the PWT Module on Kinetis E/EA

These documents provide guidance that may help with your implementation.

 

BR, VaneB

0 Kudos
Reply

483 Views
manibharathi
Contributor II

HI @VaneB , Can you guide me how to configure the pins.

 

0 Kudos
Reply

440 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @manibharathi 

I recommend referring to the examples provided in Sample Software Drivers for KEAZ64/128 using S32DS.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2328694%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ehow%20to%20set%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328694%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20use%26nbsp%3B%3CSPAN%3ES9KEAZN8AMTGR%20%2C%20To%20design%20this%20chip%20I%20use%20Kinetis%20Design%20Studio%20.%20How%20I%20%3C%2FSPAN%3E%3CSPAN%3Eadd%20delay%20and%20I%20generate%20PWM.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2329402%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20set%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329402%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%26nbsp%3B%2C%20Can%20you%20guide%20me%20how%20to%20configure%20the%20pins.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2329272%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20set%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329272%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260096%22%20target%3D%22_blank%22%3E%40manibharathi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirst%2C%20it%20is%20important%20to%20clarify%20that%20this%20device%20family%20is%20currently%20supported%20only%20by%20CodeWarrior%20and%20S32%20Design%20Studio%20for%20Arm%20(S32DS)%2C%20not%20by%20Kinetis%20Design%20Studio%20(KDS).%3C%2FP%3E%0A%3CP%3EFor%20PWM%20and%20timers%20usage%2C%20you%20can%20refer%20to%20the%20following%20application%20notes%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN5213.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAN5213%3C%2FA%3E%20%E2%80%93%20Kinetis%20EA%20Series%20Cookbook%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4976.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAN4976%3C%2FA%3E%20%E2%80%93%20Controlling%20a%20DC%20Motor%20Using%20the%20PWT%20Module%20on%20Kinetis%20E%2FEA%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThese%20documents%20provide%20guidance%20that%20may%20help%20with%20your%20implementation.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20set%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260096%22%20target%3D%22_blank%22%3E%40manibharathi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20recommend%20referring%20to%20the%20examples%20provided%20in%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DSAMPLE-DRIVER-FRDM-KEA-S32DS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ESample%20Software%20Drivers%20for%20KEAZ64%2F128%20using%20S32DS%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E