Hi I have problem enabling gzll on my nRF51. Error diagnoses shows NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED (#15), every time I try to call nrf_gzll_enable(); Here is the related part of the code:
nrf_gzll_disable();
bool init_ok = nrf_gzll_init(NRF_GZLL_MODE_DEVICE);
init_ok &= nrf_gzll_set_base_address_0(NRF_GZLL_DEFAULT_BASE_ADDRESS_0);
init_ok &= nrf_gzll_set_max_tx_attempts(1000);
init_ok &= nrf_gzll_set_tx_power(NRF_GZLL_TX_POWER_N20_DBM);
init_ok &= nrf_gzll_flush_rx_fifo(0);
init_ok &= nrf_gzll_flush_tx_fifo(0);
init_ok &= nrf_gzll_add_packet_to_tx_fifo(0, TestModeBuffer, TestModeBuffer_length);
init_ok &= nrf_gzll_enable();
nrf_gzll_error = nrf_gzll_get_error_code();
The error pops op from nrf_gzll_enable(), and naturally I can't send any packet via my device afterwards. To my astonishment I get neither success or fail after I try to add packets to txFifo. I don't have any clue, what would be the problem. Any ideas is appreciatet.
Thanks