<?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>Arducam Mini 2MP camera module is obsolete the official demo seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45649/arducam-mini-2mp-camera-module-is-obsolete-the-official-demo-seem-not-work-with-the-new-arducam-mini-2mp-plus-camera</link><description>Since the Mini 2MP is obsolete 
 Via this link https://www.amazon.com/Arducam-Module-Megapixels-Arduino-Mega2560/dp/B012UXNDOY only can buy Mini-2MP-Plus 
 The official git source https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo and Jimmy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2019 12:53:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45649/arducam-mini-2mp-camera-module-is-obsolete-the-official-demo-seem-not-work-with-the-new-arducam-mini-2mp-plus-camera" /><item><title>RE: Arducam Mini 2MP camera module is obsolete the official demo seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/180321?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 12:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475760c4-096b-4ace-9bc6-e4d4abaf7a4a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;Glad to hear you found the issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you have very long wires between the board and the sensor then this can be an issue. There might be something you can do on the hardware side to improve it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are able to run it at 2MHz then it should be quick enough, as the BLE link will have a slower transfer rate than the SPI anyway.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the SPI running at 1MHz it might be holding the BLE communication back, if you are connecting to a fast phone (such as the latest Samsung models).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arducam Mini 2MP camera module is obsolete the official demo seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/180130?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 02:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:672717c6-9ef7-4909-a87f-2d3437e8d527</guid><dc:creator>chanffdavid</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your great help.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f604.svg" title="Smile"&gt;&amp;#x1f604;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When change the SPI frequency to NRF_SPIM_FREQ_1M the&amp;nbsp;signal is stable and problem solve.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;nbsp;think&amp;nbsp;may be is the Dupont line problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will try more freq and connection methods to&amp;nbsp;investigate where the noise source.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;David Chan&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arducam Mini 2MP camera module is obsolete the official seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/179932?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 09:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f67190d-948f-4816-bfc8-73175b9051dd</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see why reading multiple bytes over the SPI should be an issue, unless you have a signalling issue between the DK and your sensor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to reduce the SPI frequency, and see if this makes a difference?&lt;/p&gt;
&lt;p&gt;To do that just change &lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/blob/master/arducam_mini_2mp/ArduCAM.c#L325"&gt;this line&lt;/a&gt; in ArduCAM.c and recompile your code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try&amp;nbsp;&lt;span&gt;NRF_SPIM_FREQ_1M for instance.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will also reach out to Jimmy and hear if he encountered similar issues.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arducam Mini 2MP camera module is obsolete the official seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/179904?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfcd1ad3-7c4a-487e-a00d-074d53858b23</guid><dc:creator>chanffdavid</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/jimmywong2003/nrf52-ble-image-transfer-demo"&gt;Jimmy&lt;/a&gt;&amp;nbsp;already handle the first byte. We can get the JPEG header (ff d8 ff) normally&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_04_2D00_03-at-3.50.02-PM.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But the JPEG end (ff d9) never appear.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And away get the&amp;nbsp;libjpeg error&amp;nbsp;on the Android demo app&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_04_2D00_03-at-3.58.26-PM.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Compare Nordic demo and Arducam example the get image handle is difference&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Arducam use&amp;nbsp;&lt;a href="https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/mini/ArduCAM_Mini_2MP_OV2640_functions/ArduCAM_Mini_2MP_OV2640_functions.ino#L536-L552" rel="noopener noreferrer" target="_blank"&gt;SPI.&lt;span class="pl-c1"&gt;transfer&lt;/span&gt;(&lt;span class="pl-c1"&gt;0x00&lt;/span&gt;);&lt;/a&gt;&amp;nbsp;get the camera image data&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nordic use&amp;nbsp;&lt;a href="https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/mini/ArduCAM_Mini_2MP_OV2640_functions/ArduCAM_Mini_2MP_OV2640_functions.ino#L536-L552" rel="noopener noreferrer" target="_blank"&gt;&lt;span class="pl-c1"&gt;arducam_spiReadMulti&lt;/span&gt;(buffer, transactionLength);&amp;nbsp;&lt;/a&gt;&amp;nbsp;get the camera image data&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Base on Arducam example the image is complete have normal header &amp;quot;ff d8 ff&amp;quot; and the end &amp;quot;ff d9&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess via&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/mini/ArduCAM_Mini_2MP_OV2640_functions/ArduCAM_Mini_2MP_OV2640_functions.ino#L536-L552" rel="noopener noreferrer" target="_blank"&gt;&lt;span class="pl-c1"&gt;arducam_spiReadMulti&lt;/span&gt;(buffer, transactionLength);&lt;/a&gt;&amp;nbsp;will corrupt the image&amp;nbsp;data mystery&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you help to solve?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arducam Mini 2MP camera module is obsolete the official seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/179701?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 10:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce4e337-b9b6-4f98-a20c-759d37e7330d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;I have heard reports earlier that to make the Mini-2MP-Plus module work it is necessary to&amp;nbsp;comment out the following line of code in the main.c file:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/blob/master/main.c#L796"&gt;&lt;span&gt;arducam_mini_2mp_fillBuffer&lt;/span&gt;&lt;span&gt;(img_data_buffer, &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try to make this change and see if it&amp;nbsp;is sufficient?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The older module added a byte at the start of the buffer that needed to be flushed, while the plus module doesn&amp;#39;t.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arducam Mini 2MP camera module is obsolete the official seem not work with the new Arducam Mini 2MP Plus camera</title><link>https://devzone.nordicsemi.com/thread/179654?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 06:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b8e5704-de39-423a-93f7-be3061efb3f0</guid><dc:creator>chanffdavid</dc:creator><description>&lt;p&gt;When run the Android Image Transfer Demo and capture image got following error&lt;/p&gt;
&lt;p&gt;2019-04-02 14:47:19.432 11738-11738/com.nordicsemi.ImageTransferDemo W/image_transfer_main: First packet received: 244 bytes&lt;br /&gt;2019-04-02 14:47:19.583 11738-11738/com.nordicsemi.ImageTransferDemo W/image_transfer_main: attempting JPEG decode&lt;br /&gt;2019-04-02 14:47:19.583 11738-11738/com.nordicsemi.ImageTransferDemo D/skia: libjpeg error 68 &amp;lt;Unsupported marker type 0x68&amp;gt; from output_message&lt;br /&gt;2019-04-02 14:47:19.583 11738-11738/com.nordicsemi.ImageTransferDemo D/skia: libjpeg error 68 &amp;lt;Unsupported marker type 0x68&amp;gt; from setjmp&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>