Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
© 2010 Microchip Technology Inc. DS39724B-page 11-27
Section 11. CTMU
CTMU
11
11.10 OPERATION DURING SLEEP/IDLE MODES
11.10.1 Sleep Mode and Deep Sleep Modes
When the device enters any Sleep mode, the CTMU module current source is always disabled.
If the CTMU is performing an operation that depends on the current source when Sleep mode is
invoked, the operation may not terminate correctly. Capacitance and time measurements may
return erroneous values.
11.10.2 Idle Mode
The behavior of the CTMU in Idle mode is determined by the CTMUSIDL bit (CTMUCON<13>
or CTMUCON1<13>). If CTMUSIDL is cleared, the module will continue to operate in Idle mode.
If CTMUSIDL is set, the modules current source is disabled when the device enters Idle mode.
If the module is performing an operation when Idle mode is invoked, in this case, the results will
be similar to those with Sleep mode.
11.11 EFFECTS OF A RESET ON CTMU
Upon Reset, all registers of the CTMU are cleared. This leaves the CTMU module disabled, its
current source is turned off and all configuration options return to their default settings. The
module needs to be re-initialized following any Reset.
If the CTMU is in the process of taking a measurement at the time of Reset, the measurement will
be lost. A partial charge may exist on the circuit that was being measured and should be properly
discharged before the CTMU makes subsequent attempts to make a measurement. The circuit is
discharged by setting and then clearing the IDISSEN bit (CTMUCON<9> or CTMUCON1<9>)
while the A/D Converter is connected to the appropriate channel.
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ32MC10X-Reference_Manual-Section11-Charge_Time_Measurement_Unit.pdf