Vous êtes sur la page 1sur 5

MIL-STD-1553

Architecture
Reference Guide
N e xt
Controller-To- R e ce ive D a ta D a ta D a ta Sta tu s Com m and
... [] ^
RT Transfer Com m and Word Word Word Word Word
Bit Time 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

N e xt Command
MIL-STD-1553 Message Formats

RT-To-Controller Transmit Sta tu s D a ta D a ta D a ta Com m and 5 1 5 5 1


[] ... ^ Word
Transfer Com m and Word Word Word Word Word

MIL-STD-1553 Word Formats


Data Word Count/
SY N C RT Address T/R Subaddress/Mode P
M ode Code
N e xt
RT-to-RT Receive Transmit Sta tu s D a ta D a ta D a ta Sta tu s Com m and
Transfers Com m and Com m and
[]
Word Word Word
...
Word
[]
Word
^
Word Data Word 16 1

SY N C D at a P
N e xt
M ode Com m and M ode Sta tu s Com m and
[] ^
w/o Data Word Command Word Word
Status Word 5 1 1 1 3 1 1 1 1 1 1

Message Error
Instrumentation
Service Request

Reserved

Subsystem Flag
Dynamic Bus Control Acceptance
Broadcast Command Receive
Busy

Terminal Flag
Parity
N e xt SY N C RT Address
M ode Com m and
M ode Sta tu s D a ta Com m and
With Data Word [] ^
Com m and Word Word Word
(Transmit)
T/R: Transmit Receive
P: Parity
N e xt
M ode Com m and
M ode D a ta Sta tu s Com m and
With Data Word [] ^
Com m and Word Word Word
( R e ce ive )

^ Intermessage gap: 4 microseconds or greater

[] Response time: 1553A 4-7 microseconds Not Defined for 1553A


1553B 4-12 microseconds
(Measured mid-parity to mid-sync)

N e xt
Controller-To- R e ce ive D a ta D a ta D a ta Com m and Monitor Functions:
... ^
RT(S) Transfer Com m and Word Word Word Word • Sequential Monitoring
Broadcast Message Formats

• Subaddress Buffer Monitoring (RT Level)


N e xt • Advanced Trigger Setup
RT-to-RT(S) Receive Transmit Sta tu s D a ta D a ta D a ta Com m and • External Monitor Trigger Signals
Key Condor Features

[] ... ^
Transfers Com m and Com m and Word Word Word Word Word
• Full Error Detection and Flags for Each Word
• 46-bit Time Tag, System or IRIG Synced
N e xt • Filter to Word Count Level for any RT
M ode Com m and M ode Com m and
w/o Data Word Command
^
Word
• API Examples for Monitoring and Archiving
• ASCII to Binary to ASCII Conversions with Filters and Source Code
N e xt Bus Controller Functions:
M ode Com m and M ode D a ta Com m and
With Data Word Command Word
^
Word • Simple and Complex Framing Support
• Minor/Major Frame Auto Timing for Messages
• Conditional Branching for Status, Data, Triggers Events
• External Trigger Support - Sync to Time Events
^ Intermessage gap
• BC Retries to 8 Levels - Any Bus Combination
[] Response time • Full Error Detection for Validation of Messages
• Full Error Injection for Validation Tests
• Advanced API to Abstract Message Layers

Remote Terminal Functions:


• Advanced Linked-List to Subaddress Levels
• Legalization Support to the Word Count Level
• Full Error Detection for Validation of Messages
Tr a n s m it / B ro a d c a s t • Full Error Injection for Validation Tests
M ode R e c e iv e A s s o c ia t e d C o m m a n d • 46-bit Time Tags, System or IRIG Synced
F u n c t io n Code B it D a t a W o rd A l l o w e d • External Trigger for Mode Code Sync
MIL-STD-1553 B Mode Codes

