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.

Blueradios BR-LE4.0-S2A data rate

Other Parts Discussed in Thread: CC2540

Hello all,

I am not sure if I should post in this foruma bout the blueradios BR-LE4.0-S2A, but I thought maybe someone could help me being that this module is based on the CC2540.

I am very new to Bluetooth and especially BLE. I have been using blueradios BR-LE4.0-S2A to transmit data which has proved to be very easy and straight forward.

I have a question regarding the data rate that this module can transmit. This module uses BRSP proprietary profile on the CC2540 and after setting the connection interval to 7.5ms I was able to achieve a data rate of 500Bytes/sec only. 

Is it possible to increase this data rate? I would really appreciate it if anybody can help me. 

  • Hi Bassam,

    The way BRSP is currently implemented you should be able to achieve ~1000 Bytes/s at a 7.5 ms connection interval if you're sending data constantly.  We are working on improving the throughput and it will be increased in the future.

    John

  • This is great. Thank you john!

  • Hi J. Sample,

    I new to this Bluetooth programming thing. I was  wondering if  u can give me some source codes or even how to start programming my module. I bought a dev kit from blue radios and i have the IAR compiler. 

    What i want to do know is to get the ADC on the dev board and send it to the dongle?

    best regards

    Joseph.

  • Hi Joseph,

    If you get access to the BlueRadios Forum you can download the AT.e Embedded Stack which includes documentation on how to get started and a basic application example.  You can register at:  http://www.blueradios.com/forum/index.php?action=register. 

    John

  • Hi John,

    I do have the AT.e Embedded Stack and all the documentation that come with it. My problem is if i have simple code to get the ADC just like in the AT commands? where do i even start writing it? in the main at_app.c or what ? 

    2. The basic  application example? are you  talking about the profiles??

  • Joseph Agyemang Duah said:

    Hi John,

    I do have the AT.e Embedded Stack and all the documentation that come with it. My problem is if i have simple code to get the ADC just like in the AT commands? where do i even start writing it? in the main at_app.c or what ?


    Your question is really not clear. If you have a microcontroller communicating with your bluetooth module via UART or SPI the way to read the ADC is by simply sending the appropriate AT commands serially and the ,module will reply with the ADC value. Otherwise you can simply connect the module to your PC using a UART to USB converter and send the AT commands using a terminal application (such as putty) or your own custom application that sends the AT commands via the COM port.

    Joseph Agyemang Duah said:

    2. The basic  application example? are you  talking about the profiles??

    I think what John meant is the iOS app example

  • Hi Guys, 

    Has any of you had this problem with the blueradios single mode module. I have been trying to read the ADC input with cusom codes that i flushed on he module for almost three weeks now and i have nothing. I set up a timer for 10sec and try to read the ADC. I have even tried bypassing the Blue radios stack and used the TI bu still i et nothing. The hyper terminal prints. value =0 always.

    osal_set_event(AT_TaskId(), ADC_READ_EVT);

    osal_start_reload_timer(AT_TaskId(), ADC_READ_EVT, 10000);

    ATADC(0, &value);
    AT_DBG("value = %u", value);

    Any input will be much appreciated.

    Joseph.

  • Greetings J.Sample,


    As you mentioned

    "The way BRSP is currently implemented you should be able to achieve ~1000 Bytes/s at a 7.5 ms connection interval if you're sending data constantly."

    I have two BR-LE4.0-D2 modules communicating on 230400 baud rate via UART.  After increasing the interval rate to a minimum of 7.5ms using the command ATSDCP,6,6,0,400 I am still unable to achieve throughput greater than approximately 4900Bytes per second. I am transferring a 100kB txt file for testing from hyper terminal and receiving it on the other module.

    Command executed in sequence,

    ATDILE // Discovered LE devices

    ATDMLE,ECFE7E118541,1  // Connected to second module in data mode.

    RESPONSE:

    CONNECT,1,1,0,ECFE7E118541

    BRSP,1,1

    You can see the current settings from the file here

    https://www.dropbox.com/s/5y42wmohi4cd8wd/ATCFG.txt

    Am I missing something here? Your assistance in this regard is much appreciated.

    Thank you

  • Any body has some sample Code which can run on PC, which can communicate with BlueRadio chip by BSRP?

  • I have one project. One software on PC must send command and receive response with BlueRadio by BSRP. I tried to pair the BlueRadio using PC BLE tool. But No response!
  • I had solved the connection and transmission between the module and PC based builti-in BLE, including pair , start BRSP data mode, sending message and receiving message.