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

nRF52832 (SPI master function) only detects accelerometer KX224 (SPI slave) when JTAG debugger is connected; but SPI bus oscillogram is perfect

Hello together,

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?

BR

matthk

Parents Reply
  • Hi Kenneth,

    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...

    Best regards,

    Matthias

Children
Related