跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

Why is it no PWM waveform is output from MTIOCij?

Latest Updated:01/23/2014

Question:

I want to use channel 3 or 4 (MTU3, MTU4) of multi-function timer pulse unit 2 (MTU2a) and output a PWM waveform from MTIOCij (i= 3 or 4, j=A, B, C, or D), but no waveform is output. What is causing this?

Answer:

Has the TOER register of MTU2a been set? Output from the MTIOCij pins of channels 3 and 4 (MTU3, MTU4) is disabled following the release of a reset. MTU output needs to be enabled using the TOER register.

Set MTU3 and MTU4 in the following order.
1. Set the CST3 and CST4 bits of the TSTR register to 0.
2. Set the TOER register.
3. Set the TIOR register.

Suitable Products
RX630
RX63N, RX631
RX210