<?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>spi with ble in nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30206/spi-with-ble-in-nrf52832</link><description>Hi 
 I am using nrf52832 doing a project and I &amp;#39;m new to this MCU. 
 My project concerns sending data from APP via BLE to nrf52832 to config parameters of SPI (data and clock frequency). 
 I have read example codes : ble_app_uart and spi respectively</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Feb 2018 14:16:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30206/spi-with-ble-in-nrf52832" /><item><title>RE: spi with ble in nrf52832</title><link>https://devzone.nordicsemi.com/thread/120436?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 14:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:061130d6-89ac-4346-a4c9-b00a7c883c05</guid><dc:creator>masloooo</dc:creator><description>&lt;p&gt;hi, haakonsh.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying to add codes of SPI into ble_app_uart. Yet I came across some problems.&lt;/p&gt;
&lt;p&gt;My question listed below: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30373/spi-nrf52832"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30373/spi-nrf52832&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would you take a look about it? thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi with ble in nrf52832</title><link>https://devzone.nordicsemi.com/thread/119773?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 14:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e696d07b-1018-4da6-92e2-297ed935b245</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yes :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi with ble in nrf52832</title><link>https://devzone.nordicsemi.com/thread/119767?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 14:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b321254-f5b2-477e-9c69-8055000da329</guid><dc:creator>masloooo</dc:creator><description>&lt;p&gt;Hi, haakonsh.&lt;/p&gt;
&lt;p&gt;thx for your reply. I just get some insight about rewriting the nus_data_handler. Am I right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi with ble in nrf52832</title><link>https://devzone.nordicsemi.com/thread/119759?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 14:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d9eed3-94fc-4df8-a367-cde63a67c509</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey masloooo,&lt;br /&gt;The UART, SPI and TWI peripherals share HW resources. This means that you cannot use UART0 and SPI0 at the same time. You can however use UART0 and SPI1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest you stick to ble_app_uart unless you want to go deep into BLE and create your own service and characteristics.&amp;nbsp;&lt;br /&gt;You can add the SPI driver to the ble_uart example and&amp;nbsp;set up the driver configurations in main.c, then you need to create a command line interface to parse the UART strings into SPI driver function calls.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Cheers Håkon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>