
Wait for Done
This is the procedure to wait for command completion and check for error.
20
Wait for Command/Parameter Ready true.
21
Wait for Done true.
22
If Err* = 0 , handle error.
Complex Sequences
A robust procedure for sending a query and reading the response would look like
this:
23
Send Command.
24
Wait for Done.
25
If no error then Read Response.
Multiple commands may be sent with a test for errors at the end of the sequence.
This example sends three commands before checking for errors.
26
Send Command.
27
Send Command.
28
Send Command.
29
Wait for Done.
DSP Protocol
When a controller writes to the Command register, a DSP interrupt is generated.
When responding to this interrupt, the DSP will follow this procedure.
30
Clear the Done bit.
31
Read and decode the command from the Command register.
32
Read any parameters from the Parameter registers and RAM.
33
If a response data is required:
34
Set Command/Parameter Ready true.
35
Finish command execution.
36
If any errors are pending set Err* = 0, else set Err* = 1.
37
Set Done true.
There are two additional requirement for the DSP:
38
Once it begins processing a command interrupt, the DSP must defer processing
subsequent commands until it has finished.
39
The DSP software maintains an error(s) pending flag (and possibly and error
queue) that is set by any command decoding or execution error and cleared by
some other method such as an error query.
VT1433B User's Guide
Register Definitions
A-13
Summary of Contents for VT1433B
Page 4: ...VT1433B User s Guide iv...
Page 10: ...x...
Page 11: ...1 Installing the VT1433B VT1433B User s Guide Installing the VT1433B 1 1...
Page 18: ...VT1433B User s Guide Installing the VT1433B 1 8...
Page 19: ...2 Getting Started With the VT1433B VT1433B User s Guide Getting Started With the VT1433B 2 1...
Page 38: ...VT1433B User s Guide Getting Started With the VT1433B 2 20...
Page 39: ...3 Using the VT1432A 3 1...
Page 78: ...VT1433B User s Guide Using the VT1433B 3 40...
Page 79: ...4 The Host Interface Library 4 1...
Page 108: ...VT1433B User s Guide The Host Interface Library 4 30...
Page 109: ...5 Module Description VT1433B User s Guide Module Description 5 1...
Page 124: ...VT1433B User s Guide Module Description 5 16...
Page 125: ...6 The Arbitrary Source Option VT1433B 1D4 VT1433B User s Guide The Arbitrary Source Option 6 1...
Page 130: ...VT1433B User s Guide The Arbitrary Source Option 6 6...
Page 131: ...7 The Tachometer Option VT1433B AYF VT1433B User s Guide The Tachometer Option 7 1...
Page 136: ...VT1433B User s Guide The Tachometer Option 7 6...
Page 137: ...8 Break Out Boxes VT1433B User s Guide Break Out Boxes 8 1...
Page 145: ...9 Troubleshooting the VT1433B VT1433B User s Guide Troubleshooting the VT1433B 9 1...
Page 148: ...VT1433B User s Guide Troubleshooting the VT1433B 9 4...
Page 149: ...10 Replacing Assemblies VT1433B User s Guide Replacing Assemblies 10 1...
Page 152: ...Assemblies without VT1433B AYF or VT1433B 1D4 VT1433B User s Guide Replacing Assemblies 10 4...
Page 154: ...Assemblies with VT1433B AYF VT1433B User s Guide Replacing Assemblies 10 6 A10 A11 A22...
Page 156: ...Assemblies with VT1433B 1D4 VT1433B User s Guide Replacing Assemblies 10 8...
Page 173: ...11 Backdating VT1433B User s Guide Backdating 11 1...
Page 175: ...Appendix A Register Definitions VT1433B User s Guide Register Definitions A 1...
Page 190: ...VT1433B User s Guide Register Definitions A 16...
Page 198: ...VT1433B User s Guide Glossary G 8...