Skip to main content
PGigl
Associate II
August 14, 2019
Question

Migrating from SPBTLE_RF to SPBTLE-1S

  • August 14, 2019
  • 11 replies
  • 2404 views

Customer would like to migrate from​ SPBTLE_RF to SPBTLE-1S.  Are they pin compatible, or any app notes or other documents covering this migration.  Customer is looking to migrate to gain BLE 4.2 support.

    This topic has been closed for replies.

    11 replies

    Winfred LU
    ST Employee
    August 16, 2019

    SPBTLE-RF and SPBTLE-1S are not pin compatible.

    In fact, they have different pin counts.

    It is because SPBTLE-RF is based on BlueNRG-MS, which is a BLE transceiver,

    SPBTLE-1S, in comparison, is based on BlueNRG-1, which is an SoC including a MCU and a BLE transceiver.

    If you would like to make SPBTLE-1S act like a SPBTLE-RF,

    please flash it with the DTM (SPI one) firmware, and connect to the host processor through the SPI pins.

    Please refer to DT0121 - How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode

    https://www.st.com/resource/en/design_tip/dm00547290.pdf

    PGigl
    PGiglAuthor
    Associate II
    August 21, 2019

    Yes they have different pin counts but the SPBTLE-RF is a subset of the SPBTLE-1S when the SPBTLE-1S is in the SPI mode (mode "100"). The only issue seems to be pin 4, SPI_IRQ.

    You mention "If you would like to make SPBTLE-1S act like a SPBTLE-RF,

    please flash it with the DTM (SPI one) firmware, and connect to the host processor through the SPI pins."

    Does this address the pin difference.  The tables for the "1S" do not show a SPI-IRQ output on pin 4, but instead show it as I2C_DAT,

    0690X00000A9iSbQAJ.jpg0690X00000A9iSgQAJ.jpg0690X00000A9iSvQAJ.jpg0690X00000A9iTFQAZ.jpg

    PGigl
    PGiglAuthor
    Associate II
    August 16, 2019

    Yes they have different pin counts but the SPBTLE-RF is a subset of the SPBTLE-1S when the SPBTLE-1S is in the SPI mode (mode "100"). The only issue seems to be pin 4, SPI_IRQ.

    0690X00000A9iSgQAJ.jpg0690X00000A9iSbQAJ.jpg

    0690X00000A9iSvQAJ.jpg

    0690X00000A9iTFQAZ.jpg

    Winfred LU
    ST Employee
    August 27, 2019

    By default, SPI IRQ would be mapped to IO7.

    The table of default pins used for SPI interface has been described in

    DT0121 - How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode

    https://www.st.com/resource/en/design_tip/dm00547290.pdf

    0690X00000AAIpsQAH.png

    Feel free to modify it according your needs.

    In DTM project, hw_config.h line 54:

    #define SPI_IRQ_PIN GPIO_Pin_7

    PGigl
    PGiglAuthor
    Associate II
    August 27, 2019

    ​OK, but for the SP BTLE_1S, pin 4 on the module is I2C2_DAT.  What pin is that routed to the BLUENRG.  I guess I would need to redefine the SPI_IRQ_PIN to that location used by I2C2_DAT to bring the SPI_IRQ_PIN out of the module. I guess I can download the project to see it.

    Winfred LU
    ST Employee
    August 29, 2019

    IO7 would be pin number 7 for SPBTLE-1S module.

    Please refer to DS12065, Table 5:

    https://www.st.com/resource/en/datasheet/spbtle-1s.pdf

    0690X00000AATyOQAX.png

    Download STSW-BLUENRG1-DK:

    https://www.st.com/en/embedded-software/stsw-bluenrg1-dk.html