Support for the LoRa-E5 Development Board - STM32WLE5JC. More...
Support for the LoRa-E5 Development Board - STM32WLE5JC.
The LoRa-E5 Dev Board is an evaluation board for the Seeed Studio LoRa-E5 STM32WLE5JC module. The cpu includes a radio supporting multiple LPWAN protocols in the 868/915 MHz frequency bands, including LoRa, capable of 20.8dBm output at 3.3V.
Convenient interfaces as Grove and RS-485 are mapped out, and the many pins map most of the modules GPIOs. But watch out! Although it features Arduino style pin headers, they are not arduino compatible.
The board also includes a JST battery connector as well as control over the external power lines which can be enabled or disabled by software.
|Frequency||up to 48MHz|
|Vcc||1.8 V - 3.6V|
|Reference Manual||Reference Manual|
|Board Manual||Board Manual|
|Board Schematic||Board Schematic|
|LoRa-E5 STM32WL5EJC Module wiki||https://wiki.seeedstudio.com/LoRa-E5_STM32WLE5JC_Module/#2-develop-with-stm32cube-mcu-package|
The default Peripheral Mapping is specified here
|Pin||PA0 (IN)||PB13 (IN)||NRST|
All power lines are on by default, but some of them can optionally be disabled, namely 3.3V and 5V. These feed all external pins as well as the internal LM75A, more details are available on the schematic.
The board comes pre-flashed with a DFU bootloader, an AT command Firmware and read protection enabled and set to 1. So before being able to program anything else, read protection needs to be set back to level 0.
The easiest way of doing this is with the STM32CubeProgramer GUI and setting the RDP option byte to
Alternatively you can use the STM32_Programer_CLI:
Since there is no ST-LINK programmer on the board an external one needs to be connected. Any Nucleo or STM32Discovery board can be used for this by simply removing the ST-LINK jumpers and connecting on the CN4 headers (see UM1724 6.2.4 for more details). An example is seen in the following image:
Flashing can then be performed seamlessly with OpenOCD:
The default serial connection is through the USB-C port mapping to PB7 (RX) and PB6 (TX) UART pins (a second UART and an LPUART interface is also exposed).
For Debugging an external programmer is required, connected as depicted in the above picture, then the debugger can be attached with:
This board comes embedded with an
sx126x based LoRa radio. The precise module that needs to be selected is
USEMODULE += sx126x_stm32wl, this is also selected with
USEMODULE += netdev_default.
Differently from other
stm32wl chips this module only transmits through
This board includes a LM75 Temperature Sensor driver compile configuration temperature sensor. It can be included with
USEMODULE += lm75a or through
USEMODULE += saul_default.
|Board specific configuration for the Arduino API. |
|Mapping from MCU pins to Arduino pins. |
|Pin definitions and board configuration options for LoRa-E5 Development Board. |
|Board specific configuration of direct mapped GPIOs. |
|Peripheral MCU configuration for the LoRa-E5 Development Board. |