Hi
I'm reading
Section 5.1 Asynchronous Mode of the ANT application note - Burst transfers. It states that the entire message packet should contain A4 (sync byte), message length (ML), message ID, 8-byte data (D0:D7) and checksum (CS). The waveform is captured attached (SerialData_Async.png).
On the other hand, it is stated on the ANT Message Protocol and Usage document that (page 105) the packet should contain the sequence/channel number (CH) in front of the 8-byte payload like this:
[A4] [ML] [ID] [CH] [D0:D7] [CS].
Which one is correct?
I am trying to do Burst Transfer with an AP2USB dongle with ANTWare II. Serial data is sent from PC to nRF52832 running nRF52 Network Processor (version 6.1.1). Data in hex is displayed in a screen capture attached (SerialData_Async.png). I am using a serial terminal program YAT to do the transfer.
When Burst Transfer is triggered, BURST_DATA_0x50 is received on ANTWare II with the first eight bytes followed by EVENT_TRANSFER_RX_FAILED_0x04:
Received BURST_DATA_0x50
:: 50, 00-20-21-22-23-24-25-26-27
EVENT_TRANSFER_RX_FAILED_0x04
:: 40, 00-01-04
I think there is a problem with my Serial Data structure. What I did wrong?
JohnANT
Image Attachments
Click thumbnail to see full-size image