<?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>FT810 Overlay config and API for the nRF9160DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83897/ft810-overlay-config-and-api-for-the-nrf9160dk</link><description>I&amp;#39;m working on porting some Arduino code for a Crystalfontz 320x240 FT810 display to run on the nRF9160DK. I&amp;#39;m having some success, But it seems Zephyr has an FT8XX driver that includes support for the FT810 specifically. I added the CONFIG_FT800=y to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jan 2022 12:44:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83897/ft810-overlay-config-and-api-for-the-nrf9160dk" /><item><title>RE: FT810 Overlay config and API for the nRF9160DK</title><link>https://devzone.nordicsemi.com/thread/349251?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 12:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ded7793-1170-47db-bf09-fa4e15506a01</guid><dc:creator>KCrawford</dc:creator><description>&lt;p&gt;Thanks Olvind. I found that same sample over the weekend and have my project coded and will be testing today. I will probably need some help with the overlay as I&amp;#39;m already using SPI1 for a sensor interface. I&amp;#39;ve been struggling with the FT800/EVE SPI interface. It works, but is unreliably. So I&amp;#39;m hoping the FT800 driver will work .... and handle the touch screen too. So I will be returning for more of your great expertise soon. Have a great week.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FT810 Overlay config and API for the nRF9160DK</title><link>https://devzone.nordicsemi.com/thread/349193?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 10:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca59cc9-da47-4f2a-aaf5-af333e570267</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Nice find! That looks very similar to what I was suggesting.&lt;/p&gt;
&lt;p&gt;Add the contents of the arduino_spi node to the spi node in a nrf9160dk_nrf9160_ns.overlay file, and add CONFIG_FT800=y to your prj.conf.&lt;/p&gt;
&lt;p&gt;There is a FT800 sample in the sdk: zephyr/samples/drivers/misc/ft800&lt;/p&gt;
&lt;p&gt;I do not know how to use the sample, but I should be able to help you any issues you encounter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FT810 Overlay config and API for the nRF9160DK</title><link>https://devzone.nordicsemi.com/thread/348987?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 14:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0faddf-cbb8-4273-b8be-da355f5b3e04</guid><dc:creator>KCrawford</dc:creator><description>&lt;p&gt;Thanks for the quick response. I&amp;#39;m still a newbie, but I&amp;#39;m learning how to use overlays. Last night I found some additional info that I wanted to post for your review (and for anyone else that wants to or has used the FT800). What I&amp;#39;m posting below is a different approach from the YAML modification. I will try both approaches. BTW, I found there is also a config called CONFIG_FT800 that needs to be included in prj.conf.&lt;/p&gt;
&lt;p&gt;So while I think this will get me started from a configuration standpoint, do you know of any examples on how to use the FT800 Zephyr driver. That info would also be greatly appreciated. BTW, I&amp;#39;m using an FT810 with a touch-screen. I believe the Zephyr drivers provides support. But let me know if I may find issues. Thanks!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="moz-txt-link-freetext" href="https://github.com/zephyrproject-rtos/zephyr/commit/cb8a271b831597a11f524e1c784bfa9493959d00"&gt;https://github.com/zephyrproject-rtos/zephyr/commit/cb8a271b831597a11f524e1c784bfa9493959d00&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;amp;arduino_spi {&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;status = &amp;quot;okay&amp;quot;;&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;/* D10 */&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;cs-gpios = &amp;lt;&amp;amp;arduino_header 16&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;ft800@0 {&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = &amp;quot;ftdi,ft800&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &amp;lt;0x0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label = &amp;quot;FT800_0&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spi-max-frequency = &amp;lt;8000000&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&amp;nbsp; D2 */&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; irq-gpios = &amp;lt;&amp;amp;arduino_header 8 GPIO_ACTIVE_LOW&amp;gt;;&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pclk = &amp;lt;5&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pclk_pol = &amp;lt;1&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cspread = &amp;lt;1&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swizzle = &amp;lt;0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsize = &amp;lt;272&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voffset = &amp;lt;12&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vcycle = &amp;lt;292&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsync0 = &amp;lt;0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsync1 = &amp;lt;10&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hsize = &amp;lt;480&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hoffset = &amp;lt;43&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hcycle = &amp;lt;548&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hsync0 = &amp;lt;0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hsync1 = &amp;lt;41&amp;gt;;&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt; };&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FT810 Overlay config and API for the nRF9160DK</title><link>https://devzone.nordicsemi.com/thread/348941?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 13:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf1ce841-e8a3-4b5a-835c-96c8608e7417</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see that you are familiar with overlays from this case: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83120/spi-sub-node-configuration-using-nrfx-spim"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83120/spi-sub-node-configuration-using-nrfx-spim&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the FT800 driver you need to set the compatible field to &amp;quot;&lt;span&gt;ftdi,ft800&lt;/span&gt;&amp;quot; and add all the required fields found in the dts binding: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/dts/bindings/display/ftdi%2Cft800.yaml"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/dts/bindings/display/ftdi%2Cft800.yaml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if anything is confusing or you run into any issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>