TXZ Family
Flash Memory
2018-06-05
100 / 120
Rev. 2.0
6.6.7. Communication Rules for Determination of Serial Operation Mode
This section describes the communication rule for determination of serial operation mode. Transfer directions in the
table are indicated as follows:
Transfer direction (C
T): Controller to TXZ
Transfer direction (T
C): TXZ from controller
Table 6.13
Communication rules for determination of serial operation mode
No
Transfer
direction
Transfer data
Description
1
C
T
Serial operation mode and
baud rate setting
Controller transmits data to determine the serial
operation mode. For details of mode determination of
the target, refer to “6.6.6.1Serial Operation Mode
0x86
Controller transmits “0x86”. If the target determines
UART mode is OK, the target successively determines
whether baud rate setting is possible or not. If not, the
program stops and communication is shutdown.
2
T
C
ACK response to serial
operation mode
Receive data from the controller is ACK response data
responding to the 1
st
byte of serial operation mode
setting data.
If the target determines the setting is possible, the
target sets the UART. Data reception should be
enabled before data is programmed to the transmit
buffer.
Normal state: 0x86
If the target determines the setting is possible, the
target transmits “0x86”. If the target determines the
setting is not possible, the target transmits nothing,
and stops the operation.
Set a time out time (5 sec.) after the controller finished
transmitting the 1
st
byte of data. If the controller does
not receive data “0x86” properly within a time-out time,
it should be determined as a communication failure.
3
-
-
Controller transmits operation command data.
For details of transfer format of each operation
command, refer to “6.6.8. Communication Rules of
RAM Transfer Command” or “6.6.9. Communication
Rules of Flash memory Erasing”.