Support for the Lobaro LoraBox with stm32l151cb-a. More...
Support for the Lobaro LoraBox with stm32l151cb-a.
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 |
1 LEDs:
NAME | LED0 |
---|---|
Color | green |
Pin | P1 |
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:
To flash RIOT on the board, after connection the UART-USB bridge, just run:
This uses the stm32loader script to erase the memory and flash it interfacing with the STM32 ROM bootloader.
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.
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:
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. | |