TPS-1 User’s Manual: Hardware
3. Host Interface
R19UH0081ED0107 Rev. 1.07
page 27 of 86
Jul 30, 2018
3.3.1.3.
Command overview
The SPI commands are optimized for the use with PROFINET. The following table describes the implemented commands.
Table 3-8: Implemented SPI commands
DirectMEM-
Access
This gives the external host CPU access to the complete address space of 64 Kbyte.
Each access transfers not more than 15 byte. The length is coded in the command
byte.
Command
Description
Command
code
Number of
address
bytes
Number of
length
bytes
Number
of data
bytes
Read MEM Direct
Reads from the transferred
address. The length is
coded in the command byte.
0b1000_nnnn
(0x8n)
2
0
1 - 15
Write MEM Direct
Writes to the transferred
address. The length is
coded in the command byte.
0b0100_nnnn
(0x4n)
2
0
1 - 15
MEM-Access
With this command, the external host CPU can read from and write to the complete 64
Kbyte address space with a maximum data length of 64 Kbyte (access to cyclic and
acyclic data).
Command
Description
Command
code
Number of
address
bytes
Number of
length
bytes
Number
of
data
bytes
Read MEM
Reads from the transferred
address. The length is
coded in the length byte.
0b1000_0000
(0x80)
2
2
1 – 32K
(64K)
Write MEM
Writes to the transferred
address. The length is
coded in the length byte.
0b0100_0000
(0x40)
2
2
1 – 32K
(64K)
Содержание TPS-1
Страница 91: ...TPS 1 R19UH0081ED0107 ...