MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.
RT-Validation Test Plan Support
The BC provides some special transfer error conditions, due to the further BC support
of the MIL-HDBK-1553A/B ‘RT Validation TestPlan’. Therefore there are provided two
special error modes for dedicated validation test support:
5.2.1.4 Superceding CMD, Test D Support
At test D, after the last data word of the previous BC-RT transfer a valiud legal
transmit command shall follow contiguously. This test can only be stimulated by
the BC, it two error conditions are inserted simultaneously at the BC-RT
transfer. Set the following parameters:
- err.type = API_ERR_TYPE_DATA_SYNC
- err.err_spec.WPOS = one entry greater than the word count of the transfer
- err.sync = 0x38 (111000b Sync Pattern)
- err.config = 0
Thus, the BC inserts automatically a word count high error and the sync error is
inserted at the additional word, which shall be appropriate set in the buffer, to
generate the expected command word.