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

how to enable 2mbps

Hello everybody.

I have two boards. I have been trying to build a communication between my boards for a time. I could not manage to have 2mbps data transfer rate. 

Boards                    : nRF52832 DK(PCA10040) and nRF52840 Dongle(PCA10059)
SDK version           : 15.3.0
SoftDevice Version : 6.1.1
SoftDevices            : s132 for PCA10040 and s140 for PCA10059
Examples               : ble_app_uart and ble_app_uart_c

1-) How can I enable 2mbps data transfer rate ? I have tried various methods like sending PHY updating requests etc. But I guess I am doing something wrong. What is the correct way to do it?
2-) Let's say I managed to have 2mbps data transfer rate. How can I test it ? How to verify that I am having 2mbps data transfer rate ?

Sincerely.

Parents Reply Children
  • Hi, thanks for the response.

    I have already added that code snippet into my code. As I said before, it causes FATAL_ERROR.

    static void advertising_start(void) {
      uint32_t err_code = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
      NRF_LOG_INFO("err_code: %d",err_code);
      APP_ERROR_CHECK(err_code);
    }

    It returns:

    <info> app: err_code: 7


    When I check the meaning of 7:

    #define NRF_ERROR_INVALID_PARAM               (NRF_ERROR_BASE_NUM + 7)  ///< Invalid Parameter

    It should not be hard that much to have 2 mbps transfer rate. I'm stuck here and I have to find a solution in 6 days.

Related