Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Reset ANT receive state machine

Rank

Total Posts: 7

Joined 2013-04-07

PM

Hi, i cannot understand what message to send based on "the host should send ANT a series of 15 0's to effectvely reset the ANT receive state machine" on p. 63 "ANT Message Protocol and Usage, Rev 5.0b" ? Should I send a Reset Message with fifteen 0 instead of only one 0 ? (I'm using the USB nRFAP 2 and working on a experimental ANT-library for node.js at https://github.com/hkskoglund/ANT-lib)      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

This note is meant to address the case where your serial communication becomes unsynchronized and ANT misses bytes from a message sent from the host. The idea is to keep sending zeroes (just zeroes, not a particular message) if you have not received a confirmation that ANT has received a complete message, in order to flush out its receive buffer.

This is a rare situation, and generally, it is recommended to use the reset pin instead to reset ANT. However, since you are working on a USB library, and do not have access to performing a hardware reset, this solution would work for you.