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.

RTOS/LAUNCHXL-CC2640R2: Bulk Tada Transmission via BLE

Part Number: LAUNCHXL-CC2640R2

Tool/software: TI-RTOS

Hi,

I have a 32mb flash over my custom designed card. I save some sensor values over on it when any mobile device is not connected via Bluetooth to my hardware. When any mobile device is connected to the hardware, I just want to send the data stored in the flash just in one shot (as soon as possible) to the mobile device.

Is this possible? Please guide me.

Thanks.

  • Hi Dogus,
    I suggest you look into reverting the existing off-chip OAD profile implementation.
  • Hi,

    OK, Thank you.

  • Hi,

    As you said, I tried the OAD example and I observed the BTool log screen. In the direction of my observation, I saw that max data packet unit data len is 248 bytes and there were approximately 100ms between two successive packets.

    If I am not wrong, a data packet that has max 251 bytes can be sent in 2.5ms (for ble 4.2) and 1.4ms (for ble 5). What I mean that BTool sends the packets as quick as possible, in the meantime, firmware side gets the packet, controls it (maybe) and saves the packet to the flash and this process can take 100ms I think. Is that right?

    If this calculation is right, If I can create a 251-byte-packet and send it via BLE in every 2.5ms ( Even though my firmware achieve this time, I think the other side, an app, for example, cannot reach this specs. Am I right?), my 32MB flash can be streamed in approximately 6 minutes. And this time is also too much for me. Is that possible to make it faster? If not, I will not use an external flash to save data in my custom hw design.

    The last question, let us assume I will use an external flash, can I split the external flash into two for OAD and saving my sensor data. I mean, one external flash for both of these operations.

    Thank you for your time,

    Best regards,

    Dogus.