Skip to main content
rdscliff
Associate III
July 23, 2016
Question

SPI and BlueNRG sleep mode

  • July 23, 2016
  • 1 reply
  • 569 views
Posted on July 23, 2016 at 04:31

After SPI bus activity stops, how long until BlueNRG goes into sleep mode?

Document

UM1755 BlueNRG Bluetooth®LE stack application command interface (ACI) implies the time is 2 mS.  This is important because there is an errata saying that BlueNRG will lockup if a new SPI command is started while the BlueNRG is trying to go to sleep.

This topic has been closed for replies.

1 reply

Nick Ushakov
Associate
December 13, 2016
Posted on December 13, 2016 at 11:01

Use the function Hal_Write_Serial of an example

http://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bluenrg-dk.html

in file SDK_EVAL_Spi_Driver.c, this algorithm fixes lockup, if a new SPI command is started while the BlueNRG is trying to go to sleep.