CTS-SAT-1-OBC-Firmware
|
Some subsystems (e.g, EPS, GNSS, MPI) are expensive devices, and/or can only be used in certain at-school environments. The facilitate development and testing, we can emulate these subsystems using software running on a computer and/or Arduino.
By using a USB-to-UART converter plugged into the STM32 dev kit on the UART port that the subsystem is expected, and then by running a Python script (which mimics the messaging of the subsystem), we can test the firmware as though it's connected to the actual subsystem.
Emulation scripts exist for the following subsystems, in the following modes:
The Python serial terminal is useful for receiving only.
For example, if you are testing a system which sends a command to the GNSS, for example, you can use this to view the commands sent from the STM32 to the GNSS, assuming the USB-to-UART converter is connected to the GNSS UART lines on the STM32.