D yn a m ic B u s C o n tro l 00000 1 No No
Syn ch ro n ize 00001 1 No Yes General:
Transmit Status Word 00010 *1 No No • One Megabyte of RAM per Channel
Initiate Self-Test 00011 1 No Yes
• Full API and Device Drivers with Source No-Cost
• Windows (all), VxWorks, Linux, Solaris, etc.
Transmitter Shutdown 00100 1 No Yes
• Easy Links to User Applications
Override Transmitter
Sh u td o w n
00101 *1 No Yes • Reduce Integration Time
Inhibit Terminal Flag Bit 00110 1 No Yes
• Single and Multi-Function Level Products
• Maximum Portability Across Backplanes and OS
O ve rrid e In h ib it • Common API for all Level of Products
00111 1 No Yes
Terminal Flag Bit
• 1-4 Channels on Most Backplanes (PMC included)
Reset RT 01000 *1 No Yes • Full Labview/Windows Support: Libraries and User's Manual
Transmit Vector Word 10000 1 Yes No • Internal and External A-B Bus Wrap BIT Tests
Syn ch ro n ize 10001 0 Yes Yes • Avionics Level Discretes
Transmit Last Command 10010 1 Yes No
Product Backplanes and Options:
Transmit Bit Word 10011 1 Yes No • PCI, cPCI and PMC with 1-4 Channels
Selected Transmitter
10100 0 Yes Yes • VMEbus and VXI with 1-4 Channels
Sh u td o w n
• 1-2 Channel Industry Pack Modules
O ve rrid e Se le cte d
Transmitter Shutdown
10101 0 Yes Yes • PC104
• Extended Temperature/Ruggedized
*Minimum Required Mode Code
• Conduction Cooling Option
• IRIG Decode and Generator
4 words for each RT
B C M e s s a g e B lo c k
rtbbase R T En ab les bcmsgpts 0 BC Control
RT 0
RT Status Word
1 Command Word 1

BC Message Blocks
RT 1
RT Address Buffer
RT Last Command Word
RT 2 2 BC Error Inject Pointer
RT Bit Word Data Buffer A
RT 3 3 In t er m es s ag e G ap T im e
4 D at a Po in t er A 1-33 Words
RT 4
RT 5 5 D at a Po in t er B
RT 6 6 Command Word 2
RT 7 lsb 0 Reserved 7 Status Word 1 Data Buffer B
1 Edbc - Enable dynamic bus control 8 Status Word 2 (optional)
(128 words) 2 Itf - Inhibit Terminal Flag 9 B C M es s ag e St at u s 1 1-33 Words
3 Dbcf - Dynamic bus control flag 10 B C M es s ag e St at u s 2
R T 24 4 11 N ext M es s ag e Po in t er
5 12
R T 25
6 13
R T 26 R es er ved Next BC Block,
7 14
R T 27 15 (Message Block,
8
R T 28 Conditional Block,
9 Unused

RT Enable Word
R T 29 Stop OP Block,
10
R T 30 or NOOP Block)
11
R T 31 12
13
14
15 Rtoff - Turn off with dynamic bus control

RT Control Buffer
rtfbase R T 0 , R eceive, SA 0 (non-broadcast)
R T M e s s a g e B u ff e r
R T 0 , R eceive, SA 1 Leg al W C /M C 1 5 ..0 (3 2 ) B C M e s s a g e B lo c k
0 R T N ext M es s ag e Po in t er
Leg al W C /M C 3 1 ..1 6 1 RT Error Inject Pointer 0 BC Control lsb 0 Nop - NOOP message

BC Control Word
RT Message Buffer Pointer 1 Command Word 1 1 Ctl0 - Control bit
RT Filter Buffer

2 R T In t er r u p t En ab le 1
R T 0 , R eceive, SA 3 1 2 BC Error Inject Pointer 2 Ctl1 - Control bit
3 R T In t er r u p t En ab le 2
RT 0, Transmit, SA 0 3 In t er m es s ag e G ap T im e 3 Mnfr - Start minor frame
4 R T M es s ag e St at u s 1 B it
4 D at a Po in t er A 4 Mint - Interrupt on msg
(2048 words) 5 R T M es s ag e St at u s 2 2 1
5 Rtrt - RTRT msg format
6 RT Time Tag 0 5 D at a Po in t er B C t l1 C t l0 B C B lo c k Ty p e
RT 0, Transmit, SA 31 6 Dta - Use data buffer A
7 RT Time Tag 1 6 Command Word 2 0 0 N O O P B lo ck
R T 1 , R eceive, SA 0 7 Emf - End minor frame
8 RT Time Tag 2 7 Status Word 1 Chan - Channel (A or B) 0 1 M es s ag e B lo ck
8

