BLE_BlueNRG for Nucleo board
Dependents: Nucleo_BLE_HeartRate Nucleo_BLE_UART Nucleo_BLE_UART
Warning: Deprecated!
Supported drivers and applications can be found at this link.
Diff: hci/src/bluenrg_shield_bsp.c
- Revision:
- 1:be1cb4be316f
- Parent:
- 0:a948f5f3904c
- Child:
- 2:905715088a9b
--- 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);