getting started with x-nucleo_BNRG2A1 with nucleo-l552ZE-Q
Hi all,
I am using X-NUCLEO-BNRG2A1 with NUCLEO-L552ZE-Q board. I have created a project with STM32CubeMx using X-CUBE-BLE-2 SensorDemoBLESensor Application,
mapping the pins of the expansion board to my nucleo board as :
PA5: SPI1_SCK ==>I switch the J14 jumper of the -nucleo_bnrg2a1 to n1-2 position .
PA6: SPI1_MISO
PA7: SPI1_MOSI
PF13: RST_BLE (as gpio_output )
PA3: IRQ( as external interrupt Mode with rising edge trigger detection )
PA2: CS( as output )
PC13: USER_Btn[B1] (external interrupt Mode with rising edge trigger detection)
PC7: led_green (output Push PULL)
PA9: led red (output Push PULL)
PB7: LD2[Blue] (output Push PULL)
PD8: USART3_TX
PD9:USART3_RX
I also active the EXTI line3 interrupt in NVIC configuration .Then I set the sensorDemoBLESensor and I select basic for BlueNRG-2 / HCI_TL and user board for BlueNRG-2 / HCI_TL_INTERFACE ,when I configure the select component in the software package for ble .
After that, I set the suitable configuration for wireless blueNRG_2 and Device BLE2 Applications., for spi1 and USART3 configuration .
Note: I choose the MCU STM32L562ZETx LQFP144 in stm32cubeMx.
The project successfully built and upload into the MCU, however the application does nothing, it just stuck in the function aci_hal_read_config_data (config_data_stored_static_random_address,&bdaddr_len_out, bdaddr);
it returns BLE_STATUS_TIMEOUT. on the function hci-send _req().
Any help, please!
thank you in advance .
