nRF9160 Bluetooth coexistence Insufficient Documentation

Hello,

We are in process of FCC certification and we would like to use LTE and Bluetooth Coexistence to reduce number of measurement needed for the certification.

We are aware of SoftDevice support for the coexistence, we would like to use zephyr Opensource Bluetooth controller. We are willing to help with the Opensource implementation on the controller side.  However to do so we encountered an issue. There is a large gap in documentation of the COEX pin functionality. So there are several questions i would like you to clarify.

  1. COEX0 functionality - Input to the LTE modem from external device.
    1. Does this effect only Transmission or also Receiving ?
    2. Is it currently implemented inside the Modem firmware ?
    3. Diagram shows on COEX0 State x State y State z, What exactly does that mean ? It is single GPIO which can only be 'one', 'zero' or 'high impedance' ?
  2. COEX2 functionality - Shows the pin in '1' during whole operation of the LTE Modem.
    1. How does it cycle when the modem is NOT using PSM ? Doest it even cycle to allow Bluetooth to operate ?
    2. Is the COEX2 active during LTE receiving ? I found later that indeed the COEX can be setup using AT Command. This resolve this question
    3. Can the timing of the COEX2 pin some how combine with '4 – COEX2 pin toggling enabled, TX indicator. Pin ON when RF is transmitting.' ? What is the default timing for this option "as late as possible timing, approximately 50–100 μs anticipation."? 

Maybe you could give us an insight into operation of the coexistence in SoftDevice controller to help us.

Parents
  • Hi Tomas,

    1. AT%XCOEX0 is a command that can be used to configure the "COEX0" pin as output in our nRF9160 SIP, and to change state based on the used RF frequency.

    There is no support, nor will be, in modem FW for supporting coex0 as input.

    The states x,y,z are the PIN output states 0 or 1 that can be configured using the AT%XCOEX0. The COEX0 pin can be configured to be either '1' or '0' for a certain frequency range. The following example will configure COEX1 to be '1' (state x) in the range 1570-1580MHz, '1' (state y) in the range 2000-2180MHz and '0' (state z) in the range 600-800MHz, and '0' (state a) in the range 1000-1200MHz.

    AT%XCOEX0=4,1,1570,1580,1,2000,2180,0,600,800,0,1000-1200
    OK

    The pin toggles to the configured state regardless of RX or TX, as long as the RF frequency (of the LTE band or GNSS) is within the frequency range(s) given in the AT command. But note that in full duplex LTE the RX and TX frequencies are different, so you can set the frequency ranges so that on a TX frequency of a band there is e.g.  0 state and RX frequency has state 1.

    COEX1 functions only as 1PPS in GNSS mode. Nothing else is supported or planned to be supported (no timemark as described in PS).

    2.a COEX2 is an indicator about the LTE modem RF activity.  If modem is not using PSM there should still be gaps where RF is turned off and pin goes low, it depends on the network and how much and often data is sent/received.

    2.b: Yes, the AT command manual is good, also for XCOEX0.

    2.c: This is a good question and not clearly explained in the AT document. The timing of the <ctrl> = 4 and 5 corresponds to the "as late as possible" option, where the COEX2 toggles to the configured state about 50-100us before the transmission or reception begins in antenna. Pin goes down about 50us after the transmission or reception ends.

  • I have tested the COEX2=4 mode using logic analyzer. I found out that the the modem TX mode in poor signal conditions is taking a large amount of bandwidth shared of the device. 

    In this state the Bluetooth will became unusable due to limiting the windows for its transmissions. (The image contains both cases for Poor and Good signal, enlarge for view)


    The Modem firmware needs to have some option to give the Bluetooth time to transmit required data, or enable the Input functionality of the COEX0

    How should we proceed with this ? I believe that the same issue must have been observe, when the Coexistence feature for the SoftDevices controller were developed. How did you solve this issue?

  • Hi Tomas, sorry for the late reply.

    Have you had a look at the description of the 1-Wire coexistence protocol, as well as the  Bluetooth External Radio Coexistence examples

    I hope to have a few more comments to you over the weekend.

  • That is implementation for SoftDevice, which is not what i seek. Read the initial ticker description please.

    The second this does not answer my question of behavior of nRF9160 COEX pin with poor signal.
    How can bluetooth be operation when LTE modem takes more 90% of transmission time. There needs to be some settings inside the modem to limit this. Or there should be support for COEX0 inside the modem.

    Could you pass this ticket to HW engineers from modem firmware team ? 

Reply
  • That is implementation for SoftDevice, which is not what i seek. Read the initial ticker description please.

    The second this does not answer my question of behavior of nRF9160 COEX pin with poor signal.
    How can bluetooth be operation when LTE modem takes more 90% of transmission time. There needs to be some settings inside the modem to limit this. Or there should be support for COEX0 inside the modem.

    Could you pass this ticket to HW engineers from modem firmware team ? 

Children
No Data
Related