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

Cannot detect device after setting P0.21

Hi everyone,

I have a custom board with a nrf52832 and a I2C device connected to P0.21 (SCL) and P0.20(SDA).  I was trying out the twi_scanner example and had modified the example to the corresponding P0.21 and P0.22 pins.

I was able to program the chip once, but after that, i can no longer program or detect the nrf52832. When I try to use Keil to download the program, it gives the error: No Cortex-M SW-Device found.

I tried to launch nRFGo Studio and it says No device detected, or readback protection may be set. Using the Recover button gives a failure and unknown error. Clicking on Enable reset pin also give an error saying Could not enable reset pin.

I suspect this problem was cause by pin P0.21 since I was trying to access it as a TWI pin in the program. I realised that P0.21 is also a reset pin.

Is that anything I can do? Or the chip is no longer usable?

Thanks in advance.

Related