How do I receive a broadcast message using BusTools/1553-API?

This is a basic example program that sets up a simple RT Simulation. Simulates RT1 with two subaddresses, SA1 RECEIVE and SA2 TRANSMIT.

This program also shows how to receive BROADCAST messages. Note that BROADCAST data is not copied to the normal subaddress message buffers. The reason for this is that it is not efficient to copy 32 data words to 32 RTs, so the broadcast data for ALL RTs is kept in the BROADCAST structures.

This program sets up BROADCAST SA 15 RECEIVE.

Download this example by clicking the attachments link on the right.