Toshiba TMP91C815F Data Book page 152

16bit micro controller tlcs-900/l1 series
Table of Contents

Advertisement

(3) Data format
The data format is fixed as follows:
• Data length: 8-bit
• Parity bits: none
• Stop bits: 1
Any other setting don't guarantee the normal operation.
(4) SFR
Figure 3.9.27 shows the control register SIRCR. Set the data SIRCR during SIO0 is inhibited
(Both TXEN and RXEN of this register should be set to 0).
Any changing for this register during transmission or receiving operation don't guarantee the
normal operation.
The following example describes how to set this register:
1) SIO setting
2) LD (SIRCR), 07H
3) LD (SIRCR), 37H
4) Start transmission
and receiving for SIO0
(5) Notes
1) Baud rate generator for IrDA
To generate baud-rate for IrDA, use baud-rate generator in SIO0 by setting "01" to
SC0MOD0<SC1:0>. To use another source (TA0TRG,f
2) As the IrDA 1.0 physical layer specification, the data transfer speed and infra-red pulse width is
specified.
Table 3.9.5 Baud rate and pulse width specifications
Baud Rate
Modulation
2.4 kbps
RZI
9.6 kbps
RZI
19.2 kbps
RZI
38.4 kbps
RZI
57.6 kbps
RZI
115.2 kbps
RZI
The infra-red pulse width is specified either baud rate T x 3/16 or 1.6μsec (1.6μsec is equal to
3/16 pulse width when baud rate is 115.2 kbps).
The TMP91C815F has the function selects the pulse width on the transmission either 3/16 or 1/16.
But 1/16 pulse width can be selected when the baud rate is equal or less than 38.4 kbps only. When
57.6 kbps and 115.2 kbps, the output pulse width should not be set to T x 1/16.
; Set the SIO to UART Mode.
; Set the receive data pulse width to 16×.
; TXEN, RXEN Enable the Transmission and receiving of SIO.
; The modem operates as follows:
) SIO0 starts transmitting.
) IR receiver starts receiving.
Rate Tolerance
Pulse Width
(% of rate)
(minimum)
±0.87
1.41 µs
±0.87
1.41 µs
±0.87
1.41 µs
±0.87
1.41 µs
±0.87
1.41 µs
±0.87
1.41 µs
91C815-
149
TMP91C815
and SCLK0-input) are not allowed.
SYS
Pulse Width
Pulse width
(typical)
(maximum)
78.13 µs
88.55 µs
19.53 µs
22.13 µs
9.77 µs
11.07 µs
4.88 µs
5.96 µs
3.26 µs
4.34 µs
1.63 µs
2.23 µs

Advertisement

Table of Contents
loading

Table of Contents