<?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>nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44761/nrf52-ble-image-transfer-demo-on-ubuntu-16-04</link><description>Hi, I am trying to use github.com/.../nrf52-ble-image-transfer-demo with Ubuntu 16.04 Using - gcc-arm-none-eabi-6-2017-q2-update - nRF5 SDK version 15.0.0 (nRF5 SDK version 15.2.0 throws lot of compile errors if the Makefile is used) - nRF52840 DK (PCA10056</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Mar 2019 00:48:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44761/nrf52-ble-image-transfer-demo-on-ubuntu-16-04" /><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177461?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 00:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9b40fc4-36a3-4024-b62d-106a47a83707</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;it is better to check on the Arducam HW first.&amp;nbsp; You may use other board such as Arduino UNO and run the demo to verify it. Or use the logic analyzer to measure the signal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177162?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 18:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c1f0d0-86b0-456a-b524-4c78ce5425bd</guid><dc:creator>RavY</dc:creator><description>&lt;p&gt;Hi Jimmy Wong,&lt;/p&gt;
&lt;p&gt;Thanks for your quick check suggestion. I could confirm that the camera is &lt;strong&gt;NOT&lt;/strong&gt; detected.&lt;br /&gt;I get the prints&lt;br /&gt;&amp;lt;info&amp;gt; app: TWI scanner started.&lt;br /&gt;&amp;lt;info&amp;gt; app: No device was found.&lt;/p&gt;
&lt;p&gt;What do you suspect?&lt;br /&gt;1. Faulty Hardware (Arducam)?&lt;br /&gt;2. Improper connection to the DK with jumper wires?&lt;br /&gt;3. Incorrect configuration settings?&lt;/p&gt;
&lt;p&gt;Please suggest.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177121?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 15:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef6e1eed-f55a-4c73-a304-a2404ae96949</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I recommend another approach to do the quick check.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can run the&amp;nbsp;&lt;span class="s1"&gt;examples/peripheral/twi_scanner to check the I2C whether you can detect this camera module or not.&amp;nbsp; if yes, it would show you the i2c address of this camera module.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;if it doesn&amp;#39;t work, it is better to use the logic analyzer / scope to double check on the configuration first.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177118?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 15:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55f13a66-7c17-475a-be6d-05e9049ac1f0</guid><dc:creator>RavY</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the connection given in&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/blob/master/pics/840_cam_side.jpg"&gt;https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/blob/master/pics/840_cam_side.jpg&lt;/a&gt;&amp;nbsp;and connecting the DK to USB wont give 5V?&lt;/p&gt;
&lt;p&gt;If not how can I give 5V input?&lt;/p&gt;
&lt;p&gt;Unfortunately I dont have a multi-meter handy to confirm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177019?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 13:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10248ab-e55d-4220-bb21-b345aeee0f2f</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;You need to make sure the voltage to this camera module by using 5V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/177016?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 13:03:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc471ba5-4375-4401-a5f9-f122dbff0e8c</guid><dc:creator>RavY</dc:creator><description>&lt;p&gt;Yes, I am using the code you referred to&amp;nbsp;&lt;a href="https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo"&gt;https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;//Step 1: select the hardware platform, only one at a time&lt;br /&gt;#define OV2640_MINI_2MP&lt;/p&gt;
&lt;p&gt;#define ARDUCAM_SHIELD_V2&lt;/p&gt;
&lt;p&gt;//Step 2: Select one of the camera module, only one at a time&lt;br /&gt;#if (defined(ARDUCAM_SHIELD_REVC) || defined(ARDUCAM_SHIELD_V2))&lt;/p&gt;
&lt;p&gt;#define OV2640_CAM&lt;/p&gt;
&lt;p&gt;Am I missing anything?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176993?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:22:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d7276e-eb2c-4600-ab0a-85b26b68415a</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Also, you need to select the camera module, in&amp;nbsp;&lt;span class="repo-root js-repo-root"&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;&lt;span&gt;nrf52-ble-image-transfer-demo&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="separator"&gt;/&lt;/span&gt;&lt;span class="js-path-segment"&gt;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/tree/master/arducam_mini_2mp"&gt;&lt;span&gt;arducam_mini_2mp&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="separator"&gt;/&lt;/span&gt;&lt;strong class="final-path"&gt;memorysaver.h&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176992?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ff1536e-6598-4a08-be8a-20610a8727f7</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;hi , if you are using the side connection, you need to set&amp;nbsp;&lt;span&gt;#&lt;/span&gt;&lt;span class="pl-k"&gt;define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-en"&gt;PCA10056_USE_FRONT_HEADER&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-c1"&gt;0&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176987?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7510a1e5-de39-49a3-9079-5b9de93362e5</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176982?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:692c61ad-5841-46a8-9153-d67cba8e9be4</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;HI, if you are using the connection configuration as&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176981?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f897851d-91f3-4e19-8019-bb461d70a46c</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;HI, if you are using the connection configuration as&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176979?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 12:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b75c0d-7d85-40b1-8486-94eeca3e9e67</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;HI, if you are using the connection configuration as&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176812?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 18:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e434253-f143-4a84-b39b-65f0ecf91f35</guid><dc:creator>RavY</dc:creator><description>&lt;p&gt;Thanks for the links provided.&lt;/p&gt;
&lt;p&gt;I was able to debug the code using SES proj in &amp;quot;examples\ble_peripheral\nrf52-ble-image-transfer-demo-master\pca10056\s140\ses&amp;quot;.&lt;/p&gt;
&lt;p&gt;I noticed that the code runs into infinite while.&lt;/p&gt;
&lt;p&gt;main() -&amp;gt;&amp;nbsp;camera_init() -&amp;gt;&amp;nbsp;arducam_mini_2mp_open()&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//Check if the ArduCAM SPI bus is OK&lt;br /&gt; arducam_write_reg(ARDUCHIP_TEST1, 0x55);&lt;br /&gt; temp = arducam_read_reg(ARDUCHIP_TEST1);&lt;br /&gt; //Serial.println(temp);&lt;br /&gt; if (temp != 0x55)&lt;br /&gt; {&lt;br /&gt; //nrfSystem.registerError(LS_ERROR, &amp;quot;ARDUCAM&amp;quot;, 0, &amp;quot;SPI interface non responsive&amp;quot;); &lt;br /&gt; while(1);&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;The value of temp is 0xff.&lt;/p&gt;
&lt;p&gt;I confirmed that the below code gets executed in camera_init() function&lt;/p&gt;
&lt;p&gt;m_camera_init.pinScl = 27;&lt;br /&gt; m_camera_init.pinSda = 26;&lt;br /&gt; m_camera_init.pinSck = 32 + 15;&lt;br /&gt; m_camera_init.pinMiso = 32 + 14;&lt;br /&gt; m_camera_init.pinMosi = 32 + 13;&lt;br /&gt; m_camera_init.pinCsn = 32 + 12;&lt;/p&gt;
&lt;p&gt;Do I have to modify any of the settings/Pin configurations?&lt;/p&gt;
&lt;p&gt;Please advice.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176317?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 01:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a726a5a9-9821-476b-886f-cdd93e9f9fc1</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;You can refer to the youtube.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are 7 video (tutorial for the SES).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/176282?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 16:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb007345-dcc2-44e4-924e-8afd72644c37</guid><dc:creator>RavY</dc:creator><description>&lt;p&gt;Thank you Jimmy Wong for your suggestion.&lt;br /&gt;I am new to SES. Can you please provide me steps to build this on SES or if any reference material available which can help me.&lt;br /&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52-ble-image-transfer-demo on Ubuntu 16.04</title><link>https://devzone.nordicsemi.com/thread/175800?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 01:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89157c8f-93e5-42a0-b19a-06febbd347ce</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used the Segger Embedded Studio on the SDK 15.3 with&amp;nbsp;&lt;a class="message" title="modify the code to work with Arducam v2640_MINI_2MP_PLUS

add the compile option (FLUSH_FIRST_BYTE) -- for handling 2MP_PLUS" href="https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo/commit/32c3976c25c0b3e204f124ddfc5c1593a681f6de"&gt;Arducam v2640_MINI_2MP_PLUS&lt;/a&gt;&amp;nbsp;(this is the latest camera module) with nRF52840 board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can try this first.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can have a look on the code (&lt;a href="https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo"&gt;https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if you are using the 2MP_PLUS, you need to config,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#&lt;/span&gt;&lt;span class="pl-k"&gt;define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-en"&gt;FLUSH_FIRST_BYTE&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-c1"&gt;0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-c"&gt;/* 0 -- V2640_MINI_2MP_PLUS , 1 -- V2640_MINI_2MP*/&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>