I didn't manage to run PA/LNA switching with softdevice (function: sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &options)) with P1.* GPIO pins.
Note that all P0.* pins are working normally, especially the LED pins P0.13 - P0.16 are normally working.
I tried all the combinations of 2 PPI channels and a GPIOTE channel, it didn't work for P1.* pins.
I have NRF development board PCA100056, version 0.9.3, S140 SDK version 14.2
I used the code suggested in the following posts:
Forgot to mention that the function sd_ble_opt_set() returns error with code = 7.
Thank you for consideration!
Unfortunately, the PA/LNA feature does not include support for P1.* pins yet, and this limitation is undocumented. I have reported it as a bug internally. Sorry for the inconvenience.
Hello Vidar, Thank you for quick reply. Is it softdevice problem or hardware problem? If it is softdevice, when can we expect a fixed version? Best regards, Hayk.
Hello, it's a softdevice problem. We will document this limitation in the release notes for the upcoming 6.0.0 release, and hopefully fix it in the following release. I'm not able to give you an exact date for when this will be fixed, but expect it to before end of Q2.
What's the current status of this bug? Can you confirm it will be resolved in the next release of the SDK?
You should be able to just config pa/lna assist for unused P0 pins on your design and then fork off of the tep to drive a P1 solution until Nordic fixes it in the SD.