quasar.h

Board Support Package for the Quasar board.

Copyright

Copyright (C) 2026 SPARK Microsystems International Inc. All rights reserved.

License

This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.

Author

SPARK FW Team.

Typedefs

typedef struct quasar_config quasar_config_t

Configuration set by the application to configure the Quasar BSP.

Note

If debug mode is enabled, both debug GPIOs and a debug UART will be initialized. The GPIOs are located on the expansion port, and communication via UART is available through the port of the ST-Link programmer alongside SWD. The UART protocol is set to 115200 baud, 8 data bits, no parity, and 1 stop bit (115200 8N1).

Functions

void quasar_init(quasar_config_t quasar_config, quasar_bsp_status_t *err)

Initialize the Quasar board’s peripherals.

Parameters:
  • quasar_config – The application level configuration.

  • err[out] Pointer to store error status.

void quasar_system_reset(void)

Initiate a system reset request to reset the MCU.

quasar_revision_t quasar_get_board_revision(void)

Get the board revision.

Returns:

Board revision.

void quasar_jump_to_bootloader(void)

Jump to bootloader mode for board programming.

struct quasar_config
#include <quasar.h>

Configuration set by the application to configure the Quasar BSP.

Note

If debug mode is enabled, both debug GPIOs and a debug UART will be initialized. The GPIOs are located on the expansion port, and communication via UART is available through the port of the ST-Link programmer alongside SWD. The UART protocol is set to 115200 baud, 8 data bits, no parity, and 1 stop bit (115200 8N1).

Public Members

bool debug_enabled

Enable debug mode to control debug pins and UART on the ST-Link.

bool radio1_enabled

Enable radio 1 peripherals.

bool radio2_enabled

Enable radio 2 peripherals.

bool adc_enabled

Select if adc features are activated. This allow to deinitialize the ADC if battery monitoring is not used.

quasar_clk_freq_t clk_freq

Select the board clock frequency.

quasar_vdd_selection_t quasar_vdd_selection

Select the board VDD level.