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

BLE data transmission interval is strange

Hi!!

I am sending data by BLE data received by SPI.

The interval for sending data at BLE is 64 ms.

I have written and run NRF_SPI 1 -> ENABLE = 0; and NRF_SPI 1 -> ENABLE = 1;

However, when commenting out afterwards and letting run again with the same program, data transmission is initially performed in 64 ms, but after several seconds the data transmission interval will be 1 second.

What can cause this cause?

best regards!!

Parents Reply
  • thank you for your reply!

    I understood the cause!

    The cause was in the connection interval.

    Based on Apple documentation set the minimum connection interval to 800 ms and the maximum connection interval to 1 second.

    When it changed the minimum connection interval to 40 ms and the maximum connection interval to 80 ms, it was able to transmit data without breakin the connection of BT!!

     

Children
No Data
Related