|
| 1 | +.. _scobc_module1: |
| 2 | + |
| 3 | +Space Cubics OBC module 1 |
| 4 | +######################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +`Space Cubics`_ OBC module 1 is a single board computer for spacecraft, |
| 10 | +especially for 3U CubeSats. The board is based on Xilinx Artix-7 FPGA and |
| 11 | +implements ARM Cortex M3 as the main CPU. |
| 12 | + |
| 13 | +.. figure:: ./scobc.jpg |
| 14 | + :width: 442px |
| 15 | + :align: center |
| 16 | + :alt: Space Cubics OBC module 1 |
| 17 | + |
| 18 | + Space Cubics OBC module 1 |
| 19 | + |
| 20 | +It is designed to survive in the severe space environment, extreme temperature, |
| 21 | +vacuum, and space radiation. |
| 22 | + |
| 23 | +As the name suggests, the board form factor is a module and requires a base I/O |
| 24 | +board connected at CON1, a board-to-board connector. This modularity allows |
| 25 | +CubeSat designers the freedom to connect and expand the capability required for |
| 26 | +their mission. |
| 27 | + |
| 28 | +Hardware |
| 29 | +******** |
| 30 | + |
| 31 | +Supported Features |
| 32 | +================== |
| 33 | + |
| 34 | +The Space Cubics OBC module 1 provides the following hardware features: |
| 35 | + |
| 36 | ++-----------+------------+------------------------------------+ |
| 37 | +| Interface | Controller | Driver/Component | |
| 38 | ++===========+============+====================================+ |
| 39 | +| NVIC | on-chip | nested vector interrupt controller | |
| 40 | ++-----------+------------+------------------------------------+ |
| 41 | +| SYSTICK | on-chip | systick | |
| 42 | ++-----------+------------+------------------------------------+ |
| 43 | +| UART | on-chip | serial port-polling; | |
| 44 | +| | | serial port-interrupt | |
| 45 | ++-----------+------------+------------------------------------+ |
| 46 | + |
| 47 | +The default configuration for the board can be found in the defconfig file: |
| 48 | +:file:`boards/arm/scobc_module1/scobc_module1_defconfig`. |
| 49 | + |
| 50 | +Other hardware features are not currently supported by the port. |
| 51 | + |
| 52 | +System Clock |
| 53 | +============ |
| 54 | + |
| 55 | +The board has two 24 MHz external oscillators connected to the FPGA for |
| 56 | +redundancy. The FPGA will select an active oscillator as CPU system clock. The |
| 57 | +selected clock signal is then used by the CMT in the FPGA, and drives the CPU at |
| 58 | +48 MHz by default. |
| 59 | + |
| 60 | +Serial Port |
| 61 | +=========== |
| 62 | + |
| 63 | +The default configuration contains one SC UART IP, which is register compatible |
| 64 | +with Xilinx UART Lite for basic TX and RX. This UART is configured as the |
| 65 | +default console and is accessible through the CON1 pin 43 and 45 for Rx and Tx, |
| 66 | +respectively. |
| 67 | + |
| 68 | +Programming and Debugging |
| 69 | +************************* |
| 70 | + |
| 71 | +Flashing |
| 72 | +======== |
| 73 | + |
| 74 | +Here is an example for building and flashing the \`hello\_world\` |
| 75 | +application for the board: |
| 76 | + |
| 77 | +Here is an example for building and flashing the :ref:`hello_world` application |
| 78 | +for the default design: |
| 79 | + |
| 80 | +.. zephyr-app-commands:: |
| 81 | + :zephyr-app: samples/hello_world |
| 82 | + :board: scobc_module1 |
| 83 | + :goals: flash |
| 84 | + |
| 85 | +After flashing, you should see message similar to the following in the terminal: |
| 86 | + |
| 87 | +.. code-block:: console |
| 88 | +
|
| 89 | + *** Booting Zephyr OS build zephyr-v2.7.99 *** |
| 90 | + Hello World! scobc_module1 |
| 91 | +
|
| 92 | +Note, however, that the application was not persisted in flash memory by the |
| 93 | +above steps. It was merely written to internal RAM in the FPGA. |
| 94 | + |
| 95 | +Debugging |
| 96 | +========= |
| 97 | + |
| 98 | +Here is an example for the :ref:`hello_world` application. |
| 99 | + |
| 100 | +.. zephyr-app-commands:: |
| 101 | + :zephyr-app: samples/hello_world |
| 102 | + :board: scobc_module1 |
| 103 | + :goals: debug |
| 104 | + |
| 105 | +Step through the application in your debugger, and you should see a message |
| 106 | +similar to the following in the terminal: |
| 107 | + |
| 108 | +.. code-block:: console |
| 109 | +
|
| 110 | + *** Booting Zephyr OS build zephyr-v2.7.99 *** |
| 111 | + Hello World! scobc_module1 |
| 112 | +
|
| 113 | +References |
| 114 | +********** |
| 115 | + |
| 116 | +.. target-notes:: |
| 117 | + |
| 118 | +.. _Space Cubics: |
| 119 | + https://spacecubics.com/ |
0 commit comments