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

Zigbee debugging

Hi,

I'm using the NRF52840 with the "nRF5_SDK_for_Thread_and_Zigbee_2.0.0".

I tested the zigbee light_bulb example and zigbee light_bulb + ble. It works fine so my next step was to do combination with my own ble service in a existing project.
In my new project the ble part works fine. The zigbee (still the light bulb example) part does not work at the moment. When i sniff, i don't see the Beacon request frames.

When i look at the uart logging i still see "Production config is not present or invalid" and "Failed to join network. Status: -1".

extra info:
i used sd_softdevice_vector_table_base_set((uint32_t) vector_table) to change the vector table to RAM. For the Zigbee part i registered the following interrupts: 

SysInt_RegisterIsr(TIMER3_IRQn, (ISR_CALLBACK) TIMER3_IRQHandler);
SysInt_RegisterIsr(SWI3_EGU3_IRQn, (ISR_CALLBACK) SWI3_IRQHandler);
SysInt_RegisterIsr(RTC2_IRQn, (ISR_CALLBACK) RTC2_IRQHandler);

this is needed if i look at the documentation. 

My goal is to let the zigbee and the BLE part to work together in my code. Any tips how to debug the Zigbee part so i can figure out the problem?

Best regards,

Mathias

Parents
  • Hello Mathias,

    I suggest that you port to the nRF5_SDK_for_Thread_and_Zigbee_3.0.0, which was recently released. In addition to bugfixes, there are more examples, and more documentation in this SDK.

    If you want to look at how to set up the Zigbee + BLE project, I suggest that you look at one of the examples from the SDK\examples\multiprotocol\ble_zigbee folder. Perharps the ble_zigbee_light_bulb_eddystone or the ble_zigbee_light_switch_nus is a good starting point from your application?

    Best regards,

    Edvin

  • Hello,

    Ok, we will start to update the SDK.

    We looked at the multiprotocol examples with SKD 2.0.0 and they worked.
    But when i port the code to my my project only the BLE part works.

    mmmm strange, if i init the clock before i init S140 stack in don't get zigbee messages. 
    If i don't init the clock i get my beacon request. Are there other thing i need to be aware of?

    I want to connect to my echo plus (amazon alexa). But i don't get "Joined network successfully"
    Any ideas on this. I see communication with my sniffer. See image below.

    Thx

Reply
  • Hello,

    Ok, we will start to update the SDK.

    We looked at the multiprotocol examples with SKD 2.0.0 and they worked.
    But when i port the code to my my project only the BLE part works.

    mmmm strange, if i init the clock before i init S140 stack in don't get zigbee messages. 
    If i don't init the clock i get my beacon request. Are there other thing i need to be aware of?

    I want to connect to my echo plus (amazon alexa). But i don't get "Joined network successfully"
    Any ideas on this. I see communication with my sniffer. See image below.

    Thx

Children
Related