M30845FJGP#U3 Renesas Electronics America, M30845FJGP#U3 Datasheet - Page 426
Manufacturer Part Number
IC M32C MCU FLASH 512K 144LQFP
Renesas Electronics America
Specifications of M30845FJGP#U3
CAN, I²C, IEBus, SIO, UART/USART
DMA, PWM, WDT
Number Of I /o
Program Memory Size
512KB (512K x 8)
Program Memory Type
24K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
A/D 34x10b, D/A 2x8b
-40°C ~ 85°C
Package / Case
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Renesas Electronics America
126.96.36.199 FMSTP Bit
188.8.131.52 FMR05 Bit
184.108.40.206 FMR06 Bit
220.127.116.11 FMR07 Bit
18.104.22.168 FMR11 Bit
22.214.171.124 FMR16 Bit
The FMSTP bit resets the flash memory control circuits and minimizes power consumption in the flash
memory. Access to the flash memory is disabled when the FMSTP bit is set to "1". Set the FMSTP bit
by program in a space other than the flash memory.
Set the FMSTP bit to "1" if one of the followings occurs:
Use the following the procedure to change the FMSTP bit setting.
Figure 25.8 shows a flow chart illustrating how to start and stop the flash memory before and after
entering low power mode. Follow the procedure on this flow chart.
When entering stop or wait mode, the flash memory is automatically turned off. When exiting stop or
wait mode, the flash memory is turned back on. The FMR0 register does not need to be set.
The FMR05 bit selects the boot ROM or user ROM area in boot mode. Set to "0" to access (read) the
boot ROM area or to "1" (user ROM access) to access (read, write or erase) the user ROM area.
The FMR06 bit is a read-only bit indicating an auto program operation state. The FMR06 bit is set to "1"
when a program error occurs; otherwise, it is set to "0". Refer to 25.3.8 Full Status Check.
The FM07 bit is a read-only bit indicating the auto erase operation state. The FMR07 bit is set to "1"
when an erase error occurs; otherwise, it is set to “0”. For details, refer to 25.3.8 Full Status Check.
Figure 25.6 shows how to enter and exit EW mode 0. Figure 25.7 shows how to enter and exit EW
EW mode 0 is entered by setting the FMR11 bit to "0" (EW mode 0).
EW mode 1 is entered by setting the FMR11 bit to "1" (EW mode 1).
The FMR16 bit is a read-only bit indicating the execution result of the read lock bit status command.
When the block, where the read lock bit status command is executed, is locked, the FMR16 bit is set to "0".
When the block, where the read lock bit status command is executed, is unlocked, the FMR16 bit is set to "1".
• A flash memory access error occurs while erasing or programming in EW mode 0 (FMR00 bit does
• Low-power consumption mode or on-chip low-power consumption mode is entered.
(1) Set the FMSTP bit to "1"
(2) Set tps (the wait time to stabilize flash memory circuit)
(3) Set the FMSTP bit to "0"
(4) Set tps (the wait time to stabilize flash memory circuit)
not switch back to "1" (ready)).
25. Flash Memory Version