This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI0 on sensortag for CC2650 not working when debugging

Intellectual 300 points

Replies: 15

Views: 2449

We are currently working in a project where we are connecting and external accelerometer to the sensortag via SPI. But we have stumbled into a problem.

The board.h that comes with the sensortag application program has the SPI0 at IO17 but that pin seems to be used as well for the debugging, so when we try to debug we cannot generate clock to the SPI. We changed the pin to IO11 and it works fine, the problem is that we want to store the data from the accelerometer in the flash memory whose clock is hardwired to IO17.

We note that the sensortag application  even though does not use the flash it does test it so the clock must be working during that test but we haven't been able to make the clock to work on IO17.

any way to solve this??

Thank you in advance...

15 Replies

  • What kind of debugger do you use? If you are using SmartRF06EB, please remove the jumper on the XDS-100 bypass row as shown below

    Jomar
  • In reply to Jomar Hønsi:

    THANK yu for your response, e are using the sensortag devpack not the smartrf.

  • I just hit the same problem. The SPI flash on the sensortag is not accessible when debugging with the debug devpack. This is most unfortunate.

  • In reply to Robert Cowsill:

    This is a known issue with the DevPack debugger. SPI access during debugging does not work - this affects the external flash and also the LCD DevPack. It will be fixed in future, but no confirmed date yet.

    Jomar
  • In reply to Jomar Hønsi:

    Glad to hear it will be fixed at some point. Is that going to require a new revision of the SensorTag?
  • In reply to Robert Cowsill:

    The fix will be in the debugger, we have no plans for any new HW spin of the SensorTag.

    Jomar
  • In reply to Jomar Hønsi:

    Thanks Jomar. Just to be totally clear, is this fix applied to the the debugger software on the development PC, an updated firmware for the Debug DevPack's MCU or a HW fix for the Debug DevPack?
  • In reply to Robert Cowsill:

    I am not familiar with the finer details here, but I assume that it is a debugger firmware fix.

    Jomar
  • In reply to Jomar Hønsi:

    I'm also waiting on a method to use the debugger, specifically the SensorTag's UART, and the external flash at the same time.

    Is the time frame for a debugger firmware fix known?

  • In reply to Arthur Pitman:

    Unfortunately no news on debugger firmware yet.
    Jomar

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.