This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

No problem on 2nd but malfunction on 3rd Rev chip

We have been using SDKv11.0.0 with S130 softdevice on nRF51822-QFAA rev 2 on a custom board with no problems at all.

Since our nRF51822 BLE module vendor no longer support rev 2 chip, we need to change to rev 3.

It is found that new BLE module is NOT functioning properly.

The P0.11 pin (used as SPIM MOSI) is irregularly toggling by itself even if there is no SPI CLK.

Some of them are NOT even advertising.

With the same code on the rev 2 one, P0.11 pin is just pull high since there is no active SPI.

According to the compatibility matrix, rev 3 chip should support SDKv11.0.0 + S130.

Is there anything I am missing to migrate from rev 2 chip to rev 3 chip?

Do I need to modify the firmware to be run on rev 3 chip?

Thanks.

Parents Reply Children
  • You should not reject it unless you have checked that the description of the PAN is used in your firmware project. In general the probability is very low, but you may need to look into source code whether the specific configuration is used.

    I also regommend to try the swap as I suggested.

    Best regards,

    Kenneth

  • Hi Kenneth,

    I checked my code and the specific configurations are not used.

    I tried the swap and found that the module which does not advertise should be defective.

    The other one module has passed our test mode (which includes a lot of SPI communications)

    This Rev3 module seems functioning, but I am quite concerned about the random toggling signal on MOSI.

    I checked other products that uses nRF51822 Rev3 H1, there was NO similar random MOSI toggling.

    I have uploaded a CRO screenshot of the SPI signals.

    Can you give me some advise where those MOSI toggling may come from?

    Thanks,

    Motti

  • Hi,

    I could not find any screenshot? 

    Maybe the MOSI is floating, have you tried to configure internal pull-down or use external pull-down?

    Best regards,
    Kenneth

  • Hi kenneth,

    The screenshot was added to this post above.

    I tried changing MOSI to internal pull-down or external pull-down, there was nothing changed.

    Refer to the screenshot, there are long pulses and short pulses.

    It is found that the long pulses disappear if BLE advertising is stopped,

    and Short pulses disappear if nrf_drv_spi_transfer has never been called.

    Any thoughts?

    Thanks,

    Motti

  • Hi,

    What would you say the failure rate is here?

    It is very odd that the MOSI pin is fluctuating, are you sure nothing has changed, e.g. MISO or MOSI is swapped somehow. Poor connection or soldering? Have you measured on MOSI using analog input on the oscilloscope? You are sure CSN is high at all time?

    Motti Ng said:
    I tried the swap and found that the module which does not advertise should be defective.

    What does this mean? Does rev 2 fail on new module? Does rev 3 work on old module?

    Best regards,
    Kenneth

Related