<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GPIO write immediate read delay needed? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560151#M15741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Mar 19 12:58:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With my 100MHz LPC1769 it's enough to delay 2 NOPs before reading back correct FIOPIN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NOP = 1 cycle instruction, so that's 20ns overall.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp; *p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;
0x00000344 &amp;lt;main+68&amp;gt;:&amp;nbsp; mov&amp;nbsp;&amp;nbsp; r7, r5
0x0000034a &amp;lt;main+74&amp;gt;:&amp;nbsp; mov&amp;nbsp;&amp;nbsp; r5, sp
0x0000034c &amp;lt;main+76&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r3, [r7, #20]
0x0000034e &amp;lt;main+78&amp;gt;:&amp;nbsp; str&amp;nbsp;&amp;nbsp; r3, [r5, #0]
[COLOR=red]LPC_GPIO0-&amp;gt;FIOSET = (1&amp;lt;&amp;lt;0);[/COLOR]
0x00000346 &amp;lt;main+70&amp;gt;:&amp;nbsp; mov.w r8, #1
0x00000350 &amp;lt;main+80&amp;gt;:&amp;nbsp; str.w r8, [r7, #24]
[COLOR=blue]__ASM("nop");[/COLOR]
0x00000354 &amp;lt;main+84&amp;gt;:&amp;nbsp; nop&amp;nbsp;&amp;nbsp; 
[COLOR=blue]__ASM("nop");[/COLOR]
0x00000356 &amp;lt;main+86&amp;gt;:&amp;nbsp; nop&amp;nbsp;&amp;nbsp; 
[COLOR=red]*p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;[/COLOR]
0x00000358 &amp;lt;main+88&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r3, [r7, #20]
0x0000035e &amp;lt;main+94&amp;gt;:&amp;nbsp; str&amp;nbsp;&amp;nbsp; r3, [r5, #4]
&amp;nbsp; *p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;
0x00000360 &amp;lt;main+96&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r2, [r7, #20]
0x00000366 &amp;lt;main+102&amp;gt;: str&amp;nbsp;&amp;nbsp; r2, [r5, #8]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:12:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:12:43Z</dc:date>
    <item>
      <title>GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560143#M15733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Thu Mar 17 21:28:03 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT][SIZE=2][COLOR=black]I used the following code and the read returned a 0.[/COLOR][/SIZE] [SIZE=2][COLOR=black]LPCXpresso1769[/COLOR] @ 120 MHZ.[/SIZE][/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT][SIZE=2][COLOR=black]Is a delay needed after setting a bit and then reading it or should I be using a different method to accomplish this?[/COLOR][/SIZE][/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
[LEFT]LPC_GPIO0-&amp;gt;FIOSET = (1 &amp;lt;&amp;lt; 22);
MESSAGE("GPIOPIN: %08X\n", LPC_GPIO0-&amp;gt;FIOPIN &amp;amp; (1 &amp;lt;&amp;lt; 22));[/LEFT]
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT]This worked.[/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
[LEFT]LPC_GPIO0-&amp;gt;FIOSET = (1 &amp;lt;&amp;lt; 22);
for (i=0;i&amp;lt;1;i++);
MESSAGE("GPIOPIN: %08X\n", LPC_GPIO0-&amp;gt;FIOPIN &amp;amp; (1 &amp;lt;&amp;lt; 22));[/LEFT]
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560143#M15733</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560144#M15734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Fri Mar 18 09:48:13 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me how many cycles are needed after the write for the LPC_GPIO0-&amp;gt;FIOPIN register is performed before a read of that register will show the bit change?&amp;nbsp; Is this documented somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first example returns 0x00000000 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second returns 0x00400000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2][COLOR=#0000c0][SIZE=2][COLOR=#0000c0][/COLOR][/SIZE][/COLOR][/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560144#M15734</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560145#M15735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rmteo on Fri Mar 18 10:01:31 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I came across this on page 138 of the LPC17xx UM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;[U][B]6.2&amp;nbsp;&amp;nbsp; Writing to FIOSET/FIOCLR vs. FIOPIN[/B][/U]&lt;BR /&gt;&lt;BR /&gt;Writing to the FIOSET/FIOCLR registers allow a program to easily change a port’s output pin(s) to both high and low levels at the same time. When FIOSET or FIOCLR are used, only pin/bit(s) written with 1 will be changed, while those written as 0 will remain unaffected.&lt;BR /&gt;&lt;BR /&gt;Writing to the FIOPIN register enables [I][B]instantaneous output[/B][/I] of a desired value on the parallel GPIO. Data written to the FIOPIN register will affect all pins configured as outputs on that port: zeroes in the value will produce low level pin outputs and ones in the value will produce high level pin outputs.&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560145#M15735</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560146#M15736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Fri Mar 18 10:05:34 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks rmteo.&amp;nbsp; I will try FIOPIN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560146#M15736</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560147#M15737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Fri Mar 18 10:17:52 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same result as before so there must be a setup time required before the register can be read.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Replacing the for loop with[SIZE=2]&amp;nbsp; __asm volatile("nop"); returns 0X00000000 as well.[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560147#M15737</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560148#M15738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Fri Mar 18 14:44:52 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a new semihosting project and copied the source files there and it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had optimization = -O3 (most) in the previous project.&amp;nbsp; The code only works with optimization = -O0 (none).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560148#M15738</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560149#M15739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ajay on Sat Mar 19 10:40:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Larry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have a need to measure the rise time of the GPIO pin of the micro?&amp;nbsp; What worked, changing the optimization level but keeping the NOP instruction?&amp;nbsp; Also, did you have a need to optimize for code size to stay within the 128K limit of the debugger?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ajay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560149#M15739</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560150#M15740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Sat Mar 19 11:29:21 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Ajay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately my scope died and is in for repair so I haven't scoped the pins yet.&amp;nbsp; I don't think there is a problem at the pins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the disassembly of the code produced with optimizations other than -O0 and it showed a STR immediately followed by a LDR.&amp;nbsp; The read appears to occur before the data has propagated to the register.&amp;nbsp; A small delay longer than a NOP (two instructions, not NOPs, worked) seem to allow enough time for data to propagate to the register and for the read to succeed with correct data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this an illusion maybe caused by the debugger?&amp;nbsp; I don't think so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still investigating this and will scope the pins as soon as I can get my hands on a scope.&amp;nbsp; Triggering on an instruction may be difficult.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest a low cost logic analyzer?&amp;nbsp; One with 16 data lines and a reasonable sampling rate would be nice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560150#M15740</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560151#M15741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Mar 19 12:58:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With my 100MHz LPC1769 it's enough to delay 2 NOPs before reading back correct FIOPIN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NOP = 1 cycle instruction, so that's 20ns overall.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp; *p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;
0x00000344 &amp;lt;main+68&amp;gt;:&amp;nbsp; mov&amp;nbsp;&amp;nbsp; r7, r5
0x0000034a &amp;lt;main+74&amp;gt;:&amp;nbsp; mov&amp;nbsp;&amp;nbsp; r5, sp
0x0000034c &amp;lt;main+76&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r3, [r7, #20]
0x0000034e &amp;lt;main+78&amp;gt;:&amp;nbsp; str&amp;nbsp;&amp;nbsp; r3, [r5, #0]
[COLOR=red]LPC_GPIO0-&amp;gt;FIOSET = (1&amp;lt;&amp;lt;0);[/COLOR]
0x00000346 &amp;lt;main+70&amp;gt;:&amp;nbsp; mov.w r8, #1
0x00000350 &amp;lt;main+80&amp;gt;:&amp;nbsp; str.w r8, [r7, #24]
[COLOR=blue]__ASM("nop");[/COLOR]
0x00000354 &amp;lt;main+84&amp;gt;:&amp;nbsp; nop&amp;nbsp;&amp;nbsp; 
[COLOR=blue]__ASM("nop");[/COLOR]
0x00000356 &amp;lt;main+86&amp;gt;:&amp;nbsp; nop&amp;nbsp;&amp;nbsp; 
[COLOR=red]*p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;[/COLOR]
0x00000358 &amp;lt;main+88&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r3, [r7, #20]
0x0000035e &amp;lt;main+94&amp;gt;:&amp;nbsp; str&amp;nbsp;&amp;nbsp; r3, [r5, #4]
&amp;nbsp; *p_array++ = LPC_GPIO0-&amp;gt;FIOPIN;
0x00000360 &amp;lt;main+96&amp;gt;:&amp;nbsp; ldr&amp;nbsp;&amp;nbsp; r2, [r7, #20]
0x00000366 &amp;lt;main+102&amp;gt;: str&amp;nbsp;&amp;nbsp; r2, [r5, #8]&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560151#M15741</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO write immediate read delay needed?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560152#M15742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Sat Mar 19 14:19:51 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;With my 100MHz LPC1769 it's enough to delay 2 NOPs before reading back correct FIOPIN.&lt;BR /&gt; &lt;BR /&gt;NOP = 1 cycle instruction, so that's 20ns overall.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had assumed that 2 NOPs would not work as I had read in another post "Note: Don't use a nop behind another nop, this doesn't work. You also get a 10ns delay".:p:)&amp;nbsp;&amp;nbsp; So I never tested 2 NOPs in succession.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works!&amp;nbsp; So the propagation delay is &amp;gt;10ns and &amp;lt;=20ns @ 100-120 MHZ.&amp;nbsp; Good to know!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Danke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:12:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-write-immediate-read-delay-needed/m-p/560152#M15742</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:12:44Z</dc:date>
    </item>
  </channel>
</rss>