BC Control Word
9 RT Command Word 8 Status Word 2 9 Res - Reserved 1 0 St o p B C B lo ck
RT Control Buffer TRANSMIT Status Word 9 B C M es s ag e St at u s 1 10 Rtry - Retry enable 1 1 C o n d it io n al B lo ck
(broadcast) 10 10 B C M es s ag e St at u s 2
(Reserved for Receive buffers) 11
RT 31, Transmit, SA 30 RT Message Buffer Pointer 11 11 N ext M es s ag e Po in t er 12
RT 31, Transmit, SA 31 32 Data Words 12 Reserved
R T 0 Leg al W C /M C 1 5 ..0 (3 2 ) 13
N 13
R T 0 Leg al W C /M C 3 1 ..1 6 R es er ved 14
RECEIVE Status Word 14 15 Rapi - Reserved for API use
N+1
(64 words) (Reserved for Transmit buffers) 15
N+2
R T3 1 Leg al W C /M C 1 5 ..0 (3 2 ) R es er ved
R T3 1 Leg al W C /M C 3 1 ..1 6 47
R es er ved

R T M e s s a g e B u ff e r
0 R T N ext M es s ag e Po in t er B C M e s s a g e B lo c k RT Error Injection Buffer
1 RT Error Inject Pointer 0 BC Control 0 Errors on Status Words
RT Message Buffer,

2 R T In t er r u p t En ab le 1 1 Command Word 1 1
Interrupt Enables

2 BC Error Inject Pointer Errors on 1-33 Data Words


3 R T In t er r u p t En ab le 2 33
Error Injection

4 R T M es s ag e St at u s 1 3 In t er m es s ag e G ap T im e
BC Message

5 R T M es s ag e St at u s 2 4 D at a Po in t er A
6 RT Time Tag 0 lsb 0 EM - End of message lsb 0 Hw - High word 5 D at a Po in t er B lsb 0
7 RT Time Tag 1 1 Bcm - Broadcast message 1 Iw - Invalid word 6 Command Word 2 1 Err_enc
8 RT Time Tag 2 2 Rtf - RTRT message format 2 Lw - Low word 7 Status Word 1 2 Err_inf - info for
15 14 13
9 RT Command Word 3 Rrt - Reset RT 3 Is - Inverted sync error 8 Status Word 2 3 error to be inj.
Bit Value
TRANSMIT Status Word 4 St - Self test 4 Mbe - Mid-bit error 9 B C M es s ag e St at u s 1 4
10 Mc - Mode code 2bus - two-bus error 5 0 0 0 none
(Reserved for Receive buffers) 5 5 10 B C M es s ag e St at u s 2
mid sync 0 crossing error

BC Error Injection Word


6 Res - Reserved 6 Pe - Parity error 11 N ext M es s ag e Po in t er 6 Bce - Bit count error (BC, RT)
Interrupt Enable Word

0 0 1
Interrupt Enable Word

11 (B C , R T)
32 Data Words 7 Rtb0 - RT busy bit 0 7 Ncd - Non-contiguous data 12 7 Ie - Inverted sync error (BC, RT)
N 8 Rtb1 - RT busy bit 1 8 Er - Early response 13 8 Pe - Parity error (BC, RT) mid bit 0 crossing error
R es er ved 0 1 0
RECEIVE Status Word 9 Rtry - Retry occurred 9 Lr - Late response 14 9 Gap - Gap between words (BC, RT) (B C , R T)
N+1 0 1 1 reserved
(Reserved for Transmit buffers) 10 Nres - No response 10 Ira - Incorrect RT Address 15 10 Wce - Word count error (BC, RT)
N+2 11 Me - Message error bit 11 Ch - Channel 11 Pres - Programmable response (RT) response on wrong bus
1 0 0
R es er ved 12 Tb - Trigger begin 12 Unt - Unterminated bus 12 Ira - Respond to wrong address (RT) (R T)
47 13 1 0 1 reserved
13 Te - Trigger end 13 Wb - Response on wrong bus
14 Bmo - Bus Monitor overflow 14 Bce - Bit count error 14 Err_enc - Encoded error 1 1 0 reserved
15 Res - Reserved 15 Nig - no/short intermessage gap 15 1 1 1 reserved

B C M e s s a g e B lo c k
R T M e s s a g e B u ff e r 0 BC Control
RT Error Injection Buffer
0 R T N ext M es s ag e Po in t er 1 Command Word 1
RT Message Buffer,

