
R01UH0336EJ0102 Rev.1.02
Page 316 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 9 Safety Functions
9.4.2
Output of a Toggled Signal during Execution of Self-
Diagnostic BIST
A Toggled signal can be output while self-diagnostic BIST is executed. This
function can be used, for example, to clear the counter of the external watch
dog timer. The pin (TGLOUT) used for output of the toggled signal is P8_0,
and the setting of the OPBT0.FOP23 bit selects the initial state of the pin.
The P8_0/TGLOUT pin is in the Hi-Z state until the value for the OPBT0 is
fixed from within the reset to flash reset sequence. Changing the setting in the
TGLOUTOE register after Self-Diagnostic BIST allows the use of this facility as
well as one of the other pin functions.
When FOP23 = 0
• After release from the reset state, TGLOUT mode is selected and a toggled
signal is output with the cycle selected by FOP22 (duty cycle: 50%)
• The TGLOUT pin will be at the low level after Self-Diagnostic BIST.
Note
The toggled output from the TGLOUT pin does not always end at the same
time as the completion of Self-Diagnostic BIST. The output on the TGLOUT pin
is fixed to the low level once it is toggled to the low level after Self-Diagnostic
BIST is completed. Check the TGLOUTOE.TGLOUTSTS bit to see whether
toggled output on the TGLOUT pin has stopped.
• Follow the procedure below when changing the function of the TGLOUT pin
to port mode after the CPU has started executing instructions.
• After the CPU has started executing instructions, set low-level output on bit
P8_0. Then, set the PM8 register to enable output.
• Change the setting of the TGLOUTOE register from TGLOUT mode to port
mode.
• Change the setting of the PMC8 register to select control mode.
• Output a toggled signal by setting TAUB0 channel 15 or OST1 timer output
(the other functions multiplexed with P8_0).
When FOP23 = 1
After the CPU has started executing instructions, the operation is in port/
control mode and the pin remains in the Hi-Z state until the port register is set.
Table 9-7
Selecting the Function of the P8_0/TGLOUT Pin
OPBT0.FOP23
Selected Function
0
The toggled signal is output from P8_0
1
The toggled signal is not output from P8_0 (port/
control mode is selected by the port register)
Table 9-8
Selecting the Cycle of Toggling
OPBT0.FOP22
Selected Cycle of Toggling
0
6.55 ms
1
13.10 ms
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...