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

Old GPIOTE bug on softdevice S140 7.0.1

Hello, I am using nRF52840, SDK v16.0, mesh SDK 4.2.0 and softdevice S140 7.0.1. I am following this example to experiment PA/LNA features, namely controlling the pins that enable TX and RX in a front-end radio amplifier.

What happens is that I am able to check pins of port 0 being switched on and switched off automatically by the softdevice, but when I try to use any pin from port 1, it does not work.

I found that this bug happened before and was fixed on softdevice 6.1.0 by reading the release notes, but I am worried that it is happening again on 7.0.1. Are you able to reproduce this bug using the light switch server project as in the example?

Thank you,

Rúben Marques

Parents Reply Children
  • Hello, I am attaching the light switch example, modified as per the recommendations of this example.8231.light_switch.zip

    I purposedly modified the project light_switch_server_nrf52840_xxAA_s140_7_0_1 in a clean SDK and Mesh SDK and tested this in a nRF52840 DK board to be sure everything was as vanilla as possible.

    If I use pin 0.31 for TX and 0.30 for RX I get the following signals in the oscilloscope:

    If I use pin 1.01 for TX and 1.03 for RX I get the following signals in the oscilloscope:

    The module I am using that has PA/LNA has the pins in port 1 and not on port 0. I would like to not have to design my board with two wires connecting pins from port 0 to port 1, but I could do it as a last measure.

    I also tried other pins on both port 0 and port 1 and the behaviour is the same. RX is never pulled up to 3V on port 1 pins after the periodic transmissions. This only works on pins of port 1.

  • Sorry for late response, i was on sick leave. I will take a look at it today, and if i can reproduce this with the softdevice you mentioned, then i need to contact the softdevice team to get more explanation on it.

Related