Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Asynchronous Transmission in nRF51422

Rank

Total Posts: 3

Joined 2013-04-03

PM

Hello
I have problem with setup ANT stack for asynchronous transmission in nRF51422 SOC.
If I call ant_channel_assign() and set CHANNEL_0_ANT_EXT_ASSIGN=EXT_PARAM_ASYNC_TX_MODE (0x20) then I got return_value=0x4033 (= NRF_ANT_ERROR_INVALID_PARAMETER_PROVIDED).

/* Set Channel Number */
    
return_value ant_channel_assign(CHANNEL_0
                                      
CHANNEL_0_TYPE
                                      
ANT_CHANNEL_DEFAULT_NETWORK
                                      
CHANNEL_0_ANT_EXT_ASSIGN);
    if (
return_value != NRF_SUCCESS)
        
handle_error(); 
     
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

Hi,

What are the values of CHANNEL_0, CHANNEL_0_TYPE, and ANT_CHANNEL_DEFAULT_NETWORK?

Note that the nRF will have to be configured as a master to be able to enable asynchronous transmission (check CHANNEL_0_TYPE).


     
Rank

Total Posts: 3

Joined 2013-04-03

PM

usamak - 22 April 2013 10:42 AM
Hi,

What are the values of CHANNEL_0, CHANNEL_0_TYPE, and ANT_CHANNEL_DEFAULT_NETWORK?

Note that the nRF will have to be configured as a master to be able to enable asynchronous transmission (check CHANNEL_0_TYPE).


CHANNEL_0 = 0x00
CHANNEL_0_TYPE = CHANNEL_TYPE_MASTER (0x10)
ANT_CHANNEL_DEFAULT_NETWORK = 0x00

Chip has date "1233", maybe that old stack firmware has bugs.
SoftDevice version: 'AXX1.01B00'

     
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

Hi,

The version of the nrf51422 chip you are using is an engineering release that does not properly support Asynchronous Transmission mode.

This mode is functional in the latest production build version AXX1.06B00 (chip code: QFAAC0).

Regards,
Usama