English
Language : 

SH7263 Datasheet, PDF (850/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 16 Synchronous Serial Communication Unit (SSU)
(2) Data Transmission
Figure 16.13 shows an example of transmission operation, and figure 16.14 shows a flowchart
example of data transmission. When transmitting data in clock synchronous communication mode,
the SSU operates as shown below.
In master mode, the SSU outputs a transfer clock and data. In slave mode, when a transfer clock is
input to the SSCK pin, the SSU outputs data in synchronization with the transfer clock.
Writing transmit data to SSTDR after the TE bit is set to 1 clears the TDRE bit in SSSR to 0, and
the SSTDR contents are transferred to SSTRSR. After that, the SSU sets the TDRE bit to 1 and
starts transmission. At this time, if the TIE bit in SSER is set to 1, a transmit-data-empty SSTXI
interrupt is generated.
When 1-frame data has been transferred with TDRE = 0, the SSTDR contents are transferred to
SSTRSR to start the next frame transmission. When the 8th bit of transmit data has been
transferred with TDRE = 1, the TEND bit in SSSR is set to 1 and the state is retained. At this time,
if the TEIE bit in SSER is set to 1, a transmit-end SSTXI interrupt is generated.
While the ORER bit in SSSR is set to 1, transmission is not performed. Check that the ORER bit
is cleared to 0 before transmission.
SSCK
SSO
TDRE
TEND
Bit 0
Bit 1
1 frame
Bit 7
Bit 0
Bit 1
1 frame
LSI operation
User operation
SSTXI interrupt
generated
Data written
to SSTDR
Data written
to SSTDR
SSTXI interrupt
generated
Figure 16.13 Example of Transmission Operation
(Clock Synchronous Communication Mode)
Bit 7
SSTXI interrupt
generated
Rev. 2.00 Mar. 14, 2008 Page 816 of 1824
REJ09B0290-0200