R01UH0823EJ0100 Rev.1.00
Page 1719 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
Bit rate selection error
A bit rate selection error occurs when the bit rate specified with the operating frequency select command cannot be set to
a value with error of less than 4%. When the new bit rate specified with the operating frequency select command is B,
and 32 (MHz) or 8 (MHz) corresponding to the operating voltage is Pφ, the bit rate error is calculated by the following
formula:
Pφ: 32 (MHz) when the operating voltage is 3.0 V or above
8 (MHz) when the operating voltage is below 3.0 V
B: New bit rate (bps)
N: Ratio between Pφ and the new bit rate multiplied by 32 (however, 1 ≤ N ≤ 256)
50.10.6.3
Program/Erase Host Command Wait State Transition
This command is used for the transition from the inquiry/setting host command wait state to the program/erase host
command wait state.
When the MCU receives this command, it determines whether boot mode ID code protection is enabled or disabled.
When boot mode ID code protection is disabled, all blocks in the user area and data area are erased.
When all blocks are successfully erased, the MCU sends a response (06h) and enters the program/erase host command
wait state. If not all blocks are successfully erased, the MCU sends an error response.
When boot mode ID code protection is enabled, the MCU sends a response (16h) and enters boot mode ID code
authentication state.
ACK (1 byte): ACK code
06h: ID code protection is disabled.
16h: ID code protection is enabled.
Error (1 byte): Error code
51h: Erase error
Command
40h
Response
ACK
Error response
C0h
Error
Error %
P
10
6
B 32 N
---------------------------
1
–
100
=
N
INT
P
10
6
B 32
------------------------
=