... | ... | @@ -15,7 +15,7 @@ |
|
|
* Radio oscillator:
|
|
|
* default: 32 MHz XT
|
|
|
* optional 32 MHz TCXO (not installed)
|
|
|
* [Schematics (PCB design)](https://gitlab.ethz.ch/tec/public/dpp/blob/master/hardware/dpp2_sx1262/DPP2_ComBoard_SX1262_LoRa.pdf)
|
|
|
* [Schematics (PCB design)](https://gitlab.ethz.ch/tec/public/dpp/dpp/blob/master/hardware/dpp2_sx1262/DPP2_ComBoard_SX1262_LoRa.pdf)
|
|
|
|
|
|
*Note: In order to work with the DPP2LoRa COM board, it needs to be stacked onto an application board (e.g. the [DevBoard](Application/DevBoard/DevBoard). Stack the COM board onto the application board and fix it with appropriate hardware (spacer, screw, nut).*
|
|
|
|
... | ... | @@ -23,7 +23,7 @@ |
|
|
|
|
|
## Example Code
|
|
|
|
|
|
* A basic blink LED code example (bare metal) can be found in our [repository](https://gitlab.ethz.ch/tec/public/dpp/tree/master/software/com/stm32l4_sx1262).
|
|
|
* A basic blink LED code example (bare metal) can be found in our [repository](https://gitlab.ethz.ch/tec/public/dpp/dpp/tree/master/software/com/stm32l4_sx1262).
|
|
|
* More code is available in the [Flora](https://gitlab.ethz.ch/tec/public/flora) repository.
|
|
|
|
|
|
<br />
|
... | ... | @@ -66,7 +66,7 @@ In addition, make sure that the solder jumpers J500, J501, J502 and J503 on the |
|
|
* **Software**
|
|
|
1. Install the following python packages:
|
|
|
`python3 -m pip install pyserial intelhex stm32loader`
|
|
|
2. Get the [STM32 programming script](https://gitlab.ethz.ch/tec/public/dpp/-/blob/master/software/tools/program_stm32.py). The script runs on Linux, but may need some adjustment on a Windows machine.
|
|
|
2. Get the [STM32 programming script](https://gitlab.ethz.ch/tec/public/dpp/dpp/-/blob/master/software/tools/program_stm32.py). The script runs on Linux, but may need some adjustment on a Windows machine.
|
|
|
3. In order to flash a binary to the STM32L4 MCU on the DPP2LoRa COM board use the following command:
|
|
|
`./program_stm32.py <path to .hex or .elf>`
|
|
|
The script should automatically choose the right serial port. If you have more than one board connected, then you need to specify the serial port manually as a second argument.
|
... | ... | @@ -77,7 +77,7 @@ The script should automatically choose the right serial port. If you have more t |
|
|
|
|
|
**DevBoard:** Notice that when using this ComBoard together with the [DPP DevBoard](Application/DevBoard/DevBoard), `BOLT_VCC` (VCC Select Pin 6) and `COM_VCC` (VCC Select Pin 8) are connected on the ComBoard. Therefore, for power measurements of the ComBoard, _both_ jumpers (`C` and `B`) must be disconnected.
|
|
|
|
|
|
**FlockLab:** The boards that are available as targets on FlockLab (`DPP2LoRa` and `DPP2LoRaHG`) have the resistor `R200` (see [schematic](https://gitlab.ethz.ch/tec/public/dpp/blob/master/hardware/dpp2_sx1262/)) placed with a 220 Ohm part (measured on a single board). Therefore, it is essential that *Pin _PB.3_* (`COM_GPIO2`) is not left floating, as this can lead to significant observable leakage currents up to 50mA. Similarly, *Pin _PH.3_* (`COM_GPIO1`) should not be used and always remain cleared, as FlockLab is actively driving it low because it is connected to `TARGETx_PROG`.
|
|
|
**FlockLab:** The boards that are available as targets on FlockLab (`DPP2LoRa` and `DPP2LoRaHG`) have the resistor `R200` (see [schematic](https://gitlab.ethz.ch/tec/public/dpp/dpp/blob/master/hardware/dpp2_sx1262/)) placed with a 220 Ohm part (measured on a single board). Therefore, it is essential that *Pin _PB.3_* (`COM_GPIO2`) is not left floating, as this can lead to significant observable leakage currents up to 50mA. Similarly, *Pin _PH.3_* (`COM_GPIO1`) should not be used and always remain cleared, as FlockLab is actively driving it low because it is connected to `TARGETx_PROG`.
|
|
|
|
|
|
<br />
|
|
|
|
... | ... | |