<?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>How to use TWI interface at softdevice&amp;#39;s BLE stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88/how-to-use-twi-interface-at-softdevice-s-ble-stack</link><description>I have to use TWI(I2C) interface to configure sensor.
Now ,i reference &amp;quot;nRFready Smart Remote &amp;quot; project drv_gyro_mpu6050.c .
and change the register number &amp;#39; configure.(drv_gyro_xxx.c and hal_twi.c) 
 if i want to add my project , how to add drv_gyro_xxx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jul 2013 00:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88/how-to-use-twi-interface-at-softdevice-s-ble-stack" /><item><title>RE: How to use TWI interface at softdevice's BLE stack</title><link>https://devzone.nordicsemi.com/thread/484?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2013 00:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:651bbf4d-52b0-465b-bc45-b827d77cefcc</guid><dc:creator>steven</dc:creator><description>&lt;p&gt;Thx for your reply.
I miss the keil uVision project file attach file.
the question is :
1.
I want to know how to add the peripherals(uart&amp;#39; spi &amp;#39;rtc and Twi) on BLe.
At the hal_twi.c is about  the TWI peripheral file.it is use PPI controller by event.&lt;/p&gt;
&lt;p&gt;Whether other peripheral( uart &amp;#39; spi&amp;#39; rtc and twi) is same operator?
can you give me more sample for me ?&lt;/p&gt;
&lt;p&gt;2.at attach file(ble_app_uart_hasbro_rel1_715.7z) file.
drv_gyro_mba222E.c mba222E_register_read(..) function.
the line number 91
&amp;quot;transfer_succeeded = hal_twi_transfer(s_device_address, &amp;amp;address, 1, TWI_DONT_ISSUE_STOP);&amp;quot;
my program always block there, and i have to fix to
transfer_succeeded = hal_twi_transfer(s_device_address, &amp;amp;address, 1, TWI_ISSUE_STOP);
why i have to change the TWI_ISSUE_STOP, it mean release the bus ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_hasbro_5F00_rel1_5F00_715.zip"&gt;ble_app_uart_hasbro_rel1_715.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use TWI interface at softdevice's BLE stack</title><link>https://devzone.nordicsemi.com/thread/483?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2013 10:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:649e2b1e-7127-4763-b519-2a433afd04dd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The files you attached did not have a uVision project associated with them.
What you need to do is to use a project as a reference (for instance: ble_app_template) and add the files that you need.&lt;/p&gt;
&lt;p&gt;If you are still having issues setting up Keil uVision, please see their getting started guide:
&lt;a href="http://www.keil.com/product/brochures/uv4.pdf"&gt;www.keil.com/.../uv4.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>