Hello,
I've got the PCA10040 dev kit and it works fine. To match my PCB setup I've cut SB2, this disables the 32kHz osc.
For debugging purposes I went back to the examples of SDK 15.0.0 and loaded the ble_app_blinky.
I modified sdk_config.h:
NRF_SDH_CLOCK_LF_SRC -> 0 use RC oscillator
NRF_SDH_CLOCK_LF_CTIV -> 16
NRF_SDH_CLOCK_LF_TEMP_CTIV -> 2
I also enabled the RTT, so I get debug messages.
This works fine on the PCA10040 board, but not on my custom PCB which uses exactly the same nRF52832xxAA.
Relevant hardware differences between the dev kit and my PCB:
- no 32kHz osc (hence the cut in SB2)
- no DC/DC inductors on DCC, but this appears to be unused in the ble_app_blinky (DCDCEN is 0).
- chip antenna
Using nRF Connect I can see the dev kit but not my custom PCB. I just get "app: Blinky example started"
I've got the other part of the code running: I can use GPIOs, peripherals etc so my debugger and IDE work correct.
Did I miss something obvious?
Should I use a different example to troubleshoot?