0 Errors on Status Words 2 BC Error Inject Pointer


1 RT Error Inject Pointer
1
2 R T In t er r u p t En ab le 1 Errors on 1-33 Data Words 3 In t er m es s ag e G ap T im e
Error Injection

Status Words

3 R T In t er r u p t En ab le 2 33 4 D at a Po in t er A
BC Message

4 R T M es s ag e St at u s 1 5 D at a Po in t er B lsb 0 EM - End of message lsb 0 Hw - High word


5 R T M es s ag e St at u s 2 lsb 0 6 Command Word 2 1 Bcm - Broadcast message 1 Iw - Invalid word
6 RT Time Tag 0 1 Err_enc 7 Status Word 1 2 Rtf - RTRT message format 2 Lw - Low word
7 RT Time Tag 1 2 Err_inf - info for 8 Status Word 2 3 Rrt - Reset RT 3 Is - Inverted sync error
15 14 13
8 RT Time Tag 2 3 error to be inj. 9 B C M es s ag e St at u s 1 4 St - Self test 4 Mbe - Mid-bit error
Bit Value
9 RT Command Word 4 10 B C M es s ag e St at u s 2 5 Mc - Mode code 5 2bus - two-bus error
0 0 0 none
5 11 N ext M es s ag e Po in t er 6 Res - Reserved 6 Pe - Parity error
TRANSMIT Status Word Bce - Bit count error (BC, RT) mid sync 0 crossing error
10 6 0 0 1 12 7 Rtb0 - RT busy bit 0 7 Ncd - Non-contiguous data
(Reserved for Receive buffers) Ie - Inverted sync error (BC, RT) (B C , R T) Rtb1 - RT busy bit 1 8 Er - Early response
Error Injection Word

7 13 8
11 Pe - Parity error (BC, RT) mid bit 0 crossing error R es er ved
32 Data Words 8 0 1 0 14 9 Rtry - Retry occurred 9 Lr - Late response
Gap - Gap between words (BC, RT) (B C , R T)
N 9 15 10 Nres - No response 10 Ira - Incorrect RT Address
Wce - Word count error (BC, RT) 0 1 1 reserved Me - Message error bit
RECEIVE Status Word 10 11 11 Ch - Channel
N+1 11 Pres - Programmable response (RT) response on wrong bus 12 Tb - Trigger begin 12 Unt - Unterminated bus
(Reserved for Transmit buffers) 1 0 0
12 Ira - Respond to wrong address (RT) (R T) 13 Te - Trigger end 13 Wb - Response on wrong bus
N+2
R es er ved 13 1 0 1 reserved 14 Bmo - Bus Monitor overflow 14 Bce - Bit count error
47 14 Err_enc - Encoded error 1 1 0 reserved 15 Res - Reserved 15 Nig - no/short intermessage gap
15 1 1 1 reserved
BC Blocks - Conditional,
RT Last Status Word

rtlastsw RT 0 B C C o n d it io n a l B lo c k B C S t o p B C B lo c k B C N O O P B lo c k
Stop BC, NOOP

RT 1 0 BC Control 0 BC Control 0 BC Control


RT 2 1 Test Word Address 1 1 1
RT 3 2 Test Word Address 2 2 2
RT 4 lsb 0 Terminal Flag 3 D at a Pat t er n 3 3
RT 5 1 Dynamic Bus Control Acceptance 4 B it M as k 4 4
RT 6 2 Subsystem Flag 5 Conditional Count Value 5 5
RT 7 3 Busy R es er ved Ignored
6 C o n d it io n al C o u n t er 6 6
4 Broadcast CMD Received 7 7 7
(32 words) 5 8 R es er ved 8 8
6 Reserved
9 9 9
R T 24 7
Service Request 10 B r an ch M es s ag e Po in t er 10 10
8
R T 25 11 N ext M es s ag e Po in t er 11 N ext M es s ag e Po in t er 11 N ext M es s ag e Po in t er
9 Instrumentation
RT Status Word

R T 26 Message Error 12 12 12
10
R T 27 11 13 13 13
R T 28 R es er ved R es er ved R es er ved
12 14 14 14
R T 29 13 RT Address 15 15 15
R T 30 14
R T 31 15
Interrupt Queue Entry

