natman1970
Member since Jan 2021 • Last active May 2021- 0 conversations
- 15 comments
Most recent activity
-
-
-
@Gordon, for clarity, why do we need to restart the "softdevice" to be able to use the poke32 functions?
-
-
-
Thankyou @Gordon, that works... I've put in the extra semi-colons...
NRF.disconnect();setTimeout(function() { NRF.restart(function(){ LED.set(); poke32(0x4001e504,1);while(!peek32(0x4001e400)); // enable flash writing poke32(0x1000120c,0xfffffffe);while(!peek32(0x4001e400)); // NFC pins as GPIO poke32(0x4001e504, 0);while(!peek32(0x4001e400)); // disable flash writing });}, 1000);
-
-
Thanks @fanoush, Am I missing something as my MDBT42Q has no USB connector?
-
@Gordon, apologies for not replying initially. It all worked before and tried the above code as well and it changes the registers as intended.
This then means that the NFC pins that had stopped working as GPIO now work again which is what I was trying to prove all along.....