3 Operational Modes
- Startup
- Emergency
- Mission Mode
Reasons we may go into emergency mode:
- ADCS pointing mechanism not working properly
- Weather
- GPS/TLE/RTC data is misaligned
- Don’t have proper positioning information
- RFFE or CC1120 board gets fried
- Radiation bit flip in cc1120 register
Startup Mode
- 5 minutes of radio silence
- Handled by CDH startup process
- First contact
- Turn on Receive mode and wait for connection request from ground station
- Activating Receive mode is part of CDH startup process
Emergency mode:
- If satellite has not received messages in 48 hours, it should enter emergency mode
- Handled by cdh and/or comms (if command manager goes 48 hours without receiving anything, signal to comms to switch to emergency mode)
- Signalling can be handled by either cdh or comms
- Emergency mode module should be handled by comms
- Redo cc1120Init()
- Satellite will start to accept unencrypted commands
- If normal power levels: send a connection request every 90 seconds and then switch to receive mode to wait for ground station response
- wish list: develop RX sniff mode to save power
- Ground station should send the data and a reset command after connection request is received or 90 seconds into the pass over if no connection request is received
- TODO: figure out how costly doing a system reset is (If we’re in emergency mode for too long do a system reset?)