# RAIL - SoC RAILtest

RAILTest application is documented in [UG409: RAILtest User's Guide](https://www.silabs.com/documents/public/user-guides/ug409-railtest-users-guide.pdf)


# Digi Notes

## Overview

This document describes the development environment, hardware configuration, and required project modifications.

---

## Development Environment

- **Simplicity Studio v6 (SSv6)**
- **Simplicity SDK**  
  A copy of the SDK is included in the provided ZIP folder.
- **Target IDE:** Visual Studio Code (VS Code)
- **Build Extension:** Simplicity Extension for VS Code

---

## Hardware Configuration

- **Part Number:** EFR32FG25B222F1920IM56
- **Board:** EFR32FG25 902–928 MHz 16 dBm Radio Board  
  (BRD4270B Rev A06)

---

## Project Configuration Steps

### 1. HFXO Configuration

- Add **HFXO** using *Software Components* in the `.slcp` file.
- Set the HFXO value to: 40000000

---

### 2. EUSART Pin Configuration

- Use the **Pin Tool** to configure the required EUSART lines.

---

### 3. Radio Configuration

- Use the **Radio Configuration Tool**.
- Select **Wi-SUN FAN 1.1**.
- Click **Customize** in:
  - Channel Group
  - Protocol Configuration
- Set the crystal frequency to: 40MHz

> ⚠️ Ensure the crystal frequency matches the HFXO configuration.

---

## Code Modifications

- The default project targets Silicon Labs sample boards.
- Board-specific sample code was removed (or commented out) to match our custom hardware.
- Use `diff` tool to track and verify all code modifications.

---

## Notes

Ensure that:
- The HFXO frequency and radio crystal frequency match.
- The correct board and part number are selected during project creation.
- All unnecessary sample board code is removed before deployment.

### Once built, use the .S37 and the Commander tool to flash it onto the DIGI module. The Commander tool can be found in SSv6 or the SDK