<?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>MQX Software SolutionsのトピックRe: MQX 4 SPI Problem TWR-K60F120M</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267086#M8078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so I got messages sending and receiving by setting PCSIS to 0xC0 (it still wont go to 0) but all I'm getting on the other end is rubbish. Will update if I can solve it but I'd really like to know why I can't set PCSIS to 0, is it something MQX sets up and then can't be changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2013 11:11:47 GMT</pubDate>
    <dc:creator>terencet</dc:creator>
    <dc:date>2013-11-14T11:11:47Z</dc:date>
    <item>
      <title>MQX 4 SPI Problem TWR-K60F120M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267085#M8077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to get SPI working in MQX. &lt;/P&gt;&lt;P&gt;I have already got it working bare metal by just writing to the addresses, and thought that I could just use the same code in MQX.&lt;/P&gt;&lt;P&gt;I have connected up SPI1 and SPI2 using the Prototyping board and am just sending one byte messages one way. When I try to get it to work in MQX I can see that the messages are being sent but nothing is happening on the receiving side. This also happens when I try to use MQX's SPI driver, I get the exact same problem. I've noticed that in both I can't seem to change the PCSIS value in the MCR register it is always 0xFF no matter what I set it to(I can change it in the baremetal version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced any similar problems or know what might be causing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using keil's uVision 5 and the TWR-K60F120M board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 15:44:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267085#M8077</guid>
      <dc:creator>terencet</dc:creator>
      <dc:date>2013-11-08T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4 SPI Problem TWR-K60F120M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267086#M8078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so I got messages sending and receiving by setting PCSIS to 0xC0 (it still wont go to 0) but all I'm getting on the other end is rubbish. Will update if I can solve it but I'd really like to know why I can't set PCSIS to 0, is it something MQX sets up and then can't be changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267086#M8078</guid>
      <dc:creator>terencet</dc:creator>
      <dc:date>2013-11-14T11:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4 SPI Problem TWR-K60F120M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267087#M8079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just noticed that the two bits that are set in 0xC0 are actually reserved bits not part of PCSIS. &lt;/P&gt;&lt;P&gt;Does anyone know why these would be set in MQX?&lt;/P&gt;&lt;P&gt;I just checked and they definitely are clear in the bare metal version and that is the only difference between the two versions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 12:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267087#M8079</guid>
      <dc:creator>terencet</dc:creator>
      <dc:date>2013-11-14T12:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4 SPI Problem TWR-K60F120M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267088#M8080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK For some reason I'm not to sure why I have been able to get SPI communication working.&lt;/P&gt;&lt;P&gt;SPI1 works using the SPI driver but not by writing directly to the registers.&lt;/P&gt;&lt;P&gt;SPI2 works by writing directly to the registers but not by using the SPI driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems absolutely bizarre I'm checking through the MQX source to see if I can find anything but so far it hasn't turned up anything. If anyone can think of a reason why this would be happening I'd love to know but for the mean time I'll just work with what I have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267088#M8080</guid>
      <dc:creator>terencet</dc:creator>
      <dc:date>2013-11-15T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4 SPI Problem TWR-K60F120M</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267089#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I revisited this recently and started again using the same code I was using before and I was able to get both working just by writing to the registers. I have absolutely no idea why it wasn't working I'm pretty sure I'm using the exact same stuff as I was before there are a few small problems now but they don't seem to be related to what ever problem I had.&lt;/P&gt;&lt;P&gt;Most likely I was just being very very stupid and missed something very obvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-SPI-Problem-TWR-K60F120M/m-p/267089#M8081</guid>
      <dc:creator>terencet</dc:creator>
      <dc:date>2013-12-16T09:50:35Z</dc:date>
    </item>
  </channel>
</rss>

