TA600032-EN0/0
- 41 -
5.2.2.3.6
Port data reading
"Read-out data" can be input from a "Port data memory" by specifying the "Memory address".
The "Read-out data" can be input from all I/O ports of all "Local LSIs".
MOSI
Control
Command
(0101 ss00)
Memory
Address
Dummy
Data
(0000 0000)
MISO
Hi-Z
Hi-Z
Read-out
Data
(7:0)
The "ss" bit is the "Slave number" (SN) bit of the "Control command".
The "Memory address" is from "0" to "255".
When the "Read-out data" is 2 bytes or more, the "Read-out data" is input while incrementing the "Memory address".
When the "Memory address" is incremented from "255", it becomes "0".
The "Read-out data" can be input unlimitedly in 1-byte units.
For example, when inputting "Read-out data" that from "Port number 0" (P0) to "Port number 3" (P3) in "Device number 0"
(DN0), output the following data:
MOSI
0101 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
MISO
Hi-Z
Hi-Z
DN0.P0
DN0.P1
DN0.P2
DN0.P3
This is the data when the "ss" bit is "00".
For details on "Port data memory", see "5.2.6 Port data memory".