tmp86fp24 TOSHIBA Semiconductor CORPORATION, tmp86fp24 Datasheet - Page 141

no-image

tmp86fp24

Manufacturer Part Number
tmp86fp24
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp86fp24F
Manufacturer:
Toshiba
Quantity:
10 000
Part Number:
tmp86fp24FG
Manufacturer:
Toshiba
Quantity:
10 000
b. Receive mode
Causing the SIO to start receiving
Causing the SIO to stop receiving
Received-data read timing
Note 1: Be sure to read, from SIO1BUF, as many received data bytes as specified in
Note 2: If an attempt is made to read data before the end of reception (SIO1SR<RXF>
Note 3: In the receive mode, an INTSIO1 interrupt occurs when the reception of the last bit
Note 4: If an attempt is made to start transferring after a receive error has been detected,
1.
2.
3.
4.
Receive mode is assumed by setting SIO1CR1<SIOM> to “01”.
Set the receive mode, serial clock rate, and transfer direction, respectively, in
SIO1CR1<SIOM>, SIO1CR1<SCK>, and SIO1CR1<SIODIR>.
Set the number of data bytes to transfer in SIO1CR2<SIORXD>.
Set SIO1CR1<SIOS> to “1”.
x
x
When as many data bytes as specified in SIO1CR2<SIORXD> have been received,
be sure to clear SIO1CR1<SIOS> to “0” to halt the SIO. Clearing of
SIO1CR1<SIOS> should be executed within the INTSIO1 service routine or
should be executed after confirmation of SIO1SR<RXF>
x
or clear SIO1CR1<SIOS> to “0” to halt the SIO in the INTSIO1 interrupt service
routine. Before reading the receive data after clearing SIO1CR1<SIOS> to “0”,
make sure SIO1SR<SIOF>
mode (No receive error), and then read the receive data. SIO1SR<RXF> is cleared
to “0” when as many received data bytes as specified in SIO1CR2<SIORXD> are
read. To restart to receive the next data after clearing SIO1CR1<SIOS> to “0”,
first read the received data and set SIO1CR1<SIOS>
Before reading received data, make sure SIO1BUF is full (SIO1SR<RXF>
SIO1CR2<SIORXD>. If the number of data bytes to be read from SIO1BUF is not
equal to the value specified in SIO1CR2<SIORXD>, the SIO fails to work normally.
“0”), the SIO fails to work normally.
of the last data byte is completed.
the SIO fails to work normally. Before starting transferring, set SIO1CR1<SIOINH>
If the selected serial clock is an internal clock, the SIO immediately starts
receiving
SIO1CR1<SIODIR>.
If the selected serial clock is an external clock, the SIO immediately starts
receiving data, upon external clock input, sequentially in the direction
selected using SIO1CR1<SIODIR>.
Setting SIO1CR1<SIOINH> to “1” causes the SIO to immediately stop a
reception sequence even if any byte is being received.
“1” to force the SIO to halt.
data
86FP24-139
sequentially
“0” and SIO1SR<RXERR> “0” in the external clock
in
the
direction
“1” to start receiving data.
“1”.
selected
TMP86FP24
2007-08-24
using
“1”)

Related parts for tmp86fp24