How ISR works in nrf52805

Hello

OS :- Linux

Hardware version :- BC805M

SW :- Segger embeded studio

I am using nrf52805. I am test it with ble_app_uart. It advertisement continuously and shown on "nrf connect" app. When i click on connect in nrf connect it shows connecting.. and after some time disconnected. It never connect to device.and I am not getting any advertisement interrupt in Debugging mode.

Parents
  • Hello,

    It advertisement continuously and shown on "nrf connect" app. When i click on connect in nrf connect it shows connecting.. and after some time disconnected. It never connect to device.and I am not getting any advertisement interrupt in Debugging mode.

    Could you elaborate on what you mean by 'advertising interrupt in debugging mode'?
    Please note that the SoftDevice will immediately assert upon program resumption if you use breakpoints to halt the CPU - causing the SoftDevice to miss its timing critical radio events.

    I will need to know more about your application and scenario in order to better help you resolve it.

    Have you made any changes to the ble_app_uart you are testing this with? If so, please detail what these changes are.
    Are you getting an error message when the disconnect happens, either on the nRF Connect for Desktop device, or the nRF52805 device? If so, what does this error message read?
    Does the ble_app_uart application otherwise function as you would expect?

    Best regards,
    Karl

  • Yes sir,I made changes in  ble_app_uart to test uart communication by  comment  the other function. After that I uncomment  the all the function to test advertisement for connect and disconnect in nrf connect android app. No I am  not getting any error messsage. In the starting when i was testing uart ,then I am also no getting not getting any interrupt, and it calls dummy handler.Then I define my uart interrupt handler function in main.c and it works as iI expected. I have found no interrupt handler function is defined in project. 

  • Kapil Dhayal said:
    Yes sir,I made changes in  ble_app_uart to test uart communication by  comment  the other function. After that I uncomment  the all the function to test advertisement for connect and disconnect in nrf connect android app.

    Could you detail more exactly which functionality you have commented out?

    Kapil Dhayal said:
    In the starting when i was testing uart ,then I am also no getting not getting any interrupt, and it calls dummy handler.Then I define my uart interrupt handler function in main.c and it works as iI expected. I have found no interrupt handler function is defined in project. 

    I am not sure I understand what you mean by this. Are you saying that you are missing an event handler in the ble_app_uart example, and that the application functions as expected if you add this event handler into the project?

    Best regards,
    Karl

Reply
  • Kapil Dhayal said:
    Yes sir,I made changes in  ble_app_uart to test uart communication by  comment  the other function. After that I uncomment  the all the function to test advertisement for connect and disconnect in nrf connect android app.

    Could you detail more exactly which functionality you have commented out?

    Kapil Dhayal said:
    In the starting when i was testing uart ,then I am also no getting not getting any interrupt, and it calls dummy handler.Then I define my uart interrupt handler function in main.c and it works as iI expected. I have found no interrupt handler function is defined in project. 

    I am not sure I understand what you mean by this. Are you saying that you are missing an event handler in the ble_app_uart example, and that the application functions as expected if you add this event handler into the project?

    Best regards,
    Karl

Children
No Data
Related