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.

Crashes in HostTestApp with 100 byte attributes, suspect ICall setup

Other Parts Discussed in Thread: CC2650

I am developing an application built on the HostTestApp example.
An attribute of length 100 byte is used to receive commands from client side.
While testing that I can receive different commands it happens that the CC2650 crashes.
I always send 100 bytes via iCall from stack to application side by calling HCI_SendControlerToHostEvent().
I can see is that HCI_SendControlerToHostEvent() is called but nothing comes out from application to main MCU on the other side.
Unfortunately it is hard to debug on the application side since BLE connection goes down if I use breakpoints (even log breakpoints)
but I can see that slave ready pin (SRDY) is never toggled.
If I limit command/attribute length to 72, which is enough for this application, everything works but the BLE module will however be used in other products later on so this is a temporary solution.

My suspicion is that the iCall mechanism is not set up correct.
Does anyone know if the default settings of iCall should support 100 byte attributes and if not which parameters to change if not?

BR

Mattias

  • Hello Mattias,

    From the details, I can't tell what's going on. Have you considered using simpleBLEPeripheral and add a UART or SPI interface using the example on the BLE wiki? This may be a simpler design than using HostTestApp.

    Best wishes