408
Chapter 13
Serial Interface Function
Preliminary User’s Manual U15839EE1V0UM00
13.3.4 Operation
(1)
Single transfer mode
(a) Usage
In the receive-only mode (TRMD bit of CSIMn register = 0), transfer is started by reading
Note 1
the
receive data buffer register (SIRBn/SIRBLn) (n = 0 to 2).
In the transmission/reception mode (TRMD bit of CSIMn register = 1), transfer is started by
writing
Note 2
to the transmit data buffer register (SOTBn/SOTBLn).
In the slave mode, the operation must be enabled beforehand (CSIE bit of CSIMn register = 1).
When transfer is started, the value of the CSOT bit of the CSIMn register becomes 1 (transmission
execution status).
Upon transfer completion, the transmission/reception completion interrupt (INTCSI0n) is set (1),
and the CSOT bit is cleared (0). The next data transfer request is then waited for.
Notes: 1. When the 16-bit data length (CCL bit of CSIMn register = 1) has been set, read the SIRBn
register. When the 8-bit data length (CCL bit of CSIMn register = 0) has been set, read the
SIRBLn register.
2. When the 16-bit data length (CCL bit of CSIMn register = 1) has been set, write to the
SOTBn register. When the 8-bit data length (CCL bit of CSIMn register = 0) has been set,
write to the SOTBLn register.
Caution:
When the CSOT bit of the CSIMn register = 1, do not manipulate the CSI0n register.
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......