<?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>LPC MicrocontrollersのトピックRe: LPC1823JET100 EMC Configuration</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283385#M45179</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV id="tinyMceEditorxiangjun_rong_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Dear Jim Smith,&lt;BR /&gt;From your description, I see that you want to use 16 bits data width SRAM to EMC, but you would like to access the 16 bits data width SRAM with EMC low 8 bits data bus(EMC_D0~7), you use the P1_0~2 as EMC_A5~A7, I have checked the UM10430.pdf, it appears that EMC_A5~A7 can only route to P1_0~2 as the following Fig.&lt;BR /&gt;I think the solution is okay.&lt;BR /&gt;This is the connection:&lt;BR /&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;P1_7 to P1_14 for EMC_D0 to EMC_D7&lt;BR /&gt;P2_9 to P2_13 for EMC_A0 to EMC_A4&lt;BR /&gt;P1_0 to P1_2 for EMC_A5 to EMC_A7; //setting mode=2, the p[in will function as EMC_A5~A7 &lt;BR /&gt;connect the EMC_OE, EMC_WR, EMC_CSx to the SRAM.&lt;BR /&gt;Because you use EMC_D0~7 to SRAM_D0~16, so you have to use EMC_A0 and inverter of EMC_A0 to /LB and /UB of SRAM.&lt;BR /&gt;I attach the TWR-MEM, pls refer to &lt;/SPAN&gt;MR2A16ACYS35 par circuit.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1622109436196.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145686i3752F93D8EFD7D7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1622109436196.png" alt="xiangjun_rong_1-1622109436196.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_2-1622109770369.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145687i0223E881FEC8B0BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_2-1622109770369.png" alt="xiangjun_rong_2-1622109770369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If I misunderstand you&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;, I am sorry in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 10:03:08 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2021-05-27T10:03:08Z</dc:date>
    <item>
      <title>LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283262#M45177</link>
      <description>&lt;P&gt;I am struggling to understand how to configure the EMC on a LPC1823JET100.&amp;nbsp; I want to use 16-bit data RAM and interface using the byte-lane-select feature ie. 1 data-byte, 1 address-byte, EMC_BLS0 and the other control signals.&lt;/P&gt;&lt;P&gt;Table 343 from the user guide indicates this should be possible:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_2-1622103354482.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145656i5B9FCEA1A6132F12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_2-1622103354482.png" alt="jpsmith92_2-1622103354482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Table 170 in the user guide implies I can use P1_4 or P1_6 for EMC_BLS0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_3-1622103443662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145657i5CED1E3DDC50C647/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_3-1622103443662.png" alt="jpsmith92_3-1622103443662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I plan to use P1_7 to P1_14 for EMC_D0 to EMC_D7, P2_9 to P2_13 for EMC_A0 to EMC_A4, and P1_0 to P1_2 for EMC_A5 to EMC_A7.&amp;nbsp; However, table 172 in the user guide implies that setting the mode bits to 3 will set P1_0 to P1_2 to the wrong function, such that I lose EMC_A5 to EMC_A7.&amp;nbsp; I can't find these EMC functions on any other pin for the&amp;nbsp;LPC1823JET100.&amp;nbsp; Is it possible to actively multiplex the function of the P1 bank whilst utilising the EMC interface?&amp;nbsp; Is it actually possible to use implement a 8-bit address, 16-bit data using the&amp;nbsp;LPC1823JET100?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_0-1622103140482.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145654iF2A69457D77B54D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_0-1622103140482.png" alt="jpsmith92_0-1622103140482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_1-1622103180067.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145655iF6C427CD87946E1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_1-1622103180067.png" alt="jpsmith92_1-1622103180067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283262#M45177</guid>
      <dc:creator>jpsmith92</dc:creator>
      <dc:date>2021-05-27T08:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283385#M45179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV id="tinyMceEditorxiangjun_rong_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Dear Jim Smith,&lt;BR /&gt;From your description, I see that you want to use 16 bits data width SRAM to EMC, but you would like to access the 16 bits data width SRAM with EMC low 8 bits data bus(EMC_D0~7), you use the P1_0~2 as EMC_A5~A7, I have checked the UM10430.pdf, it appears that EMC_A5~A7 can only route to P1_0~2 as the following Fig.&lt;BR /&gt;I think the solution is okay.&lt;BR /&gt;This is the connection:&lt;BR /&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;P1_7 to P1_14 for EMC_D0 to EMC_D7&lt;BR /&gt;P2_9 to P2_13 for EMC_A0 to EMC_A4&lt;BR /&gt;P1_0 to P1_2 for EMC_A5 to EMC_A7; //setting mode=2, the p[in will function as EMC_A5~A7 &lt;BR /&gt;connect the EMC_OE, EMC_WR, EMC_CSx to the SRAM.&lt;BR /&gt;Because you use EMC_D0~7 to SRAM_D0~16, so you have to use EMC_A0 and inverter of EMC_A0 to /LB and /UB of SRAM.&lt;BR /&gt;I attach the TWR-MEM, pls refer to &lt;/SPAN&gt;MR2A16ACYS35 par circuit.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1622109436196.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145686i3752F93D8EFD7D7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1622109436196.png" alt="xiangjun_rong_1-1622109436196.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_2-1622109770369.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145687i0223E881FEC8B0BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_2-1622109770369.png" alt="xiangjun_rong_2-1622109770369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If I misunderstand you&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;, I am sorry in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:03:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283385#M45179</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-05-27T10:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283393#M45181</link>
      <description>&lt;P&gt;Hi xiangjun_rong.&amp;nbsp; Thanks for your response.&amp;nbsp; You're correct about how I intend to connect the address and data, and in the solution you've presented EMC_A0 replaces the function I thought EMC_BLS0 would carry.&lt;/P&gt;&lt;P&gt;I'm still a little confused about the MODE bits.&amp;nbsp; Can these be set separately for each pin in the P1 group?&amp;nbsp; My understanding is that the MODE bits are set for the group, which creates a conflict between EMC_A5~7 and the other EMC signals.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283393#M45181</guid>
      <dc:creator>jpsmith92</dc:creator>
      <dc:date>2021-05-27T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283542#M45182</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The mode bits can be set separately for each pin rather than the group.&lt;/P&gt;
