<?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 LPC2468 Hardware Interface question in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2468-Hardware-Interface-question/m-p/547532#M13499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mountainbarn on Thu May 28 13:18:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently trying to solve a HW interface problem for a client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The circuit in question has 4 Dual UART devices (SC16C2550B) mapped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into external memory space (CS1) connected to a LPC2468FBD208 (Rev D). The circuit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use the lowest 3 address lines A0-A2 to select 1 of the 8 registers in the UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The memory space is configured to be 8 bit as can be seen in the screen shot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the registers dump from IAR IDE. The next 3 Address lines drive a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 to 8 decoder enabled by CS1 to select 1 of the 8 UARTS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that even though the test code (see attachment) is executing a single&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LDRB instruction, 2 consecutive reads with the address incrementing, occur at the HW level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is obviously a problem when reading a UART register as this will affect operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The oscilloscope trace shows the read cycle with CS, A0, A1, and Read signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any Idea/Suggestions? Am I understanding the I/F requirements correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:49:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:49:33Z</dc:date>
    <item>
      <title>LPC2468 Hardware Interface question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2468-Hardware-Interface-question/m-p/547532#M13499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mountainbarn on Thu May 28 13:18:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently trying to solve a HW interface problem for a client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The circuit in question has 4 Dual UART devices (SC16C2550B) mapped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into external memory space (CS1) connected to a LPC2468FBD208 (Rev D). The circuit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use the lowest 3 address lines A0-A2 to select 1 of the 8 registers in the UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The memory space is configured to be 8 bit as can be seen in the screen shot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the registers dump from IAR IDE. The next 3 Address lines drive a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 to 8 decoder enabled by CS1 to select 1 of the 8 UARTS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that even though the test code (see attachment) is executing a single&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LDRB instruction, 2 consecutive reads with the address incrementing, occur at the HW level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is obviously a problem when reading a UART register as this will affect operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The oscilloscope trace shows the read cycle with CS, A0, A1, and Read signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any Idea/Suggestions? Am I understanding the I/F requirements correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2468-Hardware-Interface-question/m-p/547532#M13499</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:49:33Z</dc:date>
    </item>
  </channel>
</rss>

