Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Byte order of SerialData

Rank

Total Posts: 5

Joined 2022-08-01

PM

Hi

May I learn the byte order of Serial Data for ANT Network Processor (nRF52 version 6.1.1)?

Example, if I want to set channel period to 8192 (4Hz), which of the following options is correct?

(1) A4 03 43 20 00 C4
(2) A4 03 43 00 20 C4

This question may be a bit stupid. At first I thought it would be option 1. A channel period of 8192 is 0x2000. But there was a lot of EVENT_RX_FAIL_0x02 events in ANTWare II with it (Option1.png).

When I changed it to option 2, there is no fail event anymore (may be 1 or 2 events out of 20 successful broadcast messages) - Option2.png.

I would like to confirm.

Screen captures of option 1 and 2 on ANTWare II attached.

JohnANT


Amend:
It should be LSB sent first. Therefore, the correct sequence is
A4 03 43 00 20 C4 
.
     

Image Attachments

Option1.pngOption2.png

Click thumbnail to see full-size image

Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Yes, you can normally assume that fields are formatted in LSB order.