&lt;P&gt;For example,&lt;BR /&gt;SFSP2_9 register is Pin configuration register for only pin P2_9.&lt;/P&gt;
&lt;P&gt;SFSP2_10 is Pin configuration register for only pin P2_10. &lt;/P&gt;
&lt;P&gt;Regarding the question&amp;nbsp; if you use EMC_BLSx or inverter of EMC_A0 to select the data bus, pls check yourself, especially when you access half word address(16 bits data), determine yourself.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1622125320316.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145707iEA1B7190F125E7D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1622125320316.png" alt="xiangjun_rong_0-1622125320316.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1283542#M45182</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-05-27T14:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1284122#M45212</link>
      <description>&lt;P&gt;Thanks again for your help XiangJun Rong.&amp;nbsp; I wonder if you could clarify something else for me?&lt;/P&gt;&lt;P&gt;Is it possible to use EMCD0~15 on the LPC1823JET100 instead?&amp;nbsp; Tables 170/172 and 343 from the user guide seem to conflict on this.&amp;nbsp; Am I correct to interpret that 16-bit data would inhibit use of an 8-bit address?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_0-1622199285879.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145779iFEFB01310BBDD0AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_0-1622199285879.png" alt="jpsmith92_0-1622199285879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_1-1622199391784.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145780iFD60C45B51BE2DD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_1-1622199391784.png" alt="jpsmith92_1-1622199391784.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpsmith92_2-1622199441510.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145781i5274C440C3AD3A36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpsmith92_2-1622199441510.png" alt="jpsmith92_2-1622199441510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 10:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1284122#M45212</guid>
      <dc:creator>jpsmith92</dc:creator>
      <dc:date>2021-05-28T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1823JET100 EMC Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1284469#M45227</link>
      <description>&lt;P&gt;Hi, Jim,&lt;/P&gt;
&lt;P&gt;I think you have to follow up the Table 343, in other words, you have to use only 8 bits data bus and 14 bits address bus(the SRAM space is 2**14=16K bytes) for the LPC1823JET100 EMC Configuration because of pin limitation. Although there is EMC_D11 pin for the TFBGA100 package, I suppose you can not get all the high data bus from EMC_D8 to D15, so one pin is useless. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your external SRAM is 16 bits, it is okay if you use only low 8 bits as data bus or use the connection as the memory tower board has done to switch the high and low bytes.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 03:14:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1823JET100-EMC-Configuration/m-p/1284469#M45227</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-05-31T03:14:01Z</dc:date>
    </item>
  </channel>
</rss>

