mbed-os/targets/TARGET_STM/TARGET_STM32WL
jeromecoutant 2bdd68f0d0 STM32WL README update for custom boards 2021-07-13 12:22:36 +02:00
..
STM32Cube_FW Merge pull request #14249 from jeromecoutant/PR_STM32WL_LORA 2021-02-15 11:04:00 +00:00
TARGET_STM32WL54xC STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WL55xC moved to up folder common to STM32WL 2021-07-05 16:43:44 +02:00
TARGET_STM32WLE4x8 STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WLE4xB STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WLE4xC STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WLE5x8 STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WLE5xB STM32WL : ADDING STM32WL55xC SUPPORT 2021-02-08 08:27:24 +00:00
TARGET_STM32WLE5xC added target stm32wle5xc 2021-07-05 12:57:33 +02:00
CMakeLists.txt STM32WL: correct CMakeLists.txt for STM32WLE5xC 2021-07-09 09:33:12 +02:00
PeripheralNames.h moved to up folder common to STM32WL 2021-07-05 16:43:44 +02:00
README.md STM32WL README update for custom boards 2021-07-13 12:22:36 +02:00
analogin_device.c STM32WL : ANALOGIN full support 2021-02-08 17:19:05 +01:00
analogout_device.c STM32 ANALOGOUT : correct GPIO free 2021-03-18 14:53:00 +01:00
cmsis.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
flash_api.c STM32: remove critical sections in flash_program_page 2021-03-24 17:40:18 +01:00
gpio_irq_device.c STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
gpio_irq_device.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
i2c_device.c driver/i2c: STM32: Solves I2C driver performanc issue. 2021-07-02 10:54:16 +05:30
i2c_device.h driver/i2c: STM32: Solves I2C driver performanc issue. 2021-07-02 10:54:16 +05:30
objects.h driver/i2c: STM32: Solves I2C driver performanc issue. 2021-07-02 10:54:16 +05:30
pin_device.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
pwmout_device.c STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
pwmout_device.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
serial_device.c STM32WL astyle 2021-05-25 14:46:00 +02:00
spi_api.c STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
spi_device.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00
system_clock.c moved to STM32WL up folder 2021-07-05 12:52:58 +02:00
us_ticker_data.h STM32WL : ADDING STM32WL SUPPORT 2021-02-08 08:22:19 +00:00

README.md

STM32WL family

st.com STM32WL family page

This ST MCU family is dual-core : based on an Arm Cortex-M4 core and an Arm Cortex-M0+ core.

Only M4 core is currently used by mbed-os applications.

Supported boards

NUCLEO_WL55JC

st.com STM32WL5x MCU page

st.com NUCLEO page

mbed.com NUCLEO page

  • Total FLASH is 256KB
  • RAM: 64 KB

CUSTOM boards

Check https://github.com/ARMmbed/stm32customtargets

LoRa

MBED-OS support

Lora radio is enabled in default STM32WL configuration

baremetal support

Baremetal is supported.

mbed_app.json:

{
    "requires": ["bare-metal", "lora", "stm32wl-lora-driver"]
}

Antenna configuration

NUCLEO HW configuration is provided as the default configuration.

https://github.com/ARMmbed/mbed-os/blob/master/connectivity/drivers/lora/TARGET_STM32WL/STM32WL_radio_driver.cpp#L23

MBED_WEAK void set_antenna_switch(RBI_Switch_TypeDef state)

So you can overwrite it for your custom board.

GPIO debug pins

2 pins can be configured to check RX and TX activity.

Example of mbed_app.json:

{
    "target_overrides": {
        "NUCLEO_WL55JC": {
            "stm32wl-lora-driver.debug_rx": "LED1",
            "stm32wl-lora-driver.debug_tx": "LED2"
        }
    }
}

mbed-os test

target platform_name test suite result elapsed_time (sec) copy_method
NUCLEO_WL55JC-ARMC6 NUCLEO_WL55JC connectivity-lorawan-tests-tests-lorawan-loraradio OK 44.8 default

Application example

https://github.com/ARMmbed/mbed-os-example-lorawan/