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

nRF51422 ANT example stuck at sd_ant_channel_open

Hi,

I am a beginner with nRF51422 (with Keil v 5.10). I am using PCA10006 and PCA10007 together with ANTware II software to evaluate ANT capabilities before I will integrate it into the production version of our final device.

Sending the data from PCA10007 to the ANT+ USB stick and reading it through ANTware works like a charm, absolutely stable. But when I try to estabilish a link between the PCA10006 and PCA10007 using the HRM-RX and HRM-TX example, things are going wrong. I am using the QFAAE0 chip revision with nRF51 SDK v. 5.2.0, I have tested the 32.768 kHz oscillators with oscilloscope and they are working on both boards.

Everything goes fine, NRF_SUCCESS return values from all the functions until the program gets to sd_ant_channel_open. Then, it gets stuck and does not go any further. I tried to monitor the current consumed by the receiver and everything seems to be fine from this point. With the transmitter board connected to the power supply, I am getting spikes in predefined intervals (e.g. 4 Hz). When I disconnect the transmitter, it starts to seek for the receiver and the spikes are much more frequent. It looks like the softdevice itself is working perfectly well but the main program gets stuck right in the sd_ant_channel_open function.

Thank you very much for any help, Best Regards, Marek Novak

Parents Reply Children
No Data
Related