2.23.5 TC Outputs
The TC0/1/2/3 output is not working as expected with PPS; output signals are not visible on output pins via PPS even though the TC is working correctly.
Work Around:
Set COPENx and CAPTENx before enabling/re-enabling the Timer Counter.Set
TC.CTRLA.COPENx=1
and TC.CTRLA.CAPTENx=1
before enabling/re-enabling the timer counter.
- Configure PPS for output to the desired pin.
- Initialize the timer counter.
- TC.CTRLA.COPENx=
1
- TC.CTRLA.CAPTENx=
1
- Start/enable the timer counter.
Note:
This work around is only applicable to the A0 revision and does not work in the A2 revision.
For A2, TC0/1/2/3 are working as expected with PPS.Affected Silicon Revisions
PIC32CX1012BZ25048/WBZ451/WBZ451HA0 | A2 | |||||
---|---|---|---|---|---|---|
X |
A2 | |||||
---|---|---|---|---|---|