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.

CC2564C: CC2564 response time delay 20ms

Part Number: CC2564C
Other Parts Discussed in Thread: CC2564

Hello,

Our project uses STM32+CC2564. When using iSSPdemo to communicate with mobile phones above Iphone11, CC2564 will delay sending for 20ms, as shown in the attachment:

When we receive the data from the device, we will delay 1 ms to send it to the mobile phone, but when we receive the EVENT sent by CC2564, it will take about 27 ms for a new iPhone, and about 4 ms for a mobile phone below the iPhone X

  1. Configuration parameters:

#define IAP_NUMBER_OF_CONFIG_PARAMETERS                           10  

#define IAP2_PACKET_TRANSMISSION_ATTEMPTS_DEFAULT        5

#define IAP2_PACKET_TIMEOUT_DEFAULT                                       3000

#define IAP2_MAX_OUTSTANDING_PACKETS                                  127

#define IAP2_MAX_CUMULATIVE_ACKS                                            100

#define IAP2_SESSION_TYPE_FOR_EXTERNAL_ACCESSORY       0X01

#define IAP2_SUPPORTED_MESSAGE_DEFAULT                              0X0D

#define IAP_NUMBER_OF_CONFIG_OPTIONAL_PARAMETERS       2

#define IAP_START_DELAY_VALUE                                                    (2000)

#define VENDOR_ID_VALUE                             0x005E/* Bluetooth Company */

                                                            /* Identifier        */

  1. IAP2_MAX_OUTSTANDING_PACKETS IAP2_MAX_CUMULATIVE_ACKS The parameters have been modified, but the effect has not changed.
  2. MaximumFrameSizeTransmitBufferSizeReceiveBufferSize I also wrote and corrected my mistakes, but they still remained unchanged
  3. On Windows platform and Android platform, the communication time is about 9ms, and the effect is very good

       What caused this problem? Have you encountered it before?