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
  • Are you running arm5_no_packs? If not use the project in \examples\ant\ant_broadcast\broadcast_tx\pca10028\arm5_no_packs If you open Select Software Packs, what are selected, it should be ARM::CMSIS 4.5.0 and nRF_DeviceFamilyPack 8.2.0. If not open Pack Installer and click the green arrows to check for update.

    I don't understand why your memory settings are reset, but you are setting them correctly. In my project MicroLIB is also checked, but that shouldn't matter.

    I didn't quite understand your last edit, are sd_ant_channel_rx_search_timeout_set() or sd_ant_channel_low_priority_rx_search_timeout_set() returning any error?

Reply
  • Are you running arm5_no_packs? If not use the project in \examples\ant\ant_broadcast\broadcast_tx\pca10028\arm5_no_packs If you open Select Software Packs, what are selected, it should be ARM::CMSIS 4.5.0 and nRF_DeviceFamilyPack 8.2.0. If not open Pack Installer and click the green arrows to check for update.

    I don't understand why your memory settings are reset, but you are setting them correctly. In my project MicroLIB is also checked, but that shouldn't matter.

    I didn't quite understand your last edit, are sd_ant_channel_rx_search_timeout_set() or sd_ant_channel_low_priority_rx_search_timeout_set() returning any error?

Children
No Data
Related