<?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>Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60157/send-data-from-mobile-app-via-ble_uart-and-send-the-data-to-another-nrf52-via-spi</link><description>I have two nrf52 chips connected to each other via SPI 
 I send data from my Nordic Uart app to my nrf52 chip 1 and I want to send the data that I receive from Mobile app to another Nrf52 chip 2 that is connected via SPI and it is in slave mode. 
 I completed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Apr 2020 10:41:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60157/send-data-from-mobile-app-via-ble_uart-and-send-the-data-to-another-nrf52-via-spi" /><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/246001?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 10:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0742c953-1429-409a-bfd0-153a284749a3</guid><dc:creator>hkarthik97</dc:creator><description>&lt;p&gt;Thanks it worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/245480?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 10:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7ce9a9-7a91-4d95-82dd-7ffd6018f810</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you checked if you have any assert (e.g. code has run to fault_handler)?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/245379?ContentTypeID=1</link><pubDate>Sun, 19 Apr 2020 17:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:138e6640-7522-41c4-8782-cd09c58b17a7</guid><dc:creator>hkarthik97</dc:creator><description>&lt;p&gt;I am able to transfer the data to another nrf but after the spi transfer my board goes to deadlock the able stops.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/245064?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 15:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff8e692b-7094-4fc3-a94f-227c3e28a9d4</guid><dc:creator>hkarthik97</dc:creator><description>&lt;p&gt;I tried commenting them but the BLE service stops&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/245062?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 15:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d41ae52-9e1f-4100-a3e8-6497be899552</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;But you have really long delays in&lt;span&gt;&amp;nbsp;send_data_to_biboA(), what interrupt priority does&amp;nbsp;nus_data_handler() run? Have you tried to remove the delays?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you comment out the init of logging (or move it to main())?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;//APP_ERROR_CHECK(NRF_LOG_INIT(NULL));&lt;br /&gt;//NRF_LOG_DEFAULT_BACKENDS_INIT();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you checked if you have an assert (run to app_error_fault_handler())?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/244928?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9a80460-2f56-4fad-9fdb-44fe65a0424b</guid><dc:creator>hkarthik97</dc:creator><description>&lt;p&gt;No this did not solve the problem and the Bluetooth advertising is stopped as soon as this function is called send_data_to_biboA(); and the whole process is stopped&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from mobile app via ble_uart and send the data to another nrf52 via spi</title><link>https://devzone.nordicsemi.com/thread/244692?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 11:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e52bc027-c00c-45d0-a1e3-106391066b7a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I suspect it is an interrupt priority issue, for instance that&amp;nbsp;nus_data_handler() have equal or higher priority than&amp;nbsp;spi_event_handler(), this will cause the&amp;nbsp;&lt;span&gt;spi_event_handler() to not be able to update the&amp;nbsp;spi_xfer_done flag. You can try to change&amp;nbsp;SPI_DEFAULT_CONFIG_IRQ_PRIORITY to 3 to see if that solves it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>