<?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 SPI and MSB in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SPI-and-MSB/m-p/152664#M3748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; currently we are using code warrior 5.9.0 to develop MCU &amp;nbsp;S9S12XET256MAL for our new product. We need to use SPI to communicate with another device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;to test the SPI function on this MCU, I hooked up our own two internal developed boards with exact MCU and everything together. the basic function is that I press one button and the master board transmits one value, which increments with every press, to the slave board and display on its LED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have no problem using LSB for transmission between the master and the slave. However, when I use MSB, it seem that slave is having problem on fifth press of the button on the master. the LED on slave board stuck on 4. I press two more times and the LED displays 0xc0. I have checked the generated code and my write code and I don't see anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated, thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carl &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 14:00:05 GMT</pubDate>
    <dc:creator>lin_karl</dc:creator>
    <dc:date>2012-04-10T14:00:05Z</dc:date>
    <item>
      <title>SPI and MSB</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SPI-and-MSB/m-p/152664#M3748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; currently we are using code warrior 5.9.0 to develop MCU &amp;nbsp;S9S12XET256MAL for our new product. We need to use SPI to communicate with another device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;to test the SPI function on this MCU, I hooked up our own two internal developed boards with exact MCU and everything together. the basic function is that I press one button and the master board transmits one value, which increments with every press, to the slave board and display on its LED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have no problem using LSB for transmission between the master and the slave. However, when I use MSB, it seem that slave is having problem on fifth press of the button on the master. the LED on slave board stuck on 4. I press two more times and the LED displays 0xc0. I have checked the generated code and my write code and I don't see anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated, thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carl &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 14:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/SPI-and-MSB/m-p/152664#M3748</guid>
      <dc:creator>lin_karl</dc:creator>
      <dc:date>2012-04-10T14:00:05Z</dc:date>
    </item>
  </channel>
</rss>

