- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello all !
I'm studying how the OPWMCB mode of eMIOS channel works in order to set-up a center aligned PWM output. I've seen that the only Flag generation that OPWMCB mode is in the trailing or both trailing-leading edges of PWM pulse but instead of this I need flag at bus over/underflow.
I need to trigger my ADC conversions at the points that are shown in the image bellow:
Does anyone know if it is possible to trigger an ADC conversion with BCTU at the time shown in the image ?
Kind regards,
kyf
解決済! 解決策の投稿を見る。


- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
in OPWMCB mode you need to select the timebase using Bus Select (Cn[BSL]). The timebase you select must be running in Up Count-Down Count mode and this timebase define PWM period. The channel generating this timebase can be then used to trigger ADC conversions at middle and period boundary.
See MCB mode description to know more about flag generation in MCB Up Count-Down Count mode.
BR, Petr


- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
in OPWMCB mode you need to select the timebase using Bus Select (Cn[BSL]). The timebase you select must be running in Up Count-Down Count mode and this timebase define PWM period. The channel generating this timebase can be then used to trigger ADC conversions at middle and period boundary.
See MCB mode description to know more about flag generation in MCB Up Count-Down Count mode.
BR, Petr