Interrupt Queues
iqueptr In t er r u p t M o d e lsb 0 Tp - BM Trigger Point
bmfbase M es s ag e Po in t er 1 Bc - BC interrupt
BM Filter Buffer

R T 0 , R eceive, SA 0 N ext In t er r u p t Q u eu e Po in t er
BM Control Buffer 2 Bm - BM interrupt
R T 0 , R eceive, SA 1
Leg al W C /M C 1 5 ..0 (3 2 ) 3 Rt - RT interrupt
Leg al W C /M C 3 1 ..1 6 In t er r u p t M o d e 4 Tmr - Tag timer load
BM Nth Occurence wd1 5 Iack - Interrupt Acknowledge
R T 0 , R eceive, SA 3 1 M es s ag e Po in t er

Interrupter Mode Word


BM Nth Occurence wd2 6
RT 0, Transmit, SA 0 N ext In t er r u p t Q u eu e Po in t er
7
(2048 words) 8
9
RT 0, Transmit, SA 31 10
Reserved
R T 1 , R eceive, SA 0 11
12
In t er r u p t M o d e 13
M es s ag e Po in t er 14
RT 31, Transmit, SA 30 15
N ext In t er r u p t Q u eu e Po in t er
RT 31, Transmit, SA 31

B M B C RT M e ssa g e Fo rm a t B M RTB C M e ssa g e Fo rm a t


API Flow Diagrams
B M RTRT M e ssa g e Fo rm a t
bmmsgpts
0 BM Next Message Buffer Ptr 0 BM Next Message Buffer Ptr 0 BM Next Message Buffer Ptr
1 B M In t er r u p t En ab le 1 1 B M In t er r u p t En ab le 1 1 B M In t er r u p t En ab le 1 BOARD/CHANNEL LEVEL BM FUNCTION LEVEL MSG PROCESSING LEVEL
2 B M In t er r u p t En ab le 2 2 B M In t er r u p t En ab le 2 2 B M In t er r u p t En ab le 2 BusTools_API_InitExtended()
BM Message Buffer

3 B M M es s ag e St at u s 1 3 B M M es s ag e St at u s 1 3 B M M es s ag e St at u s 1 Initialize the API and board/channel.

Functions Used for


4 B M M es s ag e St at u s 2 4 B M M es s ag e St at u s 2 4 B M M es s ag e St at u s 2

Bus Monitoring
5 BM Time Tag 0 5 BM Time Tag 0 5 BM Time Tag 0 BusTools_BM_Init() BusTools_BM_MessageAlloc()
6 BM Time Tag 1 6 BM Time Tag 1 6 BM Time Tag 1 Initialize & reset memory Initializes and allocates the given
7 BM Time Tag 2 7 BM Time Tag 2 7 BM Time Tag 2 management functions and bus number of BM message buffers in
8 BM Command Word 1 8 BM Command Word 1 8 BM Command Word 1 monitor. memory.
(85 words)
9 B M M es s ag e St at u s C W 1 9 B M M es s ag e St at u s C W 1 9 B M M es s ag e St at u s C W 2
10 10 B M R es p o n s e T im e 1 10 BM Command Word 2 BusTools_BM_StartStop()
11 BM Status Word 1 1 1 B M M es s ag e St at u s C W 1 Starts monitoring.
12 B M St at u s SW 1 12 B M R es p o n s e T im e 1
BM Data Words 13 13 BM Status Word 1 BusTools_BM_MessageReadBlock()
(2 words per data word) BusTools_BM_MessageRead() Your code
1 4 B M M es s ag e St at u s SW 1
Reads messages from monitor buffers. here
15 BM Data Words
BM Data Words (2 words per data word)
(2 words per data word)
B M R es p o n s e T im e 1 B M R es p o n s e T im e 2
BusTools_BM_StartStop()
BM Status Word 1 BM Status Word 2 Stops monitoring.
84 B M St at u s SW 1 84 84 B M St at u s SW 2
BusTools_API_Close()
Closes a given board/channel.

B M M e s s a g e B u ff e r (BC MODE ONLY)


0 BM Next Message Buffer Ptr
BM Message Status &

1 B M In t er r u p t En ab le 1 BOARD/CHANNEL LEVEL BM FUNCTION LEVEL MSG BUFFER LEVEL


One-Shot Simulation

