<?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>NRFX Timer in ns</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83516/nrfx-timer-in-ns</link><description>Hi, 
 
 I&amp;#39;m using the nRF9160 DK board with nRF Connect. 
 I want to create a driver for an LCD with a parallel interface. SPI is to slow for my project. 
 
 First, do you have examples using the parallel interface ? 
 Second, for this interface I want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 13:55:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83516/nrfx-timer-in-ns" /><item><title>RE: NRFX Timer in ns</title><link>https://devzone.nordicsemi.com/thread/347189?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bf8a9f3-cca1-4e77-a121-01b0ffc98751</guid><dc:creator>Eblancha</dc:creator><description>&lt;p&gt;OK. I will try different approaches then.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for your time! Have a good day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Timer in ns</title><link>https://devzone.nordicsemi.com/thread/347181?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:45:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7c5eafd-bbb6-4e13-a10d-6803e82b7533</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Even if there is a parallel interface on the&amp;nbsp;ILI9488, there is no such thing on the nRF9160. SPI is the fastest option available on the nRF9160.&lt;/p&gt;
&lt;p&gt;A timer will not work here, as it is imply a timer. It seems like what you are describing is bit bangig (using a timer, CPU and GPIOTE and implement the protocol in software). That will most probably not work with such high data rates, as the CPU&amp;nbsp;will not have time to do anything else. Remember that it is not enough to generate the interrupts, you need to do processing as well. Even though&amp;nbsp;perhaps not much, there will be a bit.&lt;/p&gt;
&lt;p&gt;You are of course free to try to bit bang this if you want, but given the chances are it will not work as expected I suggest you consider other approaches (like using the display differently so that 8 MHz SPI is enough,&amp;nbsp; use another MCU for handling the display, or something else).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Timer in ns</title><link>https://devzone.nordicsemi.com/thread/347175?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493b743c-529e-408d-b689-017196b02b08</guid><dc:creator>Eblancha</dc:creator><description>&lt;p&gt;Thank you for your answer.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I want to connect a display controller to my board. My purpose is to have an interface like a smartphone application, using the LVGL library.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I looked at the ILI9488 driver with a 320*480 resolution. Since the SPI frequency on NRF9160 is 8Mps, transmit an image via SPI takes approximately 300ms. I would like something faster. The ILI9488 datasheet describe the possibility of using a parallel interface instead of a serial interface.&lt;/p&gt;
&lt;p&gt;Even an handling&amp;nbsp;interrupt every 1us will be better than SPI, but with the NRFX timer the lower time interrupt I have is 5us.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFX Timer in ns</title><link>https://devzone.nordicsemi.com/thread/347146?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 12:10:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f738f45-0168-4d2a-808c-d9edbe716bbf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Elisa,&lt;/p&gt;
&lt;p&gt;There is no interface on the nRF91 that is faster than SPI. And you write handling interrupt every 62.5 ns, and that is very optimistic, given that you actually want to do something, and also that the CPU sometimes needs to handle other tasks.&lt;/p&gt;
&lt;p&gt;Perhaps you can do this in a different way altogether? Can you explain more about what you want to achieve and which approaches you have considered?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>