Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT Shared Slave Channel Not stay connect with Master Channel

Rank

Total Posts: 13

Joined 2017-04-12

PM

Chip : nRF51422
SDK : nRF51_SDK_9.0.0
SoftDevice : S310_03.00.00 (Version 0x65)

Parameter Master Channel Parameter
Channel No 1
Channel Type 0x30(Shared Master)
Device Number 0x1234
Device Type 0x7E
Tx Type 0x02
Channel Frequency 25
Channel Period 8192(4Hz,250ms)
Primary Search Time 10 Sec
Secondary Search Time 10 Sec
Tx Power +12dbm


Parameter Slave Chanel Parameter
Channel No 1
Channel Type 0x20(Shared Slave)
Device Number 0 (Wild Card Search)
Device Type 0x7E
Tx Type 0x02
Channel Frequency 25
Channel Period 8192 (4Hz,250ms)
Primary Search Time 10 Sec
Secondary Search Time 10 Sec
Tx Power +4dbm

Issue 1: In power on condition Slave Device Search Master Channel for 20 Second and slave device connect to Master Device. But after sometimes slave device is disconnect from master then slave device again search master channel for 20 second but not found any master channel,

Issue 2: Slave device connect to master device in network at that time we have seen RSSI is -45 to -60 dbm and distance between master and slave is 2 to 5 feet. After some time slave channel is automatically closed. We are getting EVENT_CHANNEL_CLOSED event from stack.

Issue 3: Some time we are getting Channel close EVENT_CHANNEL_CLOSED after one to second when slave channel open.

For More info, Please check attached document.

Please suggest solution for above issue.
Thanks.
     

File Attachments

Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Does your source code set an external 32.768 kHz crystal for the timebase when initializing the SoftDevice?
You can do some crystal timing tests using the application which comes with the Clock Drift Test App Note: https://www.thisisant.com/resources/an19-clock-drift-test/

Have you tried setting the fast search waveform instead of using the default search waveform for the slave?

Have you tried SDK V10.0.0 instead of SDK V9?      
Rank

Total Posts: 13

Joined 2017-04-12

PM

Thanks Harrison.
My Answer Inline.

Does your source code set an external 32.768 kHz crystal for the timebase when initializing the SoftDevice?
Ans: Yes, I am use external 32.768KHz crystal.
// Initialize SoftDevice
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);

You can do some crystal timing tests using the application which comes with the Clock Drift Test App Note: https://www.thisisant.com/resources/an19-clock-drift-test/
Ans: Please see attachement

Have you tried setting the fast search waveform instead of using the default search waveform for the slave?
Ans: No, I have not use fast search waveform.

Have you tried SDK V10.0.0 instead of SDK V9?
Ans: No      

File Attachments