<?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>ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16676/arduino-d52qd2m4ia-nrf52832---protocol-help</link><description>Hi. 
 I develop an application in the past with ARDUINO and a nRF24AP2 module with great success. I can read 8 heart rate monitors ANT+ sensors in the same time, with 8 differents channels. 
 Now I am trying to upgrade my application using a D52QD2M4IA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Sep 2016 13:07:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16676/arduino-d52qd2m4ia-nrf52832---protocol-help" /><item><title>RE: ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/thread/63815?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 13:07:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a87cf46-e616-4ea1-a4a5-b63aae43ac78</guid><dc:creator>mikeardy</dc:creator><description>&lt;p&gt;I tryed to contact Dynastream but I had no so clear explanation...
Here can be found the discussion ---&amp;gt;  &lt;a href="https://www.thisisant.com/forum/viewthread/6586/"&gt;www.thisisant.com/.../&lt;/a&gt;
thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/thread/63814?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 10:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5182f547-74e6-4835-ac0a-5588da7317d2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry. You are correct. It seems they have made serialization firmware (ANT network processor application) for it. Maybe you can find something useful in tech resources &lt;a href="https://www.thisisant.com/components/iframe/d52/#tab_tech_resources"&gt;here&lt;/a&gt;? I think you should contact Dynastream regarding application support, at thisisant.com.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/thread/63812?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 09:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52931583-249a-4c29-af25-129b60313911</guid><dc:creator>mikeardy</dc:creator><description>&lt;p&gt;Thanks Petter for your response, excuse me I add an answer below, could you help me? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/thread/63813?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 09:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9c89885-bf8c-46c7-b922-6183cf4f0bb8</guid><dc:creator>mikeardy</dc:creator><description>&lt;p&gt;Hi, and thanks for response...
so
in attach there is a picture of the D52QD2M4IA module.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/D52QD2M4IA_2D00_A.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I bought one of it connected like following:
The wiring I used is:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;H202 -&amp;gt; TO ARDUINO PIN FOR RESET FUNCTION
H203 -&amp;gt; VCC
H204 -&amp;gt; GND
H206 -&amp;gt; TO ARDUINO PIN FOR SUSPEND FUNCTION
H207 -&amp;gt; TO ARDUINO PIN FOR SLEEP FUNCTION
H209 -&amp;gt; PORTSEL TO GND (ASYNC)
H210 -&amp;gt; BR2 TO VCC
H211 -&amp;gt; UART TX TO ARDUINO RX
H212 -&amp;gt; UART RX TO ARDUINO TX
H213 -&amp;gt; BR1 TO VCC
H214 -&amp;gt; BR3 TO VCC
H217 -&amp;gt; RTS TO ARDUINO INPUT PIN

BR1-2-3 to VCC = selection of 57600bps serial UART speed
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When Arduino starts it execute this routines...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// module reset
void hardwareReset() {
[... some other code ...]
digitalWrite(RESET_PIN, LOW);
delay(5);
[... some other code ...]
hw_reset_count++;
delay(5);
digitalWrite(RESET_PIN, HIGH);
[... some other code ...]
}


// **************************************************************************************************
// * ANT Management Routines
// **************************************************************************************************
void antBegin() {
pinMode(SUSPEND_PIN, OUTPUT);
pinMode(SLEEP_PIN, OUTPUT);
pinMode(RESET_PIN, OUTPUT);
pinMode(RTS_PIN, INPUT);
[... some other code ...]
digitalWrite(RESET_PIN, HIGH);
digitalWrite(SUSPEND_PIN, HIGH);
digitalWrite(SLEEP_PIN, LOW);
//This should not be strictly necessary - the device should always come up by itself....
//But let&amp;#39;s make sure we didn&amp;#39;t miss the first RTS in a power-up race
hardwareReset();
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It respond me so I assume that there is a firmware that can &amp;quot;drive&amp;quot; the ANT protocol or not? I do not download any kind of software in it...&lt;/p&gt;
&lt;p&gt;How can I solve my issues?&lt;/p&gt;
&lt;p&gt;My needs is to read as many as HRM data and pass thought Arduino to a PC application.
Could you help me?
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARDUINO + D52QD2M4IA (nRF52832) - protocol help…</title><link>https://devzone.nordicsemi.com/thread/63811?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 08:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88328c9b-b6cf-4d4e-a3ae-89a363ca34e7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You are sending commands over UART to the nRF52? What firmware are you running on the nRF52? We don&amp;#39;t have an example for running a serialized application with the ANT SoftDevices, only BLE. The nRF24AP2 is only a connectivity IC, while the nRF52 is not, but can be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>