English
Language : 

CT2553 Datasheet, PDF (15/36 Pages) Aeroflex Circuit Technology – CT2553 / 2554 / 2555 / 2556 Advanced Integrated MUX (AIM) Hybrid FOR MIL-STD-1553
BC SETUP IMPLEMENTATION EXAMPLE
Figure 18a-c shows the BC mode examples for
two message transfers, BASIC setup, and BC
memory setup.
START
0000
LOAD CONFIGURATION
REGISTER (BC MODE)
LOAD STACK POINTER
LOAD STARTING ADDRESS OF
FIRST MESSAGE INTO STACK
LOAD STARTING ADDRESS OF
SECOND MESSAGE INTO STACK
LOAD FIRST MESSAGE
INTO MEMORY
LOAD SECOND MESSAGE
INTO MEMORY
LOAD MESSAGE COUNTER WITH
1's COMPLEMENT OF MESSAGE
COUNT = FD (HEX)
LOAD START REGISTER
WITH THE VALUE 02
Figure 18a – BC Set-Up
Example for Two
Message Transfer
GIVEN:
1. All values are in hex.
2. Map Area "A" is used and located from Address 0000 to Address
00FF.
3. Message 1 located at Address 0140, is a TRANSMIT Command
to RT# 1, Subaddress #1, Word Count = 1, transmitted on
BUS A.
4. Message 2 located at Address 0180, is a RECEIVE Command to
RT#3, Subaddress #1, Word Count = 3, transmitted on BUS B.
5. Configuration Register is assumed to be memory mapped at
location 2001. START/RESET Register is memory mapped at
location 2003.
MOV 2003, 0001
MOV 2001, 0FFF
; Issue Reset
; Initialize Configuration Register
MOV 0100, 0000
MOV 0101, 00FD
; Initialize Stack Pointer
; Initialize Message Count
MOV 0003, 0140 ; Load Start Address Of Message #1
MOV 0007, 0180 ; Load Start Address Of Message #2
MOV 0140, 0080
MOV 0141, 0C21
; Load BC Control Word Message #1
; Load Command Word Message #1
MOV
MOV
MOV
MOV
MOV
0180,
0181,
0182,
0183,
0184,
0000
1823
1111
2222
3333
; Load BC Control Word Message #2
; Load Command Word Message #2
; Load Data Word #1 Message #2
; Load Data Word #2 Message #2
; Load Data Word #3 Message #2
MOV 2003, 0002 ; Issue "Start"
Figure 18b – Sample
BC Set-Up Instructions
01
40
0003
Descriptor
Stack Entries
01
80
0000
00FD
0007
0100
0101
00
80 0140
0C
21
**
Message #1
*
*
00
00 0180
18
23
11
11
22
22
Message #2
33
33
**
*
* Left empty for RTU’s status response.
** Loop Back word.
Figure 18c – BC SET-UP
Memory Map
Aeroflex Circuit Technology
15
SCDCT2553 REV B 8/6/99 Plainview NY (516) 694-6700