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.

CC2540: which mode can response data transceiv as fast as possible

Part Number: CC2540

Between CC2540s,  data transfer is bi- direction, I want to get lowest latency between two chip,  like full duplex, A to B, and B to A as same time.

Which sample code, or service I can use? 

If I send data from A to B, by notification, if it will be any different?

Thanks!

  • Hi Tan,

    Notifications are some of the packets with the lowest protocol overhead so you will be able to maximize your application data throughput.

    Though this wiki is written the for the CC26xx, the theories about notifications and maximizing throughput still apply
    github.com/.../throughput_example.md

    **Note: BLE 4.2 features are not available on the CC254x**
  • Hi  Sean,

    I get the max data throughput.

    From this blog, I have two more quickly question:

    1, Which one is sending data with lowest latency? Write without response or notificaiton?

    2, If they were all have re send mechanism in stack level? if target have not received data packet?

    At last, my problem is : I send data from salve to master, try get more faster data speed, then ,some feedback(short data packets) will send from master to slave, this sending want to get lower data latency. How can I do it?

    Thanks!

  • 1s+Test.rar15ms+Test.rarHi sean,

    I ask customer build the code on CC2540, can reproduce this issue, could you help look into ,to see if we can fine tune to a less latency?

    Send data between Central and Peripheral

     

    One project’s interleave is 1S , another is 15mS;

     

    Central send  “123456” and “KKKKKK” repeated. Peripheral send “QQQQQQQQQQ” and “qqqqqqqqqq” repeated.

     

    We can see 1s’s data is right, but 15ms’s is missing some data.

    We try get a best performance, which can send data with less latency, and data is right? 

    Could you help give any suggestion on it ?

    Thanks!