
19
ZR38650
Interpret Instruction
INTRP
The INTRP set-up command allows loading and running of a
single ZR38650 core processor instruction from the host. After
the single execution, control transfers to the ROM resident exec-
utive with further commands possible from the host.
Set and Return I/O Registers
SETIO
The SETIO set-up command allows changing and reading the
six single-bits of the general purpose I/O registers GPIO and
GPIOC. For the bits set in the GPIO MASK field, the correspond-
ing bits in the GPIO register will be updated to the values set in
the GPIO field. The same is true for the GPIOC MASK field and
GPIOC register and field. The SETIOR response returns the
state of the two registers after the SETIO command.
Load Memory Data
POKE
The POKE set-up command allows serial loading of data and
program from the host to the ZR38650 memory. N 32-bit words
are loaded at a 20-bit start address where bits [23:20] are
ignored. After the loading, control transfers to the ROM resident
executive with further commands possible from the host.
Return Memory Data
PEEK
The PEEK command allows serial reading of data and program
from the ZR38650 memory to the host. N 32-bit words are read
from a 20-bit start address where bits [23:20] are ignored and
where N is a 20-bit number. 4N READ commands must be sent
from the host to transfer all PEEKR reply data. After reading,
control transfers to the ROM resident executive with other
commands possible from the host.
Read Command
Read
READ
The READ command returns a single Reply word to the host
after the STAT, VER, SETIO, PLLCFG, PEEK, GETPTC, NOP
or SPDIFSTAT commands have been issued. One or more
READ commands must be issued after the above commands.
GPIOC MASK
A set bit iof this GPIOC MASK field enables
updating the bit i of the GPIOC register.
GPIOC
The value of bit iin the GPIOC register is updated
to the value of bit iin this GPIOC field if bit iin the
GPIOC MASK field is set. GPIOC[ i ] = 0 for an
input, GPIOC[ i ] = 1 for an output.
GPIO MASK
A set bit iof this GPIO MASK field enables updating
the bit i of the GPIO register.
GPIO
The value of bit iin the GPIO register is updated to
the value of bit iin this GPIO field if bit iin the GPIO
MASK field is set.
Parameter 4
Parameter 3
Parameter 1
Parameter 2
0
1
2
3
4
5
6
7
1
0
0
0
1
0
0
1
Command
Instruction [31:24]
Instruction [23:16]
Instruction [15:8]
Instruction [7:0]
Parameter 4
Parameter 3
Parameter 1
Parameter 2
0
1
2
3
4
5
6
7
0
1
0
0
1
0
0
1
Command
GPIOC MASK
0
GPIOC
0
GPIO MASK
0
GPIO
0
Parameter 7+4N
Parameter 8
Parameters 1-3
Parameters 4-7
0
1
2
3
4
5
6
7
1
1
0
0
1
0
0
1
Command
Start Address [23:0]
Number of Words (N) [31:0]
Data Word 0 [31:24]
Data Word N-1 [7:0]
0
1
2
3
4
5
6
7
0
0
1
0
1
0
0
1
Start Address [23:16]
Number of Words (N) [31:24]
Start Address [7:0]
Start Address [15:8]
Number of Words (N) [23:16]
Number of Words (N) [15:8]
Number of Words (N) [7:0]
Parameter 4
Parameter 5
Parameter 6
Parameter 7
Parameter 3
Parameter 1
Parameter 2
Command
0
1
2
3
4
5
6
7
0
0
0
0
0
0
0
0
Command