Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
Artemis::Devices::RFM98::rfm98_config Struct Reference

The RFM98 configuration structure. More...

#include <rfm98.h>

Classes

struct  pins
 The pins used to connect the RFM98 to the Teensy. More...
 

Public Attributes

uint16_t freq
 The operating frequency of the radio in MHz.
 
uint8_t tx_power
 The transmitter power level in dBm.
 
struct Artemis::Devices::RFM98::rfm98_config::pins pins
 

Detailed Description

The RFM98 configuration structure.

This defines the configuration settings structure for the RFM98 radio.

The configuration structure consists of three members: the operating frequency (freq), the transmission power (tx_power), and the pins connecting the RFM98 and the Teensy (pins).

IMPORTANT: Ensure that frequency and power settings are correct before transmitting. Damage to the radio can occur if output power is too high, and frequency selected must be legally permitted.A diagram of the RFM98 configuration struct is included below.

 2 bytes  1 byte       6 bytes
 +--------+------------+--------+
 |  freq  |  tx_power  |  pins  |
 +--------+------------+--------+

Member Data Documentation

◆ freq

uint16_t Artemis::Devices::RFM98::rfm98_config::freq

The operating frequency of the radio in MHz.

For the RFM98W, valid values are from 410 to 545 MHz.

◆ pins

A diagram of the pins struct is included below.

 1 byte       1 byte       1 byte     1 byte   1 byte   1 byte
 +------------+------------+----------+--------+--------+---------+
 |  spi_miso  |  spi_mosi  |  spi_sck |  nirq  |   cs   |  reset  |
 +------------+------------+----------+--------+--------+---------+

◆ tx_power

uint8_t Artemis::Devices::RFM98::rfm98_config::tx_power

The transmitter power level in dBm.

For the RFM98W, valid values are from +2 to +20. High power operation requires the PA_BOOST pin be connected. Values below +18 dBm may be run continously, while greater values must be duty cycled (intermittent). This is accompished using the PA_DAC pin.


The documentation for this struct was generated from the following file: