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

Voice Transmit on ble

Hi. I am trying to transmit a microphone signal to the nrf52832 DK board.

Before development, i checked it by connecting a microphone(ADC) and a speaker(PWM) to one board.

This worked relatively well.

So i developed using two boards. One board(peripheral) is connected to a Mic and one board(central) is connected to a speaker.

After pairing, mic board transmit microphone signal to speaker board(128Byte). But the transmission speed is slow.

I refer to thingy F/W. Thingy Board's transmission speed is 6ms or 24ms. and my mic board's transmission speed is 30ms.

I tried to send it faster. but error has occured. err code is  'NRF_ERROR_RESOURCES'

Please help me solve this problem.

Thank you.

Parents Reply
  • this is mic board, speaker board's connection parameters.

    The connection parameters of 'mic board' and 'speaker board' are the same.

    static ble_gap_conn_params_t const m_connection_param =
    {
    (uint16_t)MIN_CONNECTION_INTERVAL, // MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
    (uint16_t)MAX_CONNECTION_INTERVAL, // MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(30, UNIT_1_25_MS)
    (uint16_t)SLAVE_LATENCY, // 0
    (uint16_t)SUPERVISION_TIMEOUT // MSEC_TO_UNITS(3200, UNIT_10_MS)
    };

Children
Related