r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 666

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
32.4.1
Notes:
1. The RDYSTI bit cannot be set to 1 (flash ready status interrupt request) by a program.
2. The BSYAEI bit cannot be set to 1 (flash access error interrupt request) by a program.
3. This bit is also set to 1 (error) when a command error occurs.
4. When this bit is set to 1, do not set the FMR01 bit in the FMR0 register to 0 (CPU rewrite mode disabled).
RDYSTI Bit (Flash Ready Status Flag Interrupt Request Flag)
After Reset
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Address 01B2h
[Condition for setting to 0]
Set to 0 by an interrupt handling program.
[Condition for setting to 1]
When the flash memory status changes from busy to ready while the RDYSTIE bit in the FRMR0 register is set
to 1, the RDYSTI bit is set to 1.
The status is changed from busy to ready in the following states:
When writing 0 (no flash ready status interrupt request) to the RDYSTI bit, read this bit (dummy read) before
writing to it.
Make sure the DTC is not activated by the flash ready status source between reading and writing.
To confirm this bit, set the RDYSTIE bit in the FMR0 register to 1 (flash ready status interrupt enabled).
When writing 0 (no flash access error interrupt request) to the BSYAEI bit, read this bit (dummy read) before
writing to it.
To confirm this bit, set the BSYAEIE bit in the FMR0 register to 1 (flash access error interrupt enabled) or set the
CMDERIE bit in the FMR0 register to 1 (erase/write error interrupt enabled).
When the RDYSTIE bit in the FMR0 register is set to 1 (flash ready status interrupt enabled) and auto-
programming or auto-erasure completes, or erase-suspend mode is entered, the RDYSTI bit is set to 1 (flash
ready status interrupt request).
During interrupt handling, set the RDYSTI bit to 0 (no flash ready status interrupt request).
Symbol
Completion of erasing/programming the flash memory
Suspend acknowledgement
Completion of forcible termination
Completion of the lock bit program
Completion of the read lock bit status
Completion of the block blank check
When the flash memory can be read after it has been stopped.
LBDATA LBDATA monitor flag
RDYSTI Flash ready status interrupt request
BSYAEI Flash access error interrupt request
Symbol
Bit
FST4
FST5
FST6
FST7
Flash Memory Status Register (FST)
FST7
b7
1
flag
flag
Program error flag
Erase error/blank check error flag
Erase-suspend status flag
Ready/busy status flag
Nothing is assigned. If necessary, set to 0. When read, the content is 0.
(1, 4)
(2, 4)
FST6
b6
0
Bit Name
FST5
(3)
b5
0
FST4
b4
0
(3)
0: No flash ready status interrupt request
1: Flash ready status interrupt request
0: No flash access error interrupt request
1: Flash access error interrupt request
0: Locked
1: Not locked
0: No program error
1: Program error
0: No erase error/blank check error
1: Erase error/blank check error
0: Other than erase-suspend
1: During erase-suspend
0: Busy
1: Ready
b3
0
LBDATA
b2
X
BSYAEI
Function
b1
0
RDYSTI
b0
0
32. Flash Memory
Page 634 of 740
R/W
R/W
R/W
R
R
R
R
R

Related parts for r5f21346mnfp