Hi @Community member ,Indeed, you are right - this is not needed in that particular example. By default using following line : BlueNRG_Sleep(SLEEPMODE_NOTIMER, 0, 0);It means that application is requesting to enter SLEEP mode forever without any wa...
Hi @Community member ,This parameter is used to select a wakeUp source on GPIO. In most of code examples, this wake up on GPIO functionality is not used and so this parameter is left to 0 - It requires to be set only if needed with correct value.Y...
Hi @darla14 ,SPI speed has no impact on BLE behavior. Indeed, as soon as BlueNRG-2 is having some data to send to main MCU (BLE event), it will raise this IRQ high. This IRQ line will remains high until data are read over SPI by main MCU. Whatever...
One additional comment : Except if you have "bad" wiring or "bad" connection between your MCU and BlueNRG-M2SP, I doubt SPI speed could be root cause ( we are used to have SPI speed closed to 1MHz)Regards,Seb
Hi @darla14 ,BlueNRG-M2SP integrates BleuNRG-2 chipset. Hence, you can rely on BleuNRG-2 datasheet for details on the different peripherals.For SPI, you can check BlueNRg-2 Datasheet section 3.8 p43."Maximal supported baud rate is 1 MHz in slave mo...