PWM control using QN9080

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

PWM control using QN9080

ソリューションへジャンプ
1,842件の閲覧回数
roem
Contributor II

I'm using the QN9080.
I'm generating PWM using SCTimer.
I want to create a function that stops and regenerates the PWM when a specific command is received.
In the example of scimer_simple_pwm, the PWM generation has been tested, but the PWM output does not stop.
I thought using the SCTIMER_StopTimer function would stop the output at zero, but I guess not.

How can I turn the PWM output on and off?

タグ(4)
0 件の賞賛
返信
1 解決策
1,805件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

Some material for you to refer. Send a command string through Bluetooth to control a QN908X three-phase PWM. 

The attachment is the code.

Have a great day,
TIC

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

- We are following threads for 7 days 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.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

5 返答(返信)
1,836件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

How did you test? If possible, make some screenshots about your code.

Have a great day,
TIC

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

- We are following threads for 7 days 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.
-------------------------------------------------------------------------------

0 件の賞賛
返信
1,830件の閲覧回数
roem
Contributor II

roem_0-1607643325702.png

 

Hi,

Here's the code.

 

Thx.

 

 

0 件の賞賛
返信
1,822件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

The red circle code, you needn't put it in the function. deinit should be removed. 

3.png

 

Have a great day,
TIC

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

- We are following threads for 7 days 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.
-------------------------------------------------------------------------------

0 件の賞賛
返信
1,818件の閲覧回数
roem
Contributor II

Thank you for your answer.
So the PWM is output with the StartTimer, and the PWM is stopped with the StopTimer?
The red circle code was in that function, so it didn't stop?

0 件の賞賛
返信
1,806件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

Some material for you to refer. Send a command string through Bluetooth to control a QN908X three-phase PWM. 

The attachment is the code.

Have a great day,
TIC

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

- We are following threads for 7 days 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.
-------------------------------------------------------------------------------