I have a strange problem and don't know how to proceed...
At my customer-specific electronic a Kionix KX224 is placed next to the BLE module which contains the nRF52832. When I connect my jTracePro Debugger everything works fine. But when using that electronic without the debugger, all other sensors using GPIOs or TWI work well and the results are transmitted by BLE as planned. Only the KX224 is not detected by the nRF52832, although the oscilloscope shows perfect answer from the KX224; the SPI decoding module from the oscilloscope shows the expected data.
I tried already to switch on internal Pull-Ups - no change.
Does anybody have an idea?
I suggest you add UART to output debug information to try to find what is stopping the Kionix KX224 to work as intended.
You may also want to check out these two Errata which may have an impact here:http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_108.html?cp=2_1_1_1_1_33 http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_109.html?cp=2_1_1_1_1_34
thanks - I will check that. But please note that it's not the KX224 - this one works perfect and the oscillogram shows a perfect response - it's the nRF52832 which doesn't want to read the data transmitted by SPI (at MISO) when the debugger is connected. But the /CS, CLK and MOSI are generated perfectly from the nRF...
I will also double-check with another electronics of the same type to be sure that it's not just a partly damaged nRF...