NZ32-SC151

Support for the Modtronix nz32-sc151 board. More...

Detailed Description

Support for the Modtronix nz32-sc151 board.

This board provider is modtronix. They don't supply data sheet's but there wiki can be found HERE. The schematic for there board can be found HERE.

Hardware

st-
nucleo-l1

MCU

MCU STM32L151RC
Family ARM Cortex-M3
Vendor ST Microelectronics
RAM 32Kb
Flash 256Kb
Frequency 32MHz
FPU no
Timers 11 (8x 16-bit,2x 16-bit basic timers, 2x watchdog timers, 1x 32-bit [TIM5])
ADCs 1x 25-channel 12-bit
DACs 1x 2-channel 12-bit
USB 2.0 1
UARTs 3
SPIs 3
I2Cs 2
Vcc 1.65V - 3.6V
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual
Board WIKI WIKI nz32-sc151

User Interface

2 Button:

NAME BOOT RESET
Pin BOOT0 NRST

1 LED:

NAME LED
Color red
Pin PB2

Using UART

This board doesn't open an UART or serial interface threw the USB automatically, and the USB device driver hasn't been implemented to RIOT yet. Therefore, to open an UART interface one hast to connect a usb/ttl converter to the UART3 pins PB11 (RX3) and PB10 (TX3).

Flashing the device

The standard method for flashing RIOT to the nz32-sc151 is using dfu. On linux you must get dfu-util package v.8.0 or newer. You can try:

sudo apt-get install dfu-util

but most repos install older versions, therefore you should clone from dfu- util and follow building instructions HERE.

Once dfu-util is installed you can just flash as a normal board, although sudo privileges are required.

sudo make BOARD=nz32-sc151 flash

NOTE: this only works for linux, for windows you can use ST Microelectronics DFU Bootloader although you will need to build the files independently.

Implementation Status

Device ID Supported Comments
MCU stm32l1 partly Energy saving modes not implemented
Low-level driver GPIO yes
DAC yes
UART yes
I2C yes I2C1
SPI yes
ADC yes Only 5 enabled PC0, PC1, PC2, and two internal ADC channels
USB no
RTT no
PWM yes On PC6, PC7, PC8, PC9
RTC yes
RNG no
Timer yes

Files

file  board.h
 Board specific definitions for the nz32-sc151 board.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Peripheral MCU configuration for the limifrog-v1 board.
 
file  sx127x_params.h
 sx127x configuration for nz32-sc15 using modtronix inAir9 LoRa module