<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8831/how-to-reach-maximum-speed-in-ant-advanced-burst-mode</link><description>Good day! 
 Faced with the problem that I didn&amp;#39;t get to run N5 Starter Kit (nRF51422) on maximum speed in Advanced Burst Mode, using ANTware II with ANTUSB-m to read packets. For now, maximum speed is 12,8kbps (200Hz * 8 bytes per packet * 8 bits in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2015 10:17:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8831/how-to-reach-maximum-speed-in-ant-advanced-burst-mode" /><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32464?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 10:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6a455b6-0379-4c17-bc14-374a11b5715d</guid><dc:creator>C0oo1D</dc:creator><description>&lt;ol&gt;
&lt;li&gt;It was in code. Nothing changed.&lt;/li&gt;
&lt;li&gt;That&amp;#39;s was my trouble.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Without event system (by continuously pushing handler request and checking answer from it) - maximum speed are reached was 32768 b/s without tx fail message, and 35840 b/s with tx fail message (but actually tx not failed, all bytes was received correctly).
Config was: BURST BLOCK SIZE - 128 bytes (more - was unstable), CHANNEL PERIOD - 128 Hz (256u) and 315 Hz (104u) respectively.&lt;/p&gt;
&lt;p&gt;With event system i reached 60288 b/s. Config are: BURST BLOCK SIZE - 5368 bytes (more - transmittion are not starting, and yes, that&amp;#39;s for testing only :) ), CHANNEL PERIOD - 182 Hz (180u), but on so huge packets its can be smaller.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32463?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2015 14:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41abf4ca-38ef-416b-aac9-08e60264a530</guid><dc:creator>testy</dc:creator><description>&lt;ul&gt;
&lt;li&gt;ant_message_types: yes, sd_ant_adv_burst_config_set is missing there, but with your burst_setup the whole buffer of BURST_BLOCK_SIZE must be transferred at full rate at once (not particular packets with 250ms spacing) - use longer buffer.&lt;/li&gt;
&lt;li&gt;ant_device_firmware_update: the same&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;as for &lt;a href="http://www.thisisant.com/forum/viewthread/6281/"&gt;www.thisisant.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My approach:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;sd_ant_burst_handler_request&lt;/li&gt;
&lt;li&gt;wait for ANT event (whether EVENT_TRANSFER_TX_COMPLETED or EVENT_TRANSFER_TX_FAILED) got through sd_ant_event_get&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32462?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2015 13:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fedbde97-f13d-47f0-bd71-7e0400982a97</guid><dc:creator>C0oo1D</dc:creator><description>&lt;p&gt;ad 2.: Here comes a problem. It seems he puts each burst packet to a separate time slot.&lt;/p&gt;
&lt;p&gt;My code are not working properly! I need 60kbps, but achieve 12,8kbps :)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There are 2 examples in thisisant&amp;#39;s Starter Kit SDK ...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Where? I find one (ant_message_types), but they don&amp;#39;t uses adv. burst, and they burst speed even less than in my code (and yes, I also changed channel period, but the rate of increase is not enough, though significant).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32461?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 20:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:255a59e7-2913-4466-8102-b2276799aff7</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;ad 2.: ANT Message Protocol and Usage 5.1, pages 23-24, 113.&lt;/p&gt;
&lt;p&gt;As for code: what&amp;#39;s wrong in your? You&amp;#39;ve met 2 main prerequisites: ADV_BURST_MODE_ENABLE and ADV_BURST_MODES_MAX_SIZE.&lt;/p&gt;
&lt;p&gt;There are 2 examples in thisisant&amp;#39;s &lt;strong&gt;Starter Kit SDK&lt;/strong&gt; ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32460?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2015 07:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e303d2-bd09-4202-b6a9-481351b1c115</guid><dc:creator>C0oo1D</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Understood, thanks!&lt;/li&gt;
&lt;li&gt;Yes, but inside standart timings (channel period). That&amp;#39;s why I asked about the increased frequency of channel period. If burst end transmission and chip wait for next period, i can increase period quantity.. but it&amp;#39;s not work in my implementation.&lt;/li&gt;
&lt;li&gt;Thanks, when readed first time - didn&amp;#39;t see a Note before table. Then, 1 burst and 2 adv. burst suits me (thought it can be transmitted 3-byte adv. burst only in one packet, without 0x50 burst).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Can you place a working code, that uses adv. burst on 60kbps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach maximum speed in ANT Advanced Burst Mode?</title><link>https://devzone.nordicsemi.com/thread/32459?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2015 22:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36a18878-3212-41f7-976d-0df2369f9dd9</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;60kbps is achieved only when packet contains 24bytes (ADV_BURST_MODES_MAX_SIZE or ADV_BURST_MODES_SIZE_24_BYTES) and is sent in Advanced Burst mode. 20kbps corresponds to Burst mode with standard 8bytes per packet (i.e. faster than standard packet sent as Broadcast Data or Acknowledged Data with channel period spacing).&lt;/p&gt;
&lt;p&gt;ad 1.:
External MCU is used to control ready-to-use RF modules (e.g. ANTAP281M5IB or N548M5CB with ant_network_processor_s310.hex loaded) through sync/async serial interface. For standalone nRF51422 operation the external MCU is altogether useless.&lt;/p&gt;
&lt;p&gt;ad 2.:
Burst modes use their own timing...&lt;/p&gt;
&lt;p&gt;ad 3.:
ANTUSB-m defaults to Burst mode - must be switched over.
The initial received packet is always a normal burst message (0x50). See ANT Message Protocol and Usage 5.1, page 111. &amp;quot;Need 3 data bytes in 1 Adv. Burst.&amp;quot; - set BURST_BLOCK_SIZE to 32u (or 40u as I did).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/AdvBurst.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>