5.6.1.1 Nonvolatile Memory (NVM) Control Register

Note:
  1. These bits can only be reset on a POR.
  2. If this bit is set, there will be minimal power savings (IIDLE), and upon exiting Idle mode, there is a delay (TVREG) before Flash memory becomes operational.
  3. All other combinations of NVMOP[3:0] are unimplemented.
  4. Execution of the PWRSAV instruction is ignored while any of the NVM operations are in progress.
  5. Two adjacent words on a 4-word boundary are programmed during execution of this operation.

Legend: C = Clearable bit; SO = Settable Only bit

Name: NVMCON
Offset: 0x8D0

Bit 15141312111098 
 WRWRENWRERRNVMSIDL  RPDFURERR 
Access R/SOR/WR/CR/WR/WR/C 
Reset 000000 
Bit 76543210 
     NVMOP[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 

Bit 15 – WR  Write Control bit(1)

ValueDescription
1

Initiates a Flash memory program or erase operation; the operation is self-timed and the bit is cleared by hardware once the operation is complete.

0

Program or erase operation is complete and inactive.

Bit 14 – WREN  Write Enable bit(1)

ValueDescription
1

Enables Flash program/erase operations

0

Inhibits Flash program/erase operations

Bit 13 – WRERR  Write Sequence Error Flag bit(1)

ValueDescription
1

An improper program or erase sequence attempt, or termination has occurred (bit is set automatically on any set attempt of the WR bit).

0

The program or erase operation completed normally.

Bit 12 – NVMSIDL  NVM Stop in Idle Control bit(2)

ValueDescription
1

Flash voltage regulator goes into Standby mode during Idle mode.

0

Flash voltage regulator is active during Idle mode.

Bit 9 – RPDF Row Programming Data Format bit

ValueDescription
1

Row data to be stored in RAM are in a compressed format.

0

Row data to be stored in RAM are in an uncompressed format.

Bit 8 – URERR Row Programming Data Underrun Error bit

ValueDescription
1

Indicates row programming operation has been terminated.

0

No data underrun error is detected.

Bits 3:0 – NVMOP[3:0]  NVM Operation Select bits(1,3,4)

ValueDescription
1111

Reserved

1110

User memory bulk erase operation

1101

Reserved

1100

Reserved

1011

Reserved

1010

Reserved

1001

Reserved

1000

Reserved

0111

Reserved

0101

Reserved

0100

Reserved

0011

Memory page erase operation

0010

Memory row program operation

0001

Memory double-word operation(5)

0000

Reserved