<?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 Re: SPI Not Working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956398#M142872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if ecspi2 clocks are enabled in CCM_CCGR1 register.&lt;/P&gt;&lt;P&gt;Also recheck pin muxing for pads CSI_DATA00, UART4_TX_DATA, which&lt;/P&gt;&lt;P&gt;could provide ecspi2 clock. Reconfigure them as gpio and try to toggle, check&lt;/P&gt;&lt;P&gt;if ecspi2 traces and not shorted with other signals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2019 05:58:13 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-09-24T05:58:13Z</dc:date>
    <item>
      <title>SPI Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956397#M142871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have designed a modified version of the i.MX6G2 processor board.&amp;nbsp; We are using the SPI interface to communicate with an MRAM chip (Everspin MR25H40VDF(R)).&amp;nbsp; We have successfully communicated with this MRAM chip in the past using a TI MSP430, so we know our interface code works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to use the SPI Polling example code in the SDK to talk to the MRAM, but we are not having success.&amp;nbsp; We are pointing to the proper instance of SPI (ECSPI2).&amp;nbsp; The IOMUX settings appear to be correct for ECSPI2 for the five signals (SCLK, MOSI, MISO, CS1, and CS2).&amp;nbsp; We have probed the various SPI signals.&amp;nbsp; CS# gets pulled low properly.&amp;nbsp; Data gets sent-out MOSI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there is no clock signal sent out of the MCU.&amp;nbsp; We have checked our schematic, and the clock appears to be connected properly.&amp;nbsp; We are using the original version of the BOARD_BootClockRUN() function from the SPI Polling example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something about the stock code for the SPI Polling example in the SDK that needs to be modified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the versions of the hardware and software that we are using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Processor Kit:&amp;nbsp;&amp;nbsp; MCIMX6UL-EVKB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Base Board:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCIMX6UL-BB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Processor Board: MCIMX6UL-CM&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Processor:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCIMX6G2CVM05AA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;IDE: IAR Embedded Workbench Arm 8.32.4&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Debug Probe: IAR I-jet&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCUXpresso Software Development Kit (SDK) Release Version: 2.2.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis Jelcic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 19:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956397#M142871</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-09-23T19:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956398#M142872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if ecspi2 clocks are enabled in CCM_CCGR1 register.&lt;/P&gt;&lt;P&gt;Also recheck pin muxing for pads CSI_DATA00, UART4_TX_DATA, which&lt;/P&gt;&lt;P&gt;could provide ecspi2 clock. Reconfigure them as gpio and try to toggle, check&lt;/P&gt;&lt;P&gt;if ecspi2 traces and not shorted with other signals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 05:58:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956398#M142872</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-09-24T05:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956399#M142873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;We did figure-out the problem.&amp;nbsp; Your suggestion to check the pin muxing was a good one.&amp;nbsp; We were not providing enough drive strength on the pins.&amp;nbsp; Once we adjusted this, the clock signal appeared and behaved as expected.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Thanks you very much for your help.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Not-Working/m-p/956399#M142873</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-11-01T14:53:43Z</dc:date>
    </item>
  </channel>
</rss>

