So we are working with a sensor that needs to receive a pulsed voltage, so we are using a PWM signal from our nrf51-DK applied to a transistor based circuit. We need to take an analog read when the PWM signal is high, so I am trying to feed the PWM back into one of the other pins, which has been set to an interuptin, triggering an analog read on the rising edge of the PWM.
Since doing this other parts of the code have started failing. We use ble to transmit data and now when we try to connect to the device it fails and the device disappears from lists of available devices. We were worried that we had to many PWM/Tickers in the circuit as we had 6 tickers operating. I've tried turning some of those off, but the same issue still persists. Would anyone have any ideas on whats going wrong?