- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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も同じような動作になるのでしょうか?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As answered in previous post, the answer is yes.
PSoC4SPのPWMでも同じ動作になります。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
回答ありがとうございました。