EasyManuals Logo

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1665 background imageLoading...
Page #1665 background image
R01UH0823EJ0100 Rev.1.00 Page 1665 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.4.5 Flash P/E Mode Control Register (FPMCR)
The FPMCR register is used to set the operating mode of the flash memory.
This register is protected. Set its value using the procedure to unlock protection. For details, refer to
section 50.4.3,
Protection Unlock Register (FPR)
.
When entering discharge mode 2 or ROM P/E mode, or during either of these modes, an instruction must be executed on
the RAM.
FMS0, FMS1, and FMS2 Bits (Flash Operating Mode Select 0 to Flash Operating Mode Select 2)
These bits are used to set the operating mode of the flash memory.
[Transition from read mode to ROM P/E mode]
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 1 (tDIS, refer to
section 51, Electrical Characteristics).
Set the FMS2 bit = 1, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Set the FMS2 bit = 1, the FMS1 bit = 0, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 2 (tMS, refer to
section 51, Electrical Characteristics).
[Transition from ROM P/E mode to read mode]
Set the FMS2 bit = 1, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 1 (tDIS, refer to
section 51, Electrical Characteristics).
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Set the FMS2 bit = 0, the FMS1 bit = 0, the FMS0 bit = 0, and the RPDIS bit = 1.
Wait for ROM mode transition wait time 2 (tMS, refer to
section 51, Electrical Characteristics).
[Transition from read mode to E2 DataFlash P/E mode]
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 0, and the RPDIS bit = 0.
[Transition from E2 DataFlash P/E mode to read mode]
Set the FMS2 bit = 0, the FMS1 bit = 0, the FMS0 bit = 0, and the RPDIS bit = 1.
Address(es): FLASH.FPMCR 007F C100h
b7 b6 b5 b4 b3 b2 b1 b0
FMS2 LVPE FMS1 RPDIS FMS0
Value after reset:
00001000
Bit Symbol Bit Name Description R/W
b0 Reserved This bit is read as 0. The write value should be 0. R/W
b1 FMS0 Flash Operating Mode Select 0
FMS2 FMS1 FMS0
0 0 0: ROM/E2 DataFlash read mode
0 1 0: E2 DataFlash P/E mode
0 1 1: Discharge mode 1
1 0 1: ROM P/E mode
1 1 1: Discharge mode 2
Settings other than above are prohibited.
R/W
b2 Reserved This bit is read as 0. The write value should be 0. R/W
b3 RPDIS ROM P/E Disable 0: ROM programming/erasure enabled
1: ROM programming/erasure disabled
R/W
b4 FMS1 Flash Operating Mode Select 1 See the FMS0 bit. R/W
b5 Reserved This bit is read as 0. The write value should be 0. R/W
b6 LVPE Low-Voltage P/E Mode Enable 0: Low-voltage P/E mode disabled
1: Low-voltage P/E mode enabled
R/W
b7 FMS2 Flash Operating Mode Select 2 See the FMS0 bit. R/W

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals