How to Increase and decrease frequency by using button sw2 and sw3 in s32k144evb?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Increase and decrease frequency by using button sw2 and sw3 in s32k144evb?

ソリューションへジャンプ
6,911件の閲覧回数
miketorres
Contributor II

Hi, 

I try write a program in design studio which generate digital signal about 1000HZ frequency (square signal) using pin with function gpio. Next I have to read this signal by using ftm. And finally I have to enable change frequency by using sw2 and sw3 buttons by 100HZ ( for example: If I once pushed sw2 button frequency should be 1100 HZ and so on. This button should enable increase and decrease frequency.) Could you help and correct my mistake? I don't know what is wrong with this code. I will be very grateful.

Regards 

0 件の賞賛
返信
1 解決策
6,864件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@miketorres

Sorry for the late reply.       

I wrote a example project for you, and it works fine on my side.  

BR!

      Jim,

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

3 返答(返信)
6,865件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@miketorres

Sorry for the late reply.       

I wrote a example project for you, and it works fine on my side.  

BR!

      Jim,

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

6,886件の閲覧回数
miketorres
Contributor II

Anyone help?

0 件の賞賛
返信
6,888件の閲覧回数
miketorres
Contributor II

No

0 件の賞賛
返信
An error has occurred when reading existing sub-variable "Language_PG_Configuration"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.NamedValueByNameTemplateModel wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign redirect_lingo_page_url = web... [in template "language_macro_header.ftl" at line 173, column 1] - Reached through: #include "language_macro_header.ftl" [in template "Language_translator_Dashboard" at line 3, column 1] ----