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

Is it possible to run gazelle Host and BLE concurrently?

Hi everyone, 

I have a device which can be a gzll host or BLE, depends on what software inside, and it is based on 51822. And now, I would like to combine this two function in to a new hardware which is based on 52832. I have searched some solution on DevZone and almost all I can find is BLE + gzll device, and based on nrf51. So I am wondering if it is implementable, if so how could I implement this kind of application

Can anyone please help me with this question

  • Hi 

    Can you try to zip up your project files and upload it here?

    Then I can try your project myself and see if I can find the problem. 

    Best regards
    Torbjørn

  • Hi Torbjørn

    I'm still working at this project 
    and I would like to ask for you opinion

    below is what i'm going to do ~

    in order to make my device into the gzll pairing mode, I would like to add a button
    keep pressing the button and it will disable the softdevice and enable the gzll and get into gzll pairing mode after pairing successfully(i hope so)
    release the button and it disable gzll and enable the softdevice and timeslot
    and i would like to handle the data from gzll in the timeslot

    in your opinion is it ok to implement?

    or anything i have to notice?

    Thanks

    Johnson

  • Hi Johnson

    Who is the end user?

    I don't know if it is very intuitive to have to keep the button pressed while the Gazell library is in pairing mode, as it might take some time for pairing to complete. 

    You might want to consider starting a timer once you press the button instead, and keep Gazell enabled until the pairing is completed, or the timer times out. 

    Then the user just have to press the button briefly, and wait for the pairing to complete (or for the timer to time out). 

    Best regards
    Torbjørn

  • Hi Torbjørn

    I have a application which is base on 51822 with gzll only and the user have to long press the button to pair and release util it complete pairing. 

    so i think it doesn't matter who the end user is 

    there is a problem which i am facing

    the post upon said that pressing the button to switch between gzll and ble
    and i can successfully pairing to gzll but after i release the button to turn of the gzll and start ble.
    The application will return a error code 0x1001 which is returned by sd_softdevice_enable in nrf_sdh_enable_request when the first press of the button after i flash the software.
    but the 2nd or 3rd ,,,,,,will go fine 

    so what is the problem of this?

  • Hi Johnson

    The reason I brought up the end user is that it sounded like a possible usability issue to link the Gazell pairing directly to how long the user presses a button, but if you have already tested this out in the field then it's fine Slight smile

    Error 0x1001 corresponds to the NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION error, which can occur if you have enabled interrupts in your application that use interrupt priority 0 or 2 (reserved by the SoftDevice), or if you have enabled interrupts that the SoftDevice should have exclusive access to, such as the RADIO or TIMER0 interrupts. 

    Are you sure that Gazell is properly disabled before you try to start the SoftDevice?

    Could you try to manually disable the RADIO and TIMER0 interrupts by calling NVIC_DisableIRQ(RADIO_IRQn) and NVIC_DisableIRQ(TIMER0_IRQn) ?

    Best regards
    Torbjørn

Related