Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Trouble assigning the CH other than CH0 on AP2-8CH device.

RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Hello,

In my board, AP2-8CH device is controlled by MSP430 uC in Byte Synchronous IF. As far as the CH0 is used, there is no problem and communication with other device is successful. I have tried another CH to do the same operation and encountered the trouble in ANT_AssignChannel message. The sequence is as follow,

1. After power on, send ResetSytem message.
2. Receive StartupMessage and it indicate COMMAND RESET.
3. Send AssignChannel (CH1, public network, no Extended Assignment)
then the ChannelResponse with MessageCode of 21(CHANNEL IN WRONG STATE) is received. If I just change the channel number to CH0 on 2 in the above sequence, the MessageCode is 0 (RESPONSE_NO_ERROR).

I have check the device status by RequestMessage on CH1 immediately after receiving the StartupMessage and it indicates as follow,
1. Channel Status is Un-Assigned.
2. Capabilities shows MAX ANT Channels is 8

Does someone encountered this problem?
Thanks for any advices on this matter in advance.      
RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

I have droped the question "Trouble in assigning the CH other than CH0 on AP2-8CH".
I have found the mistake in my firmware and AP2 device works fine.
Please recall my question.
I'm sorry for this.      
Rank

Total Posts: 2

Joined 2011-07-06

PM

Hi,

Im having similar problem as well, but it happens when i tried to assign for channel 0.
Here is my steps
1. reset ant
2. assign channel
But I just keep getting 'CHANNEL IN WRONG STATE' (0x15)message.
I have also check the channel status (0x52). Apparently, the channel is still unassigned.
Is there any other factor causes CHANNEL IN WRONG STATE (0x15) error?

Regards
Tiong      
Rank

Total Posts: 2

Joined 2011-07-06

PM

Actually, I just found that I assigned the channel for more than one time.
Everything works fine now.

Thanks
Tiong