09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>RM0090</strong> Universal synchronous asynchronous receiver transmitter (USART)<br />

IrDA low-power mode<br />

Transmitter:<br />

In low-power mode the pulse width is not maintained at 3/16 of the bit period. Instead, the<br />

width of the pulse is 3 times the low-power baud rate which can be a minimum of 1.42 MHz.<br />

Generally this value is 1.8432 MHz (1.42 MHz < PSC< 2.12 MHz). A low-power mode<br />

programmable divisor divides the system clock to achieve this value.<br />

Receiver:<br />

Receiving in low-power mode is similar to receiving in normal mode. For glitch detection the<br />

USART should discard pulses of duration shorter than 1/PSC. A valid low is accepted only if<br />

its duration is greater than 2 periods of the IrDA low-power Baud clock (PSC value in<br />

USART_GTPR).<br />

Note: A pulse of width less than two and greater than one PSC period(s) may or may not be<br />

rejected.<br />

The receiver set up time should be managed by software. The IrDA physical layer<br />

specification specifies a minimum of 10 ms delay between transmission and reception (IrDA<br />

is a half duplex protocol).<br />

Figure 262. IrDA SIR ENDEC- block diagram<br />

USART<br />

Figure 263. IrDA data modulation (3/16) -Normal mode<br />

TX<br />

IrDA_OUT<br />

IrDA_IN<br />

RX<br />

TX<br />

SIREN<br />

RX<br />

SIR<br />

Transmit<br />

Encoder<br />

SIR<br />

Receive<br />

Decoder<br />

Doc ID 018909 Rev 3 772/1416<br />

OR<br />

USART_TX<br />

IrDA_OUT<br />

IrDA_IN<br />

USART_RX<br />

Start<br />

stop bit<br />

bit<br />

0 1 0 1 0 0 1 1 0 1<br />

bit period<br />

0 1 0 1<br />

3/16<br />

0 0 1 1 0 1

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

Saved successfully!

Ooh no, something went wrong!