Datasheet

1237
32117D–AVR-01/12
AT32UC3C
All aWire commands are described below, with a summary in table form.
39.6.7.1 AYA
This command asks the AW: “Are you alive”, where the AW should respond with an
acknowledge.
39.6.7.2 JTAG_ID
This command instructs the AW to output the JTAG idcode in the following response.
0x07 DISABLE Disables the AW.
0x08 2_PIN_MODE
Enables the DATAOUT pin and puts the aWire in 2-pin mode, where all
responses are sent on the DATAOUT pin.
0x80 MEMORY_WRITE Writes words, halfwords, or bytes to the SAB.
0x81 MEMORY_READ Reads words, halfwords, or bytes from the SAB.
0x82 HALT Issues a halt command to the device.
0x83 RESET Issues a reset to the Reset Controller.
0x84 SET_GUARD_TIME Sets the guard time for the AW.
Table 39-30. aWire Command Summary
COMMAND Instruction Description
Table 39-31. Command/Response Description Notation
Command/Response Description
Command/Response value Shows the command/response value to put into the command/response field of the packet.
Additional data Shows the format of the optional data field if applicable.
Possible responses Shows the possible responses for this command.
Table 39-32. AYA Details
Command Details
Command value 0x01
Additional data N/A
Possible responses
0x40: ACK (Section 39.6.8.1)
0x41: NACK (Section 39.6.8.2)
Table 39-33. JTAG_ID Details
Command Details
Command value 0x02
Additional data N/A
Possible responses
0xC0: IDCODE (Section 39.6.8.3)
0x41: NACK (Section 39.6.8.2)