7. Transmit interrupt request when transmit enable bit is set
sequence.
1. Set the serial I/O3 transmit interrupt enable bit to 鈥?鈥?(dis-
abled).
2. Set the transmit enable bit to 鈥?鈥?
3. Set the serial I/O3 transmit interrupt request bit to 鈥?鈥?after
1 or more instruction has executed.
4. Set the serial I/O3 transmit interrupt enable bit to 鈥?鈥?/div>
(enabled).
鈥?Reason
When the transmit enable bit is set to 鈥?鈥? the transmit buffer
empty flag and the transmit shift register shift completion flag
are also set to 鈥?鈥? Therefore, regardless of selecting which
timing for the generating of transmit interrupts, the interrupt
request is generated and the transmit interrupt request bit is set
at this point.
Set the bits 0 to 3 and bit 6 of
the serial I/O3 control register
Can be set with the
LDM
instruction at
the same time
Set both the transmit enable bit
(TE) and the receive enable bit
(RE), or one of them to 鈥?鈥?/div>
5.Data transmission control with referring to transmit shift
register completion flag
鈥?Note
After the transmit data is written to the transmit buffer register,
the transmit shift register completion flag changes from 鈥?鈥?to
鈥?鈥?with a delay of 0.5 to 1.5 shift clocks. When data
transmission is controlled with referring to the flag after
writing the data to the transmit buffer register, note the delay.
6. Transmission control when external clock is selected
鈥?Note
When an external clock is used as the synchronous clock for
data transmission, set the transmit enable bit to 鈥?鈥?at 鈥淗鈥?of
the S
CLK3
input level. Also, write data to the transmit buffer
register at 鈥淗鈥?of the S
CLK
input level.
Rev.1.00 Apr 2, 2007
REJ03B0212-0100
Page 56 of 117
prev
next