<?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 configure GPIO as data and address bus</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119478/how-to-configure-gpio-as-data-and-address-bus</link><description>My nRF52840 DK needs to interface with a convential device using the data bus and address bus. The following diagram (P.27) from the nRF52840 PDK user guide.shows the data/address bus assignments. 
 How do I configure the GPIO assigned to the data lines</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Mar 2025 07:38:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119478/how-to-configure-gpio-as-data-and-address-bus" /><item><title>RE: How to configure GPIO as data and address bus</title><link>https://devzone.nordicsemi.com/thread/526098?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2025 07:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13d9d4c-7501-49bd-837e-7994bda62c82</guid><dc:creator>vn2000</dc:creator><description>&lt;p&gt;Ok I will go with bit banging. Not very efficient but that&amp;#39;s the only way to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure GPIO as data and address bus</title><link>https://devzone.nordicsemi.com/thread/525912?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 09:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:437116e9-7eca-40cb-b8cd-c7c087cee63c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;There is no hardware support for parallel interfaces in HW, but I assume bit banging should be possible. Although it won&amp;#39;t be&amp;nbsp;efficient. You will need to configure the GPIOs as outputs when sending data and reconfigure them as inputs when receiving data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure GPIO as data and address bus</title><link>https://devzone.nordicsemi.com/thread/525804?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 17:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a80ec59-c055-4920-9c6c-db042a54120b</guid><dc:creator>vn2000</dc:creator><description>&lt;p&gt;The device is an DAC with parallel 12-bit data bus and some address lines. Not I2C, not SPI, not UART. It is just a conventional device with data and address lines as used in the early days of the microprocessor.. It also needs a RD and WR signal, but I can work it out.&lt;/p&gt;
&lt;p&gt;So the question is can we use the nRF52840 DK to interface with a parallel data device.Here is another device using parallel data bus: S29GL512 Flash Memory&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/S29GL512_5F00_top.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure GPIO as data and address bus</title><link>https://devzone.nordicsemi.com/thread/525727?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 13:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d52c628e-fd3d-4b4e-a796-3511ae1952d0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What kind of bus does the device support, SPI, UART, i2c, or something else?&amp;nbsp;The&amp;nbsp;GPIOs are not bidirectional.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please also note that the nRF52840 PDK (preview-DK) is no longer supported. This board has an early engineering version of the nRF52840 chip which&amp;nbsp;has several hardware limitations and erratas that may prevent your code from running properly.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>