TA600032-EN0/0
- 84 -
6.8.2.7
Port change interrupt information acquisition failure event
"G9006" can output an "Interrupt request" signal (INT pin) by the "Port change interrupt information acquisition failure event"
(MSTS.IPOV) interrupt.
This interrupt is generated when the "Port change event" (MSTS.IPTC) interrupt is generated and the previous "Port change
event" interrupt has not been cleared.
When multiple "Port change event" interrupts occur in the same "Local LSI", the "Port change interrupt information" (PCII) in
the queue is not reliable. Once "PCII.S = 1" is read, the "Port change interrupt flag" must be cleared without using the "Port
change interrupt information reading" control command.
Example) (1st round) 0, 1, 62, 63, (2nd round) 0.
"Port change interrupt information" with the latest number "0" cannot be read.
This "Port change interrupt flag" will be cleared if "Port change interrupt information" in the leading number "0", is read.
If the "Device numbers" of multiple "Port change interrupt information" recorded in the queue are out of order, the "Port change
interrupt information" in the queue is not reliable. Once "PCII.S = 1" is read, the "Port change interrupt flag" must be cleared
without using the "Port change interrupt information reading" control command.
Example) (1st round) 62, 63, 1, 2, (2nd round) 0.
"Port change interrupt information" with the following number, "1" and "2", cannot be read.
"Port change interrupt flag memory" is checked only from the first number "62" to the latest number "0".
6.8.2.7.1
Interrupt condition setting
"G9006" can generate "Port change interrupt information acquisition failure event" interrupt when "RENV1.QPOV = 1" is set by
"Local CPU".
6.8.2.7.2
Interrupt request output
When "G9006" generates the "Port change interrupt information acquisition failure event" interrupt, "MSTS.IPOV = 1" is set.
After detecting the difference of "Port data", "INT = L level" is output when the next "Request frame" is normally received.
If the "Request frame" is not received normally, "INT = L level" is output when the next "Response frame" is received normally.
"Interrupt request" signal is not output until any "Request frame" is received.
6.8.2.7.3
Interrupt factor clear
When "G9006" generates the "Port change interrupt information acquisition failure event" interrupt, the "Port change interrupt
information reading" control command does not work properly.
Set "MSTS.IPOV = 0" from "Local CPU" by the following procedure.
1.
Set the "RENV1.QPOV = 0".
2.
Read all "Port change interrupt flags" with the "Port change interrupt flag reading" control command.
Read the required "Port data" with the "Port data memory reading" control command.
(These are not required steps.)
3.
Clear all "Port change interrupt flags" with the "Port change interrupt flag clear" control command.
4.
Write the "CCPV" (25h) operation command.
5.
Set the "RENV1.QPOV = 1".
When "MSTS.IPOV = 0" is set, "INT = H level" is output.