<?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>Interfacing Microchip AT42QT2120 to nrf52840-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75554/interfacing-microchip-at42qt2120-to-nrf52840-dk</link><description>Dear Nordic Community, 
 Help me in interfacing AT42QT2120 capacitive touch sensor to nrf52840 controller.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 May 2021 04:14:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75554/interfacing-microchip-at42qt2120-to-nrf52840-dk" /><item><title>RE: Interfacing Microchip AT42QT2120 to nrf52840-DK</title><link>https://devzone.nordicsemi.com/thread/311625?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 04:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3739142e-6732-40d4-b4e2-7facd6351054</guid><dc:creator>Vins</dc:creator><description>&lt;p&gt;Thank you for your response Mr.Awneil.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing Microchip AT42QT2120 to nrf52840-DK</title><link>https://devzone.nordicsemi.com/thread/311356?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 08:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1be3b375-2a07-44ee-9744-c55a0f9ba3d9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So what have you tried? Where are you stuck?&lt;/p&gt;
&lt;p&gt;Remember that the&amp;nbsp;&lt;span&gt;AT42QT2120&amp;nbsp;- like any other external chip - neither knows nor cares what microcontroller you use.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;AT42QT2120&amp;nbsp; has an I2C interface; so all the&amp;nbsp;AT42QT2120&amp;nbsp; requires is that you give it the correct sequence of Start Condition, Slave Address, etc, etc, as specified in its &lt;strong&gt;datasheet&lt;/strong&gt; - and it will respond as specified in its datasheet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.microchip.com/wwwproducts/en/AT42qt2120"&gt;https://www.microchip.com/wwwproducts/en/AT42qt2120&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621934461326v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Similarly, the nRF52 I2C controller neither knows nor cares what slave(s) are connected to the bus:&amp;nbsp; all it does is generate&amp;nbsp;Start Condition, Slave Address, etc and receives responses, ACK/NACK, etc - as specified in its documentation:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52840.html"&gt;https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52840.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There are TWI examples in the SDK - start with the&amp;nbsp;&lt;strong&gt;TWI Scanner Example&lt;/strong&gt; to verify that you can correctly address the peripheral:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/twi_scanner_example.html"&gt;infocenter.nordicsemi.com/.../twi_scanner_example.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>