<?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>S12 / MagniV MicrocontrollersのトピックRe: MC56F8037 Endian Architecture</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236281#M9487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! Thanks for all the help. &lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 20:14:19 GMT</pubDate>
    <dc:creator>jeffersonjackso</dc:creator>
    <dc:date>2013-04-25T20:14:19Z</dc:date>
    <item>
      <title>MC56F8037 Endian Architecture</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236278#M9484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone, &lt;/P&gt;&lt;P&gt;I am working on an application where I need to send data (floats) to another processor. I am using the MC56F8037EVM as my processor and I have been looking for how a float is stored as binary. Currently I am using a union to break my float into a char array in order to send asynchronously. I can not find the "endianness" of my processor in the data sheet or the users manual. Has anybody come across this information or have a hints as to where to look? Thanks a bunch, &lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The union I am using. My plan is to iterate over the char array and send one byte at a time, I just want to make sure that when it is reconstructed on the receiver side all is good and well. The receiver platform is AVR. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;union {&lt;/P&gt;&lt;P&gt;&amp;nbsp; float val;&lt;/P&gt;&lt;P&gt;&amp;nbsp; char byteVal[4];&lt;/P&gt;&lt;P&gt;} var;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 04:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236278#M9484</guid>
      <dc:creator>jeffersonjackso</dc:creator>
      <dc:date>2013-03-22T04:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8037 Endian Architecture</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236279#M9485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IEEE single precision floating point standard representation requires a 32 bit word, which may be represented as numbered from 0 to 31, left to right. The first bit is the sign bit, S, the next eight bits are the exponent bits, 'E', and the final 23 bits are the fraction 'F': &lt;BR /&gt;&amp;nbsp; S EEEEEEEE FFFFFFFFFFFFFFFFFFFFFFF&lt;BR /&gt;&amp;nbsp; 0 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31&lt;BR /&gt;The value V represented by the word may be determined as follows: &lt;BR /&gt;If E=255 and F is nonzero, then V=NaN ("Not a number") &lt;BR /&gt;If E=255 and F is zero and S is 1, then V=-Infinity &lt;BR /&gt;If E=255 and F is zero and S is 0, then V=Infinity &lt;BR /&gt;If 0&amp;lt;E&amp;lt;255 then V=(-1)**S * 2 ** (E-127) * (1.F) where "1.F" is intended to represent the binary number created by prefixing F with an implicit leading 1 and a binary point. &lt;BR /&gt;If E=0 and F is nonzero, then V=(-1)**S * 2 ** (-126) * (0.F) These are "unnormalized" values. &lt;BR /&gt;If E=0 and F is zero and S is 1, then V=-0 &lt;BR /&gt;If E=0 and F is zero and S is 0, then V=0 &lt;/P&gt;&lt;P&gt;I think you can also find more descriptions on web by searing “IEEE 754” with Google. For example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://754r.ucbtest.org/standards/754xml.html"&gt;http://754r.ucbtest.org/standards/754xml.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236279#M9485</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2013-04-17T09:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8037 Endian Architecture</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236280#M9486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jefferson!&lt;/P&gt;&lt;P&gt;Was this insight helpful?&lt;/P&gt;&lt;P&gt;Keep us posted! :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Monica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 21:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236280#M9486</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-04-24T21:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F8037 Endian Architecture</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236281#M9487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! Thanks for all the help. &lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 20:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC56F8037-Endian-Architecture/m-p/236281#M9487</guid>
      <dc:creator>jeffersonjackso</dc:creator>
      <dc:date>2013-04-25T20:14:19Z</dc:date>
    </item>
  </channel>
</rss>

