| BlueNRG GUI: BlueNRG-1 network coprocessor (SPI mode)

Nucleo L152RE - STEVAL_IDB007V1 HW/SW setup

This document describes the HW/SW setup steps to be applied on Nucleo L152RE -STEVAL_IDB007V1 platforms in order to use the BlueNRG GUI SW tool.

# Hardware Platforms

- BlueNRG-1 development platform (order code: STEVAL-IDB007V1)
- STM32L152RE Nucleo platform (order code: NUCLEO-L152RE)

- NOTES:
  1. When using a NUCLEO-L152RE platform, install the related ST-Link, ST-Link/V2, ST-Link/V2-1 USB driver signed for XP, Windows7, Windows8 (STSW-LINK009).
  2. When using a NUCLEO-L152RE platform, make sure the ST-Link firmware is updated to latest version available on ST web page. This can be checked/achieved by using the STM32 ST-LINK Utility v3.6.0 (or later).

# Hardware Platforms Prerequisites: connections and HW modifications

- The following connections must be performed between the 2 platforms (Nucleo-L152RE & STEVAL-IDB007V1):

| Nucleo-L152RE pin/connector (SPI1) | STEVAL-IDB007V1 pin/connector
--- | --- | ---
SPI CLOCK | PB3/CN10.31/CN9.4 | IO0
SPI MOSI | PA7/CN10.15/CN5.4 | IO3
SPI MISO | PA6/CN10.13/CN5.5 | IO2
SPI CS | PA1/CN7.30/CN8.2 | IO11
SPI IRQ | PA0/CN7.28/CN8.1 | IO7
BLUENRG-1 BOOT (1) | PB14/CN10.28 | IO7
BLUENRG-1 RESETN | PA8/CN10.23/CN9.8 | RESETN
VDD | VDD | VBLUE
GND | GND | GND

Note (1) : BLUENRG-1 BOOT pin to be connected only for bootloader mode.

- The following HW modifications must be done on the BlueNRG-1 STEVAL-IDB007V1:
  1. Remove resitor R52.
  2. Open JP1 jumper.
  3. JP2 jumper in 1-2 position.

# Software Prerequisites: SW Configuration

- The following SW steps must be performed on the BlueNRG-1, STEVAL-IDB007V1 and Nucleo-L152RE platforms:
  1. Open the BlueNRG-1 Flasher tool available on BlueNRG-1 DK SW package (STSW-BLUENRG1-DK) and configure the BlueNRG-1 device a network coprocessor (SPI mode), by loading the \Firmware\BlueNRG1\DTM\DTM_SPI.hex binary file on BlueNRG-1 STEVAL-IDB007V1 platform.
  2. Open the STM32 STLink Utility and configure the Nucleo-L152RE platform with the STM32L_Nucleo_DTM_SPI.hex binary file available on \Firmware\BlueNRG1\Nucleo_L152RE.