1.7.1 Device Resets on Wake-Up from Sleep (PIC16LF1938/1939 devices only)
This issue affects only the PIC16LF1938/1939 devices. These devices may undergo a BOR Reset when waking up from Sleep and BOR is re-enabled. A BOR Reset may also occur the moment the software BOR is enabled.
Under certain voltage and temperature conditions and when either SBODEN or BOR_NSLEEP is selected, the devices may occasionally reset when waking up from Sleep or BOR is enabled.
Work around
Method 1:
In applications where BOR use is not critical, turn off the BOR in the Configuration Word.
Method 2:
Set the FVREN bit of the FVRCON register. Maintain this bit 'ON' at all times.
Method 3:
- Wake-up event occurs.
- Turn on the FVR (FVREN bit of the FVRCON register).
- Wait until the FVRRDY bit is set.
- Wait 15 μs after the FVRRDY bit is set.
- Manually turn on the BOR.
Method 4:
- Switch to the internal 32 kHz oscillator immediately before Sleep.
- Upon wake-up, turn on the FVR (FVREN bit of the FVRCON register).
- Manually turn on the BOR.
- Switch the clock back to the preferred clock source.
Affected Silicon Revisions
| A1 | A2 | A3 | |||||
| X | X |
