HD6435348R Hitachi Semiconductor, HD6435348R Datasheet - Page 290

no-image

HD6435348R

Manufacturer Part Number
HD6435348R
Description
Single-Chip Microcomputer
Manufacturer
Hitachi Semiconductor
Datasheet
2. Clock: Either the internal serial clock created by the on-chip baud rate generator or an external
3. Data Transmission and Reception
clock input at the SCK pin can be selected in the synchronous mode. See table 14-6 for details.
• SCI Initialization: Before data can be transmitted or received, the SCI must be initialized
The TE and RE bits must both be cleared to 0 whenever the operating mode or data format is
changed. After changing the operating mode or data format, before setting the TE and RE bits
to 1 software must wait for at least 1 bit transfer time at the selected communication speed, to
make sure the SCI is initialized.
* The SCK pin is used for input or output according to the C/A bit in the serial mode register
Serial clock
Data
by software. To initialize the SCI, software must clear the TE and RE bits to 0 to disable
both the transmit and receive functions, then execute the following procedure.
(1) Write the value corresponding to the desired bit rate in the BRR. (This step is not
(2) Select the clock in the SCR.
(3) Select the synchronous mode in the SMR*.
(4) Set the TE and/or RE bit to 1, and enable desired interrupts in the SCR.
(SMR) and the CKE0 and CKE1 bits in the serial control register (SCR). (See table 14-6.)
To prevent unwanted output at the SCK pin, pay attention to the order in which you set
SMR and SCR.
necessary if an external clock is used.)
Don’t-care
Bit 0
Figure 14-4 Data Format in Synchronous Mode
Bit 1
Bit 2
276
Bit 3
Transmission direction
Bit 4
Bit 5
Bit 6
Don’t-care
Bit 7

Related parts for HD6435348R