Commit 1d67e301 authored by Ramirez, Yvan's avatar Ramirez, Yvan
Browse files

Added some help on the Pinnouts and configurations

parent d12fdba6
# BlueNRG_Scanner
This is a BLE scanner example for the ST BluenrgMS. This code works with the NucleoL053 and the X-Nucleo-IDB05A1 expansion board.
This is a BLE scanner example for the ST BluenrgMS, it shows the device and the RSSI. This code works with the NucleoL053 and the X-Nucleo-IDB05A1 expansion board.
[![NUCLEOL053](https://www.st.com/bin/ecommerce/api/image.PF260001.en.feature-description-include-personalized-no-cpn-large.jpg)](https://www.st.com/en/evaluation-tools/nucleo-l053r8.html)
[![BLE expansion board](https://media.digikey.com/Photos/STMicro%20Photos/X-NUCLEO-IDB05A1.JPG)](https://www.digikey.com/product-detail/en/stmicroelectronics/X-NUCLEO-IDB05A1/497-15948-ND/5400132)
......@@ -8,8 +8,24 @@ This is a BLE scanner example for the ST BluenrgMS. This code works with the Nuc
## Prerequisites
* Download STM32CubeMX
* Download X-CUBE-BLE1 (This example uses the 4.3.0, sometimes the 4.4.0 doesn't work)
* Download either KEIL or OpenSTM32. DO NOT USE IAR or CUBEIDE (IAR can cause problems and STM32cubeIDE... well... it sucks.)
* Download X-CUBE-BLE1 (This example uses the 4.3.0 version, sometimes the 4.4.0 doesn't work)
* Download either KEIL or OpenSTM32. DO NOT USE IAR or CUBEIDE (IAR and can STM32cubeIDE cause problems.)
### Getting Started
Open CubeMX, create a new project for the NUCLEO-L053 and configure the pinnouts as follow:
```
BLE_SCK - SPI1_SCK - PB3
BLE_MISO - SPI1_MISO - PA6
BLE_MOSI - SPI1_MOSI - PA7
BLE_IRQ - GPIO_EXTI0 - PA0
BLE_CS - GPIO_Output - PA1
BLE_Reset - GPIO_Output - PA8
```
Go to additional software and on the STMicroelectronics.X-CUBE-BLE1 select the Wireless_BlueNRG-MS list and put the following options.
```
Controller - Selected
HCI_TL - Basic
HCI_TL_INTERFACE - UserBoard
Utils - Selected
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment