The purpose of the M1760_RT_Program_EEPROM is to illustrate the methods to call in the naibrd library to configure the FTJ or FTK channel as a Remote Terminal, create buffers and legalize Subaddresses 2 and 15 for Rx messages, create buffers and legalize Subaddress 23 for Tx messages and copy the current configuration to the module EEPROM so that when the module is rebooted, the channel will auto-initialize with this configuration. With this configuration, the channel will respond with clear status (within 100 ms from power-up) to Rx messages on subaddresses 2 and 15. Additionally, the channel will respond with clear status and data to Tx messages on subaddress 23. This application demonstrates the usage of the following naibrd 1553 routines.
- naibrd_1553_GetChannelCount
- naibrd_1553_Open
- naibrd_1553_Initialize
- naibrd_1553_RtGetAddress
- naibrd_1553_RtDataBlockCreate
- naibrd_1553_RtDataBlockMapToSubaddress
- naibrd_1553_RtDataBlockWrite
- naibrd_1553_RtStart
- naibrd_1553_RtStop
- naibrd_1760_SetEEPROMUnlock
- naibrd_1760_SetEECOPY
- naibrd_1760_GetDeviceReady
- naibrd_1553_Free
The following system configuration routines from the nai_sys_cfg.c file are called to assist with the configuration setup for this program prior to calling the naibrd 1553 routines.
- ConfigDevice
- DisplayDeviceCfg
- GetBoardSNModCfg
- CheckModule