<?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>Another processor with NRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29823/another-processor-with-nrf52</link><description>I have created a program on Arduino which does audio/video output and takes input from accelerometer and camera module. I was able to move accelerometer code to NRF52 with @martinbl e.g. 
 On other posts it was mentioned with softdevice running we might</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jan 2018 11:45:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29823/another-processor-with-nrf52" /><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118466?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 11:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d554bd6-7f22-49e5-b39c-63350f2373d7</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I would say that in general that is bad practice. There is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpio.html?cp=2_1_0_19_3_0#unique_1511470077"&gt;a limit to how much current the nRF52&amp;#39;s GPIOs can supply&lt;/a&gt;, and I suppose that the digital logic in the atmega can induce some noise back into the nRF52. I would rather suggest that you use some sort of mosfet to control the power supply to the atmega with a GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118465?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 15:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65b75b78-a12f-42eb-a674-107f117edc1c</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;So @endnode / @MartinBL i am planning to add a atmel processor to my custom board along with nRF52. I want to control when this processor is ON/OFF. Can i connect the vin for atmel (arduino based atmega328) to one one the digital pins on nrf52 and control its ON/OFF like we do for LED? Is it bad practice or we can do it like this.&lt;/p&gt;
&lt;p&gt;Set pin:
nrf_gpio_cfg_output(PIN_num);&lt;/p&gt;
&lt;p&gt;Control ON by:
nrf_gpio_pin_set(PIN_num);&lt;/p&gt;
&lt;p&gt;Control OFF by:
nrf_gpio_pin_clear(PIN_num);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118476?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 15:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc4ddf78-e162-40fe-81fb-7db1aed58f6a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I&amp;#39;m glad you found them useful. Unfortunately this is all we have for audio: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/i2s_example_loopback.html?cp=4_0_0_4_6_14"&gt;I2S example&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118475?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 14:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8408e182-70e4-4d68-acad-87f111fe9a6d</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Thanks @martinbl i also used your EasyDMA e.g. for mpu-9250 they were brilliant. Do you have any e.g. for audio also using nRF52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118474?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 13:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97d6f50d-7a84-417d-b32c-dda8eca911c2</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;In addition to all the points @endnode has made I just want to point you towards some solutions and documentation. To do audio stuff you might be interested in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/i2s.html?cp=2_1_0_43#concept_z2v_24y_vr"&gt;I2S&lt;/a&gt; feature of the nRF52. The I2S implements what we call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/i2s.html?cp=2_1_0_43_6#concept_gq4_jly_vr"&gt;EasyDMA&lt;/a&gt; that allows you to access internal Data RAM without CPU intervention. This in turn allows you to stream continuous data from RAM without worrying about the Softdevice. You can also use EasyDMA with the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/pdm.html?cp=2_1_0_42#concept_tyv_452_yr"&gt;PDM&lt;/a&gt; to, to record audio, store it in RAM, and then stream it with I2S almost completely without CPU intervention (you will need software interrupts to update pointers to bufferes in RAM from time to time, but this can be done whenever the Softdivice isn&amp;#39;t using the CPU).&lt;/p&gt;
&lt;p&gt;Finally, here you can find some tables showing how much of the time the Softdevice uses the CPU in various scenarios: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/processor_avail_interrupt_latency/ble_usage_patterns.html?cp=2_3_1_0_15_2_2"&gt;Bluetooth low energy processor usage patterns&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118468?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 11:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc288ca-e646-4986-a74f-0c3eb790e324</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Makes sense!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118473?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 09:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86068730-1ae4-4863-8e9a-fe44eb79e637</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Thanks @endnode your points are very valid. It is a great forum and nordic is doing good job also skilled people like you also contribute a lot and i respect it. I use to develop on Arduino at start then realised i need to properly develop using industry standard hardware and tools. So i moved to Nordic chips as i need BLE for what i need to develop. They have great forum here with tutorials. So in past 3 months i have learned a lot. Now i can comfortably develop BLE services talking to my custom made apps on iOS and android. I have learned how to integrate different hardware components. For some i am still finding ways like for touch screen display/audio out/microphone etc. Also i was able to use open source tools in my journey here. I have been developing software professionally for last 20 years and have moved a lot between different technologies like server side, web, desktop, databases, big data and mobile this was only possible as in software side companies like microsoft, oracle, google apple spend lot of time writing tutorials for new developers to there platform so i would request nordic to take same approach and carry on there amazing works by adding new tutorials every 2 weeks and keep there existing tutorials upto date.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118471?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 21:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab79aa73-d772-494e-86d9-42248e650436</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;..like SDK examples, release notes etc. are written for people who already have a clue about embedded programming or at least want to take it seriously. If some artist or hobbyist or whoever have great idea but don&amp;#39;t want to spend on his/her blinking-whatever more then 2 weeks then he/she should find professional and pay him for the job rather then complaining that embedded programming on nRF5x cannot be learned in one week. Again just my opinion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118470?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 21:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f81b7da5-f512-42ae-835a-aad2b802382f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;And one more: I hope Nordic support team will appreciate your feedback on lack of tutorials (which I personally would argue a lot because you have TONS of tutorials and examples for nRF5x) but I believe you understand what&amp;#39;s happening here: Nordic isn&amp;#39;t non-profit organization which releases low-cost boards for DIY/hobbyists/teaching of kids (which Arduino more or less is), it&amp;#39;s publicly listed private business which wants to sell as much chips as possible. Who is then main focus? Big OEMs and similar companies embedding low-power radio chips to all different electronic devices and pushing hundreds of thousands of them to the market every year. These guys have teams which don&amp;#39;t work on Arduino IDE level, they are embedded SW and HW professionals. So you need to understand that while Nordic is so nice and kind to support everyone on this forum, the main focus of all the support materials&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118472?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 21:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fdba288-7c45-4e8d-89d9-13322047f60b</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;My comment on that would be: Arduino and its IDE might be great for beginners but most of them will be locked in misconceptions learned there and they will never develop good working embedded FW. So my first recommendation to everyone is to avoid any shortcut because some things are simply complex and must be understood into the roots to design something meaningful. Better 6 months of learning of proper ANSI C coding and concepts then having fast blinking *** but never being able to do anything more complex. Similar comment to the &amp;quot;suggestions&amp;quot; that nRF5x with Nordic BLE stack has limitations: sure it has. However it impacts 1% of applications. All the rest are either perfectly doable (I&amp;#39;ve seen nRF52 app which was running SPI+I2S+I2C+PWM+BLE at the same time and it was perfectly stable) or impossible requirements from the start. But I&amp;#39;m biased so indeed this is just my opinion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118469?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 16:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc65cfc7-bc18-459d-b5d2-9cae315d8783</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Thanks @endnode. I agree it has enough power but lot of other posts say when softdevice is running then some scenarios will not run properly. e.g. &lt;a href="https://devzone.nordicsemi.com/question/56023/play-audio-snippet-via-nrf5152/"&gt;Post&lt;/a&gt;. I feel as compared to other communities like ARM/Arduino NRF5 chip lacks greatly in tutorials and examples for non electronic background hobbyist. I hope this gap can be filled as NRF5 chip gets more and more popular.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another processor with NRF52</title><link>https://devzone.nordicsemi.com/thread/118467?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 16:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f41b9fd-f0b9-49bd-b3ab-e7cadb43f543</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well nRF52 has enough power and peripherals to run as single chip in most embedded systems. But it requires certain embedded SW and HW development skills to over come all challenges. You can indeed take opposite approach to just wire multiple of chips over SPI/I2C/UART and let each of them do more or less single function (sensor data gathering, radio communication, audio input, audio output...) In normal commercial product this would be probably unacceptable because of high BOM and manufacturing cost but for prototyping/small batch/hobbyists this approach is fine as well.&lt;/p&gt;
&lt;p&gt;I won&amp;#39;t advise you on what chips you can pair with nRF52 because basically everything what can do UART/SPI/I2C/I2S will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>