425
8331B–AVR–03/12
Atmel AVR XMEGA AU
Due to this mechanism, the programmer can always synchronize the protocol by transmitting
two successive BREAK characters.
32.5.5
Reset Signalling
Through the reset register, the programmer can issue a reset and force the device into reset.
After clearing the reset register, reset is released, unless some other reset source is active.
32.5.6
Instruction Set
The PDI has a small instruction set used for accessing both the PDI itself and the internal inter-
faces. All instructions are byte instructions. The instructions allow an external programmer to
access the PDI controller, the NVM controller and the nonvolatile memories.
32.5.6.1
LDS - Load Data from PDIBUS Data Space using Direct Addressing
The LDS instruction is used to load data from the PDIBUS data space for read out. The LDS
instruction is based on direct addressing, which means that the address must be given as an
argument to the instruction. Even though the protocol is based on byte-wise communication, the
LDS instruction supports multiple-byte addresses and data access. Four different address/data
sizes are supported: single-byte, word (two bytes), three-byte, and long (four bytes). Multiple-
byte access is broken down internally into repeated single-byte accesses, but this reduces pro-
tocol overhead. When using the LDS instruction, the address byte(s) must be transmitted before
the data transfer.
32.5.6.2
STS - Store Data to PDIBUS Data Space using Direct Addressing
The STS instruction is used to store data that are serially shifted into the physical layer shift reg-
ister to locations within the PDIBUS data space. The STS instruction is based on direct
addressing, which means that the address must be given as an argument to the instruction.
Even though the protocol is based on byte-wise communication, the ST instruction supports
multiple-bytes addresses and data access. Four different address/data sizes are supported: sin-
gle-byte, word (two bytes), three-byte, and long (four bytes). Multiple-byte access is broken
down internally into repeated single-byte accesses, but this reduces protocol overhead. When
using the STS instruction, the address byte(s) must be transmitted before the data transfer.
32.5.6.3
LD - Load Data from PDIBUS Data Space using Indirect Addressing
The LD instruction is used to load data from the PDIBUS data space into the physical layer shift
register for serial read out. The LD instruction is based on indirect addressing (pointer access),
which means that the address must be stored in the pointer register prior to the data access.
Indirect addressing can be combined with pointer increment. In addition to reading data from the
PDIBUS data space, the LD instruction can read the pointer register. Even though the protocol is
based on byte-wise communication, the LD instruction supports multiple-byte addresses and
data access. Four different address/data sizes are supported: single-byte, word (two bytes),
three-byte, and long (four bytes). Multiple-byte access is broken down internally into repeated
single-byte accesses, but this reduces the protocol overhead.
32.5.6.4
ST - Store Data to PDIBUS Data Space using Indirect Addressing
The ST instruction is used to store data that is serially shifted into the physical layer shift register
to locations within the PDIBUS data space. The ST instruction is based on indirect addressing
(pointer access), which means that the address must be stored in the pointer register prior to the
data access. Indirect addressing can be combined with pointer increment. In addition to writing
data to the PDIBUS data space, the ST instruction can write the pointer register. Even though
the protocol is based on byte-wise communication, the ST instruction supports multiple-bytes