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

Events triggered in slave while not paired

Hi Nordic, I come from this question: devzone.nordicsemi.com/.../

So, my doubt is: what events are triggered in a slave channel while it is not communicating to a master?

I am having problems triggering EVENT_CHANNEL_CLOSED (the function sd_ant_channel_closed returns 0x00000, SUCESS, but the EVENT_CHANNEL_CLOSED never triggers) when an ANT channel is configured as slave and it is not communicating with any master (it didn't find any). I have also tried to get EVENT_RX_SEARCH_TIMEOUT and EVENT_RX_FAIL_GO_TO_SEARCH but they dont trigger either.

EDIT: I also realised that events related to sd_flash_write and sd_flash_erase (NRF_EVT_FLASH_OPERATION_SUCCESS or NRF_EVT_FLASH_OPERATION_ERROR, from sys evt dispatch function) don't trigger either when the slave has not found a master. Is this behaviour normal?

Parents
  • Yep, I am running that, arm5_no_packs. I will check those numbers later, dont have acces now to the system.

    No no, they return 0x00000, NRF_SUCCESS. The thing is that if I change the timeout time, to, say, 2,5 seconds for search_timeout_set and 2,5 seconds to low_priority_rx_search_timeout_set, the time that the microprocessor lasts in reset itself is 5 seconds, that is exactly when the event RX_SEARCH_TIMEOUT should have been triggered. If I change these numbers to, say. 10 seconds, the time until it goes to reset again is 10 seconds.... So weird that it only happens in my machine...

    Thanks!

Reply
  • Yep, I am running that, arm5_no_packs. I will check those numbers later, dont have acces now to the system.

    No no, they return 0x00000, NRF_SUCCESS. The thing is that if I change the timeout time, to, say, 2,5 seconds for search_timeout_set and 2,5 seconds to low_priority_rx_search_timeout_set, the time that the microprocessor lasts in reset itself is 5 seconds, that is exactly when the event RX_SEARCH_TIMEOUT should have been triggered. If I change these numbers to, say. 10 seconds, the time until it goes to reset again is 10 seconds.... So weird that it only happens in my machine...

    Thanks!

Children
No Data
Related