h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 477

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.4.4
The SSU performs data communications using the bus with four lines: the clock line (SSCK), data
input (SSI or SSO), data output (SSI or SSO), and chip select (
The SSU also supports bidirectional mode in which the data is output and input using one pin.
SSU Initialization
Figure 16.4 shows an example of the SSU initialization. Before transmitting and receiving data,
first clear the TE and RE bits in SSER to 0, then initialize the SSU.
Note: When the operating mode or transfer format is changed for example, the TE and RE bits
must be cleared to 0. When the TE bit is cleared to 0, the TDRE bit is set to 1. Note that
clearing the RE bit to 0 does not initialize the values of the RDRF and ORER bits or the
contents of SSRDR.
[1]
[2]
[3]
[4]
Data Transmission and Data Reception
Specify CSS1, CSS0, MSS, BIDE, SOL,
Specify CKS2 to CKS0, MLS, CPOS,
Clear TE and RE bits in SSER to 0
Specify TE, RE, TEIE, TIE, RIE,
Specify bits DATS1 and DATS0
and CEIE bits simultaneously
Start initialization
and SCKS bits
and CPHS bits
Figure 16.4 Example of SSU Initialization
End
Section 16 Synchronous Serial Communication Unit (SSU)
[1] Specify master/slave device selection,
[2] Specify transmit/receive data length.
[3] Specify MSB first/LSB first selection, clock
[4] Specify enable/disable of interrupt request
bidirectional mode enable, SSO pin
output value selection, SSCK pin selection,
and SCS pin selection.
polarity selection, clock phase selection,
and transfer clock rate selection.
to the CPU.
Rev. 3.00 Oct 04, 2005 page 437 of 598
S C S
) .
REJ09B0155-0300

Related parts for h8s-2628