2 B M In t er r u p t En ab le 2
Int Enable Words

BusTools_API_InitExtended()
Functions Used for

3 B M M es s ag e St at u s 1 Initialize the API and board/channel.


4 B M M es s ag e St at u s 2
5 BM Time Tag 0 BusTools_BC_OneShotInit()
lsb 0 EM - End of message lsb 0 Hw - High word Initialize One Shot BC functionality.
6 BM Time Tag 1
7 BM Time Tag 2 1 Bcm - Broadcast message 1 Iw - Invalid word
8 BM Command Word 1 2 Rtf - RTRT message format 2 Lw - Low word BusTools_SetVoltage()
3 Rrt - Reset RT 3 Is - Inverted sync error Sets coupling and output voltage.
9 B M M es s ag e St at u s C W 1
4 St - Self test 4 Mbe - Mid-bit error Not needed on IP-1553,
10
5 Mc - Mode code 5 2bus - two-bus error PMC-1553, or cPCI-1553.
6 Res - Reserved 6 Pe - Parity error Define the messages to be executed
7 Rtb0 - RT busy bit 0 7 Ncd - Non-contiguous data in an array of API_BC_MBUF.
8 Rtb1 - RT busy bit 1 8 Er - Early response (1 to 100 messages)
9 Rtry - Retry occurred 9 Lr - Late response
Data and Status Words
10 Nres - No response 10 Ira - Incorrect RT Address
BusTools_BC_OneShotExecute()
11 Me - Message error bit 11 Ch - Channel
Starts one-shot execution of a
12 Tb - Trigger begin 12 Unt - Unterminated bus
Sequence of BC messages.
13 Te - Trigger end 13 Wb - Response on wrong bus
84 14 Bmo - Bus Monitor overflow 14 Bce - Bit count error BusTools_API_Close()
15 Res - Reserved 15 Nig - no/short intermessage gap Closes a given board/channel.

0 Inte - BM interrupt host BOARD/CHANNEL LEVEL BC FUNCTION LEVEL MSG BUFFER LEVEL
lsb 1 Senb - Enable start trigger
2 Henb - Enable stop trigger BusTools_API_InitExtended()
BM Trigger Buffer

3 Ext - Enable external trigger Initialize the API and board/channel.


Functions Used for

4 Tint - Trigger (internal use)


5 Terr - Trigger on Errors BusTools_BM_Init() BusTools_BC_Init()
BM Trigger Header Word

BC Simulation

6 Res - Reserved Initialize & reset memory Initialize BC functionality, sets frame
7 X0t - External output on trigger management Functions and bus rate, retries, etc.
eventptr 8 Tem - Trigger on every message monitor.
9 BusTools_BC_MessageAlloc()
10 Allocates memory for the specified
11 number of BC message buffers.
B M Tr ig g e r B u ff e r 12 Reserved
0 BM Tigger Header Word 13 BusTools_BC_StartStop()
1 BM Event Type 14 Starts the BC simulation.
2 BM Trigger Event Bit Mask 15
3 BM Trigger Event Value BusTools_BC_MessageRead()
BM Event Type Your code
4 B M Even t C o u n t BusTools_BC_MessageWrite()
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 here
5 TM Trigger Control Read or Write BC message buffers.
0 s t a co m Data Word

BM Trigger Control BusTools_BC_StartStop()


Stops the BC simulation.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BusTools_API_Close()
0 en d 0 evo 0 Closes a given board/channel.

BOARD/CHANNEL LEVEL RT FUNCTION LEVEL


Playback Data Buffer
Playback Data Buffer

pbstrptr Playb ack M es s ag e C o d e


BusTools_API_InitExtended()
Initialize the API and board/
Functions Used for

D at a channel.
lsb 0 RT ADDRESS LEVEL
RT Simulation

Playb ack M es s ag e C o d e 1 BusTools_BM_Init() BusTools_RT_Init()


SUBADDRESS LEVEL
2 Initialize & reset memory Initialize RT functionality. BusTools_RT_AbufWrite()
D at a Word/Bit Count management Functions Initialize a given RT BusTools_RT_CbufWrite()
Playback Message Code Word

