|
|
# DPP2 SX1262 LoRa ComBoard Specs
|
|
|
|
|
|
<img src="uploads/870ef7ee5c890830bc4797772bd26627/dpp2_lora.jpg" width="35%" />
|
|
|
|
|
|
## Hardware components
|
|
|
* STM32L433CCU6 ARM Cortex M4 microcontroller ([datasheet](https://www.st.com/resource/en/datasheet/stm32l433cc.pdf), [ref. manual](https://www.st.com/resource/en/reference_manual/dm00151940.pdf))
|
|
|
* Semtech SX1262 868MHz LoRa transceiver, up to +22dBm ([datasheet](https://www.semtech.com/products/wireless-rf/lora-transceivers/sx1262))
|
|
|
* RF shield
|
|
|
* TI MSP430FR5969 MCU (BOLT)
|
|
|
* optional 32MHz TCXO (not installed)
|
|
|
|
|
|
The PCB design can be found [here](https://gitlab.ethz.ch/tec/public/dpp/blob/master/hardware/dpp2_sx1262/DPP2_ComBoard_SX1262_LoRa.pdf).
|
|
|
|
|
|
|
|
|
## Example Code
|
|
|
|
|
|
Basic code examples can be found in our [repository](https://gitlab.ethz.ch/tec/public/dpp/tree/master/software/com/stm32l4_sx1262).
|
|
|
|
|
|
|
|
|
## Pin mapping (STM32L433)
|
|
|
|
|
|
| GPIO | Name | Mapping/Function on DevBoard | Mapping/Function on FlockLab |
|
|
|
|------|-----------|---------------------------------------------|------------------------------------|
|
|
|
| PA0 | COM_IND | BOLT indication line (input) | FLOCKLAB_SIG1 (actuation input) |
|
|
|
| PA3 | COM_TREQ | BOLT time request (input) | FLOCKLAB_INT1 (tracing output) |
|
|
|
| PA4 | APP_IND | BOLT output queue indication line (input) | FLOCKLAB_SIG2 (actuation input) |
|
|
|
| PA9 | COM_TXD | Serial logging and BSL programming (input) | Serial logging and BSL programming |
|
|
|
| PA10 | COM_RXD | Serial logging and BSL programming (output) | Serial logging and BSL programming |
|
|
|
| PA13 | COM_PROG2 | Pin #9 on debug header (input or output) | FLOCKLAB_LED3 (tracing output) |
|
|
|
| PA14 | COM_PROG | SWCLK (target programming via SWD) | FLOCKLAB_LED1 (tracing output) |
|
|
|
| PA15 | RFDIO1 | n/a | FLOCKLAB_LED2 (tracing output) |
|
|
|
| PB3 | COM_GPIO2 | Pin #8 on debug header (input or output) | FLOCKLAB_LED2 (tracing output) |
|
|
|
| PH3 | COM_GPIO1 | Pin #7 on debug header (input or output) | BSL entry pin |
|
|
|
|
|
|
|
|
|
## Recommended pin configuration (STM32L433)
|
|
|
|
|
|
| GPIO | Assigned name, function | Recommended config |
|
|
|
|------|-----------------------------------------|-------------------------------|
|
|
|
| PA0 | COM_IND, BOLT input queue indicator | Input |
|
|
|
| PA1 | Unused | Analog |
|
|
|
| PA2 | Unused (test point) | Analog |
|
|
|
| PA3 | COM_TREQ, BOLT time request line | Input |
|
|
|
| PA4 | APP_IND, BOLT output queue indicator | Input |
|
|
|
| PA5 | COM_SCK, BOLT SPI serial clock | Module function or output low |
|
|
|
| PA6 | COM_MISO, BOLT SPI master input | Module function or output low |
|
|
|
| PA7 | COM_MOSI, BOLT SPI master output | Module function or output low |
|
|
|
| PA8 | RF_RST, SX1262 radio reset line | |
|
|
|
| PA9 | COM_TXD, UART transmit | Module function |
|
|
|
| PA10 | COM_RXD, UART receive | Module function |
|
|
|
| PA11 | RF_BUSY, SX1262 radio busy indicator | Input |
|
|
|
| PA12 | RF_SW, SX1262 antenna switch on/off | Output |
|
|
|
| PA13 | COM_PROG2, GPIO pin or SWDIO | - |
|
|
|
| PA14 | COM_PROG, SWCLK | - |
|
|
|
| PA15 | RF_DIO1, SX1262 radio DIO1 pin | Input |
|
|
|
| PB0 | COM_ACK, BOLT acknowledgement line | Input |
|
|
|
| PB1 | COM_REQ, BOLT request line | Output low |
|
|
|
| PB2 | COM_MODE, BOLT mode select | Output |
|
|
|
| PB3 | COM_GPIO2, GPIO pin or SWO | on Flocklab: Input! |
|
|
|
| PB4 | Unused | Analog |
|
|
|
| PB5 | Unused | Analog |
|
|
|
| PB6 | Unused | Analog |
|
|
|
| PB7 | Unused | Analog |
|
|
|
| PB8 | COM_LED2, LED | Output |
|
|
|
| PB9 | COM_LED1, LED | Output |
|
|
|
| PB10 | Unused | Analog |
|
|
|
| PB11 | Unused | Analog |
|
|
|
| PB12 | RF_NSS, SX1262 radio SPI slave select | Module function or output |
|
|
|
| PB13 | RF_SCK, SX1262 radio SPI serial clock | Module function |
|
|
|
| PB14 | RF_MISO, SX1262 radio SPI master input | Module function |
|
|
|
| PB15 | RF_MOSI, SX1262 radio SPI master output | Module function |
|
|
|
| PC13 | Connected to PA15 | Input |
|
|
|
| PC14 | LFXT_IN, 32kHz crystal oscillator | OSC32_IN |
|
|
|
| PC15 | LFXT_OUT, 32kHz crystal oscillator | OSC32_OUT |
|
|
|
| PH0 | HFXT_IN, 12MHz crystal oscillator | OSC_IN |
|
|
|
| PH1 | HFXT_IN, 12MHz crystal oscillator | OSC_OUT |
|
|
|
| PH3 | COM_GPIO1, GPIO pin or BOOT0 | - |
|
|
|
| NRST | COM_RST, MCU reset | - | |
|
|
\ No newline at end of file |