<?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中的主题 LPC804 / ARM M0+ endianness</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574263#M51096</link>
    <description>&lt;P&gt;Looking at the ARM docs it appears ARM M0+ &lt;I&gt;could be implemented&lt;/I&gt;&amp;nbsp;as either big endian or little endian. Which endianness for a particular implementation is left as an exercise for the silicone vendor.&lt;/P&gt;&lt;P&gt;I've searched high and low and cannot find a definitive answer on the endianness of NXP LPC MCUs.&lt;/P&gt;&lt;P&gt;I suspect the answer is little endian but I would like to see in a data book / user manual a definitive answer to the question, is the LPC804 a little endian or big endian format?&lt;/P&gt;&lt;P&gt;If I examine the LPC804 flash is the memory stored little or big endian?&lt;/P&gt;&lt;P&gt;And where do I find the explicit answer for the LPC804?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 19:34:39 GMT</pubDate>
    <dc:creator>bhuntingCP</dc:creator>
    <dc:date>2022-12-23T19:34:39Z</dc:date>
    <item>
      <title>LPC804 / ARM M0+ endianness</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574263#M51096</link>
      <description>&lt;P&gt;Looking at the ARM docs it appears ARM M0+ &lt;I&gt;could be implemented&lt;/I&gt;&amp;nbsp;as either big endian or little endian. Which endianness for a particular implementation is left as an exercise for the silicone vendor.&lt;/P&gt;&lt;P&gt;I've searched high and low and cannot find a definitive answer on the endianness of NXP LPC MCUs.&lt;/P&gt;&lt;P&gt;I suspect the answer is little endian but I would like to see in a data book / user manual a definitive answer to the question, is the LPC804 a little endian or big endian format?&lt;/P&gt;&lt;P&gt;If I examine the LPC804 flash is the memory stored little or big endian?&lt;/P&gt;&lt;P&gt;And where do I find the explicit answer for the LPC804?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 19:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574263#M51096</guid>
      <dc:creator>bhuntingCP</dc:creator>
      <dc:date>2022-12-23T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 / ARM M0+ endianness</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574360#M51097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the cortex-M0 core, Instruction memory and Private Peripheral Bus (PPB) accesses are always little-endian.&lt;/P&gt;
&lt;P&gt;For the data memory, it is dependent on the implementation, but the AIRCR[ENDIANESS] Read-Only bit defines the endian format. For the LPC8xx, the bit is zero, so the data memory is little-endian.&lt;/P&gt;
&lt;P&gt;In conclusion, the LPC804 uses&amp;nbsp;little-endian format for both instruction and data memory.&lt;/P&gt;
&lt;P&gt;I attach the UG of cortex-M0&lt;/P&gt;
&lt;P&gt;2.1.5 Data types&lt;BR /&gt;The processor:&lt;BR /&gt;• supports the following data types:&lt;BR /&gt;— 32-bit words&lt;BR /&gt;— 16-bit halfwords&lt;BR /&gt;— 8-bit bytes&lt;BR /&gt;• manages all data memory accesses as either little-endian or big-endian,depending on the device implementation. Instruction memory and Private&lt;BR /&gt;Peripheral Bus (PPB) accesses are always little-endian. See Memory regions,&lt;BR /&gt;types and attributes on page 2-13 for more information.&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, 26 Dec 2022 02:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574360#M51097</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-26T02:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 / ARM M0+ endianness</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574937#M51113</link>
      <description>&lt;P&gt;Thank you, this fully answered my question. I did not see the answer in the LPC804 datasheet or manual.&amp;nbsp; Thank you for this answer and additional user guide.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 14:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-ARM-M0-endianness/m-p/1574937#M51113</guid>
      <dc:creator>bhuntingCP</dc:creator>
      <dc:date>2022-12-27T14:06:02Z</dc:date>
    </item>
  </channel>
</rss>