3
and bus monitor. address. Call this Initialize a given
4
function for each RT to subaddress, sets legal
5
be simulated. wordcount and number
6 Bit Count
of buffers.
7 Sync Polarity
8 Parity Error
BusTools_RT_StartStop()
9
Starts the RT simulation.
10 Not Used MSG BUFFER LEVEL
RTs will respond on 1553
11 once started. BusTools_RT_MessageRead() Your
12 End of Playback
BusTools_RT_MessageWrite() code
13 Gap Message Code
Read or Write RT RT/SA data buffers. here
14 Xmit message Code
Playb ack M es s ag e C o d e (en d ) 15 Channel (A or B) BusTools_RT_StartStop()
Stops the RT simulation.

BusTools_API_Close()
Closes a given board/channel.
Control Registers
Label Byte Address Description

Remote Terminal

rtbbase 0xA8-0xA9 RT address buffer base address


rtfbase 0xAA-0xAB RT filter buffer base address
rtlastsw 0x50-0x51 Pointer to base address of Last Status Word Buffer
rtswptr 0x52-0x53 Temp pointer to RT message buffer to store status word
disa0 0x68-0x69 RT 15..0 bus A disables
disa1 0x6A-0x6B RT 31..16 bus A disables
disb0 0x6C-0x6D RT 15..0 bus B disables
disb1 0x6E-0x6F RT 31..16 bus B disables
rtctlptr 0x90-0x91 RT control buffer pointer
rtmsgptr 0x92-0x93 RT message current word pointer
rtmsgpts 0x94-0x95 RT message initial word pointer
rtmsgpt2 0x96-0x97 RT message initial word pointer
owcnt 0x9E-0x9F Output word count used by RT
rteipts1 0xA0-0xA1 RT error injection pointer
rteiptst 0xA2-0xA3 RT error injection pointer for transmit command of an RT-RT message

Bus Controller

hpmsgpts 0x54-0x55 High priority aperiodic message pointer


lpmsgpts 0x56-0x57 Low priority aperiodic message pointer
hpmsgptt 0x58-0x59 High priority aperiodic message pointer temp
lpmsgptt 0x5A-0x5B Low priority aperiodic message pointer temp
hpaflag 0x5C-0x5D High priority aperiodic list flag (ffff or 0)
lpaflag 0x5E-0x5F Low priority aperiodic list flag (ffff or 0)
hpabump 0x60-0x61 High priority list bump normal flag
bcdatptt 0x62-0x63 BC data pointer for transmit commands
bcmsgptr 0x80-0x81 BC message block current word pointer
bcmsgpts 0x82-0x83 BC message block initial word pointer
bcdatptr 0x84-0x85 BC data pointer
bcintenl 0x86-0x87 BC interrupt enables
bcinten2 0x88-0x89 BC interrupt enables
bcretryi 0x8A-0x8B BC retry information
mfreg 0x8C-0x8D Minor frame register
mfcntr 0x8E-0x8F Minor frame counter
owordcnt 0x9C-0x9D Output word count used by BC and playback
bcmsgptt 0xA4-0xA5 BC message temporary pointer used to save bcmsgpts for End of Message
bccntrls 0xF4-0xF5 BC control word storage
bciepts 0xF6-0xF7 BC/Playback error injection pointer

Bus Monitor

eventype 0x48-0x49 BM trigger event type


trigdwc 0x4A-0x4B Reserved for trigger data word count
bmmsgpts 0x98-0x99 BM message initial word pointer
bmmsgptr 0x9A-0x9B BM message current word pointer
bmfbase 0xAC-0xAD BM filter buffer base address
eventptr 0xAE-0xAF BM trigger event pointer

Playback

pbstrptr 0x20-0x21 Playback start pointer


pbendptr 0x22-0x23 Playback end pointer
pbtalptr 0x24-0x25 Playback tail pointer
pbhedptr 0x26-0x27 Playback head pointer
pbinttsh 0x28-0x29 Playback threshold word count
pbintsts 0x2A-0x2B Playback interrupt status
pbthrcnt 0x2C-0x2D Playback interrupt threshold count
pbcwdptr 0x2E-0x2F Playback current word pointer
owordcnt 0x9C-0x9D Output word count used by BC and playback
pbiepts 0xF6-0xF7 BC/Playback error injection pointer

Other

iqueptr 0xA6-0xA7 interrupt queue pointer

101 West Anapamu St.


Santa Barbara, CA 93101
tel 805.965.8000 • fax 805.963.9630
www.condoreng.com