Lobaro Lorabox¶
Support for the Lobaro LoraBox with stm32l151cb-a.
Hardware¶
MCU¶
MCU | stm32l151cb-a |
---|---|
Family | ARM Cortex-M3 |
Vendor | ST Microelectronics |
RAM | 16Kb |
Flash | 128Kb |
Frequency | 32MHz (no external oscilator 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 |
MCU¶
MCU | stm32l151cb-a |
---|---|
Family | ARM Cortex-M3 |
Vendor | ST Microelectronics |
RAM | 16Kb |
Flash | 128Kb |
Frequency | 32MHz (no external oscilator 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 |
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 7 8 9 10 11 | --------------- ---------------
| 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:
1 | BOARD=lobaro-lorabox make flash
|
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 7 8 9 10 11 | --------------- ---------------
| 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:
1 | BOARD=lobaro-lorabox make flash
|
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.
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:
1 | BOARD=lobaro-lorabox make term
|