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

System Hangs While Sending Packets over BLE

Hello

I am using the nRF52832 with SDK 14.2, JLinkRTT Client, and SEGGER IDE.  The system simultaneously runs a soft DAC, IMU, digital potentiometer, and provides variable PWM control.  The system employs two TWI masters - one dedicated to the IMU and one for the DAC and potentiometer.

We have developed an nRF52832 based MCU and have the same failures on both systems.

Linear Accelerometer data is collected from the IMU at 20 mS intervals and transported over the BLE link with two sets of samples at a time (a packet every 40 mS).  Our custom IMU crashes after a few seconds to several minutes running the system in debug mode with the SEGGER IDE and data collected over BLE via three tools

  1. PC tool called Bluetooth LE Explorer via PC BLE

  2. Our own custom PC application via PC BLE

  3. nRF Master Control Panel over the nRF52831 Dongle

Here is what happens.  After a random time in seconds to hours, the system just hangs with an undefined function:

Parents
  • I accidentally hit POST - here is the continuation -

    In case you cannot read the image above, the message on the SEGGER IDE is: Unknown function at 0x00006E7A.  When the system hangs it is still "running" and I hit the stop button to get this output.

    Here is a snapshot of the JLINKRTT Client with the output of the PC tool Bluetooth LE explorer.  Note how the packets are formed from the data collected from the IMU.

    What seems odd is the the system is most reliable using the nRF Master Control Panel..  However, the error occurs on both our custom MCU board and the nRF52 DK board.

Reply
  • I accidentally hit POST - here is the continuation -

    In case you cannot read the image above, the message on the SEGGER IDE is: Unknown function at 0x00006E7A.  When the system hangs it is still "running" and I hit the stop button to get this output.

    Here is a snapshot of the JLINKRTT Client with the output of the PC tool Bluetooth LE explorer.  Note how the packets are formed from the data collected from the IMU.

    What seems odd is the the system is most reliable using the nRF Master Control Panel..  However, the error occurs on both our custom MCU board and the nRF52 DK board.

Children
No Data
Related