pca10059 device won't pair with TWIM enabled, except in debug mode

I've based my code upon the HIDS keyboard example and added code to support an attached polled sensor with I2C interface. The device will pair with the Android phone just fine when using the debugger through a JTAG mini, but I need to disable the TWIM interface if I want the device to pair outside the debugger. Do I need to change priority settings somehow?

Parents Reply
  • I was able to program the open USB bootloader and MBR using the debug port and then subsequently program the application without attaching the JTAG at all, and the application doesn't even start. The LF clock is set to XTAL (NRFX_CLOCK_CONFIG_LF_SRC). The memory reads back ok, and I adjusted the placement macros to make room for everything. what am I doing wrong?

Children
No Data
Related