29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

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

RM0008<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: 1 A pulse of width less than two <strong>and</strong> greater than one PSC period(s) may or may not be<br />

rejected.<br />

2 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 <strong>and</strong> reception (IrDA<br />

is a half duplex protocol).<br />

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

TX<br />

OR<br />

USART_TX<br />

USART<br />

SIREN<br />

SIR<br />

Transmit<br />

Encoder<br />

IrDA_OUT<br />

RX<br />

SIR<br />

Receive<br />

Decoder<br />

IrDA_IN<br />

USART_RX<br />

Figure 255. IrDA data modulation (3/16) -normal mode<br />

TX<br />

IrDA_OUT<br />

Start<br />

stop bit<br />

bit<br />

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

bit period<br />

3/16<br />

IrDA_IN<br />

RX<br />

0 1 0 1<br />

0 0 1 1 0 1<br />

678/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!