Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Nucleo_BLE_BlueNRG by
Revision 1:be1cb4be316f, committed 2014-12-19
- Comitter:
- sjallouli
- Date:
- Fri Dec 19 19:28:15 2014 +0000
- Parent:
- 0:a948f5f3904c
- Child:
- 2:905715088a9b
- Commit message:
- Update SPI pin configuration to match the Nucleo board
Changed in this revision
| hci/src/bluenrg_shield_bsp.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/hci/src/bluenrg_shield_bsp.c Fri Dec 19 18:56:07 2014 +0000
+++ b/hci/src/bluenrg_shield_bsp.c Fri Dec 19 19:28:15 2014 +0000
@@ -94,18 +94,18 @@
/**
* @brief This function is used to initialize the SPI communication with
* the BlueNRG Shield. All params should come from the User
-* @param SPI_MOSI : PA_7 (Nucleo), D11 (Generic Arduino Pin)
-* @param SPI_MISO : PA_6, D12
-* @param SPI_SCLK : PB_3, D3
-* @param SPI_CS : PA_1, A1
-* @param EXTI_IRQ : PA_0, A0
+* @param SPI_MOSI : PA_7 (Nucleo), D11 (Generic Arduino Pin)
+* @param SPI_MISO : PA_6, D12
+* @param SPI_SCLK : PA_5, D13
+* @param SPI_CS : PA_1, A1
+* @param EXTI_IRQ : PA_0, A0
* @param BlueNRG_RESET : PA_8, D7
* @retval None
*/
void BNRG_SPI_Init(void)
{
int ret;
- spi_init(&__spi, D11, D12, D3, NC);
+ spi_init(&__spi, D11, D12, D13, NC);
//spi_format(&__spi, 8, 0, 0);
//spi_frequency(&__spi, 1000000);
