h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 501
![no-image](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__sml.jpg)
h8s-2158
Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.H8S-2158.pdf
(927 pages)
- Current page: 501 of 927
- Download datasheet (7Mb)
16.7.5
Before starting transmitting and receiving data, initialize the SCI using the following procedure.
Initialization is also necessary before switching from transmission to reception and vice versa.
1. Clear the TE and RE bits in SCR to 0.
2. Clear the error flags ORER, ERS, and PER in SSR to 0.
3. Set the GM, BLK, O/E, BCP1, BCP0, CKS1, and CKS0 bits in SMR appropriately. Also set
4. Set the SMIF, SDIR, and SINV bits in SCMR appropriately. When the SMIF bit is set to 1, the
5. Set the value corresponding to the bit rate in BRR.
6. Set the CKE1 and CKE0 bits in SCR appropriately. Clear the TIE, RIE, TE, RE, MPIE, and
7.
To switch from reception to transmission, first verify that reception has completed, and initialize
the SCI. At the end of initialization, RE and TE should be set to 0 and 1, respectively. Reception
completion can be verified by reading the RDRF flag or PER and ORER flags. To switch from
transmission to reception, first verify that transmission has completed, and initialize the SCI. At
the end of initialization, TE and RE should be set to 0 and 1, respectively. Transmission
completion can be verified by reading the TEND flag.
the PE bit to 1.
TxD and RxD pins are changed from port pins to SCI pins, placing the pins into high
impedance state.
TEIE bits to 0 simultaneously. When the CKE0 bit is set to 1, the SCK pin is allowed to output
clock pulses.
Do not set the TE and RE bits to 1 simultaneously except for self diagnosis.
Set the TIE, RIE, TE, and RE bits in SCR appropriately after waiting for at least 1 bit interval.
Initialization
Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
Rev. 3.00 Jan 25, 2006 page 449 of 872
REJ09B0286-0300
Related parts for h8s-2158
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![h8s-2138](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2169](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2161b](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2110b](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2111b](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2172](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2635](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2649](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2646](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![h8s-2628](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![HD6417709S](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![M30291FCTHP](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![R0K505210S000BE](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
![R0K505630S000BE](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
![R0K50563NS000BE](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.