<?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>I want to control the timing of writing to the SD card by BLE communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48590/i-want-to-control-the-timing-of-writing-to-the-sd-card-by-ble-communication</link><description>Hello 
 I currently use SDK 15.0.0 and write a program in SES. and use nrf52832(BLENano2). 
 I&amp;#39;m trying to merge BLE and fatfs examples. 
 After writing to the SD card in the main function, if you start advertising BLE, it works without any problems.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2019 08:02:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48590/i-want-to-control-the-timing-of-writing-to-the-sd-card-by-ble-communication" /><item><title>RE: I want to control the timing of writing to the SD card by BLE communication</title><link>https://devzone.nordicsemi.com/thread/193081?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 08:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec32bdc-0b74-43ea-8a50-44489ac88e78</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;Set flag = true when 0x01 is received, and in the main function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;if (flag == true)&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;{&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt; If (flag2 == true) {&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt; flag2 = false;&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt; // SD card initialization process&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-color:transparent;color:rgba(0, 0, 0, 0.87);float:none;font-family:&amp;#39;Roboto&amp;#39;,arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:28px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color:transparent;color:rgba(0, 0, 0, 0.87);float:none;font-family:&amp;#39;Roboto&amp;#39;,arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:28px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;"&gt; &lt;/span&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;}&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-color:transparent;color:rgba(0, 0, 0, 0.87);float:none;font-family:&amp;#39;Roboto&amp;#39;,arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:28px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color:transparent;color:rgba(0, 0, 0, 0.87);float:none;font-family:&amp;#39;Roboto&amp;#39;,arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:28px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;"&gt; &lt;/span&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;// SD card processing&lt;/span&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" /&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;It was solved by making and.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>