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.

Receive data with HCI

Hello,

I am using the cc2650EM-7ID with SmartRF06EB setup (2 boards, 1Tx, 1Rx)  I am struggling to get notifications working, which is probably the correct solution but have to meet deadlines and am trying a polled solution instead - and struggling with that too.  

I configured the Interval rate to be 6 (7.5 ms).

Currently I am sending a ReadCharValue request through the COM Port at a rate of 100ms.  I have a GPIO pin setup on the receiver to twiddle when a request comes in.  Using an oscilloscope I see the pin twiddleing at 100ms. I have tried a sample rate of 25ms and see the pin twiddle every 25ms (target rate is ultimately 10ms)

However the problem lies in receiving the data.  I placed a timer in my PC software application when the event is raised for data being received via the COM port.  The rate that I receive data is almost 120ms - regardless of the sample rate I am requesting at.  

So my questions are: is the HostTestApp configured to only transmit data back to the PC at a rate of 120ms?  Is there a way to speed that up?  Are my expectations for this to work unrealistic?  

Any insight is appreciated.  Thanks!

  • Daniel,

    Basically there is no intended delay on reporting events to the host from HostTest app through NPI. There are some source files as part of NPI task in the HostTest application. Can you put a pin toggling in NPITask_transportTxDoneCallBack() and see what happens with the oscilloscope?

    - Cetri