Skip to content

NZ32-SC151

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](http://wiki.modtronix.com/lib/exe/fetch.php?media=products:nz- stm32:nz32-sc151-r1_pinout_diagram_782.jpg)

MCU

MCUSTM32L151RC
FamilyARM Cortex-M3
VendorST Microelectronics
RAM32Kb
Flash256Kb
Frequency32MHz
FPUno
Timers11 (8x 16-bit,2x 16-bit basic timers, 2x watchdog timers, 1x 32-bit [TIM5])
ADCs1x 25-channel 12-bit
DACs1x 2-channel 12-bit
USB 2.01
UARTs3
SPIs3
I2Cs2
Vcc1.65V - 3.6V
DatasheetDatasheet
Reference ManualReference Manual
Programming ManualProgramming Manual
Board WIKIWIKI nz32-sc151

User Interface

2 Button:

NAMEBOOTRESET
PinBOOT0NRST

1 LED:

NAMELED
Colorred
PinPB2

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

DeviceIDSupportedComments
MCUstm32l1partlyEnergy saving modes not implemented
Low-level driverGPIOyes
DACyes
UARTyes
I2CyesI2C1
SPIyes
ADCyesOnly 5 enabled PC0, PC1, PC2, and two internal ADC channels
USBno
RTTno
PWMyesOn PC6, PC7, PC8, PC9
RTCyes
RNGno
Timeryes