Lobaro Lorabox

Support for the Lobaro LoraBox with stm32l151cb-a. More...

Detailed Description

Support for the Lobaro LoraBox with stm32l151cb-a.

Hardware

LoraBox

MCU

MCU stm32l151cb-a
Family ARM Cortex-M3
Vendor ST Microelectronics
RAM 16KiB
Flash 128KiB
Frequency 32MHz (no external oscillator connected)
FPU no
Timers 10 (8x 16-bit, 2x watchdog timers)
ADCs 1x 24-channel 12-bit
UARTs 3
SPIs 2
I2Cs 2
Vcc 1.65V - 3.6V
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual
Board Manual Board Manual

User Interface

1 LEDs:

NAME LED0
Color green
Pin P1

Flashing

Connections

To flash using the STM32 ROM bootloader on the board, use the provided UART-USB bridge and connect it to the Config port. The Config port pinout is the following:

--------------- ---------------
| 1 2 3 4 5 6 | | x x x x x x |
--------------- ---------------
Config Addon
1: RST
2: VCC
3: RX1
4: TX1
5: Boot0
6: GND

STM32 Loader

To flash RIOT on the board, after connection the UART-USB bridge, just run:

BOARD=lobaro-lorabox make flash

This uses the stm32loader script to erase the memory and flash it interfacing with the STM32 ROM bootloader.

Lobaro Tool

Another way of interfacing with the STM32 ROM bootloader is using the Lobaro Maintenance Tool provided online for free for Linux, Mac & Windows. It allows flashing and accessing the UART.

LobaroTool

Connecting via Serial

The default UART port is the USART1, the same that is used for flashing, so it is available on the Config port. The default port is /dev/ttyUSB0. To access the port run:

BOARD=lobaro-lorabox make term

Note:** If you want to access the port with a different application please keep in mind that RTS must be set to '0' and DTR to '1' as the provided UART-USB bridge seems to invert this lines.

Files

file  board.h
 Support for Lobaro LoraBox.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Support for the Lobaro lorabox with stm32l151cb.