cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

RyYo_1406951
Contributor II

The same question is written in English and Japanese.

・Einglish
I am rewriting the Compare value (TCPWM_CNTx_CC) using DMA.
At what timing will the rewritten Compare value be reflected?

https://community.cypress.com/message/171618
In the above thread (PSoC5LP PWM [UDB]), there was description as follows.
If you write the compare value less than the counter value, the PWM will process the compare value in the next overflow cycle ( Counter will overflow and restart from beginning and the new compare value will be processed).
If the compare value is greater than the counter value, the PWM will process it in the same cycle.

Will PWM of PSoC 4 SP also behave similarly?

・Japanese
DMA使用し、Compare値(TCPWM_CNTx_CC)を書き換えています。
書き換えたCompare値はどのタイミングで反映されますか?

https://community.cypress.com/message/171618
上記スレッド(PSoC5LP PWM[UDB])で、以下のような言葉がありました。
If you write the compare value less than the counter value, the PWM will process the compare value in the next overflow cycle ( Counter will overflow and restart from beginning and the new compare value will be processed).
If the compare value is greater than the counter value, the PWM will process it in the same cycle.

PSoC4SPのPWMも同じような動作になるのでしょうか?

0 Likes
1 Solution
3 Replies
TakashiM_61
Moderator
Moderator

As answered in previous post, the answer is yes.

PSoC4SPのPWMでも同じ動作になります。

RyYo_1406951
Contributor II

回答ありがとうございました。

0 Likes