03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SERIAL COMMUNICATIONS UNIT<br />

BCLK is an asynchronous input. However, the pin does have setup and hold times, which guarantee<br />

recognition at a specific CLKOUT. If the BCLK input signal has high and low times that<br />

are both at least 1½ CLKOUT periods, than synchronization to CLKOUT is not necessary. However,<br />

when the BCLK signal has a high or a low time of less than 1½ CLKOUT periods, meeting<br />

the setup and hold times to CLKOUT is necessary to avoid missing BCLK transitions. The maximum<br />

input frequency to BCLK is one-half the frequency of CLKOUT (CPU operating frequency).<br />

11.3.3 Mode 0 Timings<br />

This section shows the timings of the TXD and RXD pins in Mode 0. In Mode 0, TXD never<br />

floats. When not transmitting or receiving, TXD is high. RXD floats except when transmitting a<br />

character.<br />

11.3.3.1 CLKOUT as Baud Timebase Clock<br />

The behavior of the transmit/receive clock (on TXD) is governed by the value of BxCMP. When<br />

the BxCMP value is greater than or equal to two. The TXD pin is low for two CLKOUT periods<br />

and is high for (BxCMP – 1) CLKOUT periods (see Figure 11-17). BxCMP cannot be equal to a<br />

one, otherwise the serial port buffer registers (SxRBUF) will not receive the correct data.<br />

CLKOUT<br />

TXD<br />

Low For<br />

2 Clocks<br />

High For<br />

N-1 Clocks<br />

RXD<br />

BIT 0<br />

BIT 1<br />

A1282-A<br />

Figure 11-17. Mode 0, BxCMP > 2<br />

For transmissions, the RXD pin changes on the next CLKOUT falling edge following a low-tohigh<br />

transition on TXD. Therefore, the data on the RXD pin is guaranteed to be valid on the rising<br />

edges of TXD. Use the rising edge of TXD to latch the value on RXD. For receptions, the incoming<br />

serial data must meet the setup and hold timings with respect to the rising edge of TXD. These<br />

timings can be found in the AC timings section of the data sheet.<br />

11-20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!