<?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>Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5938/urgent---nrf8001-and-atmega328</link><description>I work for a small start-up. Our products monitor events and communicate via bluetooth with an Android tablet. 
 We are currently trying to make our custom circuit using nrf8001 and AtMega 328p operational using Arduino bootloader/soft and ICSP port</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 15 Mar 2015 20:36:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5938/urgent---nrf8001-and-atmega328" /><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20685?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 20:36:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1688f846-16fd-45f5-86db-a98a98a00a34</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The short range is likely caused by the PCB layout and component placement.  You must not have any traces or planes or any components under the antenna area, even on the other side of the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20684?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 20:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e5bdec-aa77-47c1-a485-c582a231be07</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;So we manage to connect to the BT module. The MISO shifting as indeed the problem. However wireless range is about 10cm (hum...) and we can&amp;#39;t make the echo demo code work (TX but no RX). A colleague is on the serial port to understand better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20683?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 15:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e40be4-41bd-4be9-a81b-c74a8d44fcce</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Bypass the transistor.  Remove the pullup on 5V.  Keep the pullup on the 3V.  I think it should work that way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20682?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 13:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddb0a4ee-0939-481e-8980-d2fe47f37075</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;If I want to keep current board, any reco on which component to use to do the same in SOT23? I&amp;#39;m afraid that removing the pull-up for the nrf8001 will work but SC card will not work anymore. What do you think?&lt;/p&gt;
&lt;p&gt;See
&lt;a href="http://forum.arduino.cc/index.php?topic=150872.0"&gt;forum.arduino.cc/index.php&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20681?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 12:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9795087-29d0-44b4-b1ea-a2e2b72e4207</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;I will connect it directly.&lt;/p&gt;
&lt;p&gt;See this:
&lt;a href="https://github.com/guanix/arduino-nrf8001/issues/5"&gt;github.com/.../5&lt;/a&gt;
and this
&lt;a href="https://github.com/adafruit/Adafruit-Bluefruit-LE-nRF8001-PCB"&gt;github.com/.../Adafruit-Bluefruit-LE-nRF8001-PCB&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MISO isnt shifted so I will try it this way.&lt;/p&gt;
&lt;p&gt;Thanks again. Will keep you informed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20680?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 12:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0543bab8-77e1-41a0-a967-40f0f45fe8c4</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Level shifting MISO is not the problem. In fact it is better to level shift it.  What I suspect is the transistor level shifter design you are using.  That is why I suggested to check the SD card.  If you can access the SD card, that would prove the MISO works.  I would also suggest using this chip SN74AVCH4T245DGVR.  It is more flexible to use in your design as it allows you to select the direction.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20679?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 11:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda8098d-f2ce-4a38-a2d8-6c20d215b8e0</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;Hi, I think you might be right. After looking at several other BT modules, MISO isn&amp;#39;t shifted. Will try it today... This thing is killing me :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20677?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 11:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff731fdb-42e6-4256-8569-7f70379406fe</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;We are on it! Thanks we will keep you updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20672?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 13:44:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fff8f436-6b81-4c44-8c18-34e8498c7110</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Okay, I misunderstood your comment and therefor my reference to the 8MHz is not valid. I do agree it&amp;#39;s a bad idea to overclock your product. Enough off topic.
You still have the issue with the nRF8001. Did you get the SD card working?
Are the signals converted correctly? Maybe freeze your code and start with some dedicated code for just  checking your layout. Toggle all the outputs, read the inputs and find an example for SPI with the ATMEGA328. Get back to the basics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20675?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 13:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f14d69-1b61-4e90-9e53-325779666509</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;Thanks. Will do. John&amp;#39;s answer help me found a local guy here who might help me... Will keep you informed. Thank you very much for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20674?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 13:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45cbf95e-7d3c-4dca-b160-188b5ce75d34</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;RDYN may work.  What you need to do is to make sure the SPI interface works.  You have the SD card connected to the same SPI.  It does not use the RDYN pin.  So with that you can verify the SPI work properly or not.  It would also isolate the RDYN pin.  The SD card is easier to validate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20671?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 12:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe5751b-c51c-41cc-9905-bd079e9760a5</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;My point was that, if you are a hobbyist, there is little harm in slightly overclocking a single part, provided you can verify that it works OK. If you are in production it is a bad idea.
I have no idea what relevance  your reference to the 8MHz internal clock has...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20670?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 12:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7271424-94e5-44ec-aa62-469000080b43</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Oh yeah indeed. The maximum clockfrequency is supply dependent. If you application needs 20MHz than indeed the 3.3V is not suitable for you. But this clockfrequency doesn&amp;#39;t have anything to do with hobby or commercial projects, but with your own specifications. Arduino is more likely for hobbists than the clockfrequency.
Some years ago I used the ATMEGA328 with the internal clock of 8MHz for a commercial product and it worked perfect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20669?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 12:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e83b5d45-cd85-4dd1-9a3f-5a114290e57f</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;I believe that 16MHz at 3V3 is slightly out of spec. OK for a hobby project, perhaps, but I wouldn&amp;#39;t want to run outside the spec for a commercial project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20668?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 12:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13cc1a0e-d52c-4fea-854e-fc00d87f89a4</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Why are you running the ATMEGA328 on 5V. It will accept 3.3V as well. Select the PD1(TxD) indeed for bit-bang serial Transmit (Uart) will give you a great debug posibility.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20678?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 09:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:878d141c-194b-4f8f-a1c8-ab6cc7f618a0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I would more likely suspect the level shifter on MISO pin via Q3.  Does your SD card work ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20676?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 09:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b70c53c7-b317-4252-af5d-1b8a97a50a25</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;You have an LED output. Add a simple bit-bang serial tx function using the LED pin, hook it up to a FTDI UART-USB module and run a simple terminal program on your PC. You now have debugging. That&amp;#39;ll be 50 pence or one euro, please.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Urgent - nrf8001 and AtMega328</title><link>https://devzone.nordicsemi.com/thread/20673?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 08:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d50676e8-5113-4767-8085-97e62bc06310</guid><dc:creator>Francois</dc:creator><description>&lt;p&gt;Is it possible I have problems because RDYN is not shifted from 3.3 V to 5 V so AtMega don&amp;#39;t receive handshake signal?&lt;/p&gt;
&lt;p&gt;Thanks again for your help.&lt;/p&gt;
&lt;p&gt;NNH: We didn&amp;#39;t try the SD card yet...&lt;/p&gt;
&lt;p&gt;Other than that do you believe the pinout would be a problem?
RDYN do not need to be shifted?&lt;/p&gt;
&lt;p&gt;John: Thanks. As you can see my knowledge around all this is not very &amp;quot;deep&amp;quot;. Will share that with the guy who is helping me...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>