<?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 56F8346/CodeWarrior8/ProcessorExpert/ - Problem in SPI and I/O pin using GPIO_E in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8346-CodeWarrior8-ProcessorExpert-Problem-in-SPI-and-I-O-pin/m-p/187188#M4585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have great problem with SPI0 in processor 56F8346. In my hardware, i used&amp;nbsp; the SPI0 (I/O's: GPIOE6_MISO0; GPIOE5_MOSI0; GPIOE4_SCLK0 ) it's default configuration of Processor Expert to SPI0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Data pin and Clock Pin are ok! Starter and finished in same time (osciloscope). the problem is that I use pin 116 as a CS (chip Select), I can easily monitor this as a pin I / O, one moment as 3v3 (PutVal(true) function or SetRegBit(GPIO_E_DR, D10)) other moment as 0v0, with the same functions or macros.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when using the following example code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;CS_ETH_PutVal(FALSE);&amp;nbsp; //CS as LOWSPI__SendChar(0x03);&amp;nbsp;&amp;nbsp; //Function fo Processor Expert for write dataCS_ETH_PutVal(TRUE);&amp;nbsp;&amp;nbsp; //End of Write, pin 116 GPIO_E_D10 as High&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;The pin 116 is never 0v0, never LOW. The SPI clock impossible that the I/O is Low and ever High.&lt;BR /&gt;&lt;DIV&gt;And thus form can not enable my Ethernet chip in my hardware. What's problem? Help-me please.&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 09:38:31 GMT</pubDate>
    <dc:creator>howdeterminepwm</dc:creator>
    <dc:date>2020-10-29T09:38:31Z</dc:date>
    <item>
      <title>56F8346/CodeWarrior8/ProcessorExpert/ - Problem in SPI and I/O pin using GPIO_E</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8346-CodeWarrior8-ProcessorExpert-Problem-in-SPI-and-I-O-pin/m-p/187188#M4585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have great problem with SPI0 in processor 56F8346. In my hardware, i used&amp;nbsp; the SPI0 (I/O's: GPIOE6_MISO0; GPIOE5_MOSI0; GPIOE4_SCLK0 ) it's default configuration of Processor Expert to SPI0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Data pin and Clock Pin are ok! Starter and finished in same time (osciloscope). the problem is that I use pin 116 as a CS (chip Select), I can easily monitor this as a pin I / O, one moment as 3v3 (PutVal(true) function or SetRegBit(GPIO_E_DR, D10)) other moment as 0v0, with the same functions or macros.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when using the following example code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;CS_ETH_PutVal(FALSE);&amp;nbsp; //CS as LOWSPI__SendChar(0x03);&amp;nbsp;&amp;nbsp; //Function fo Processor Expert for write dataCS_ETH_PutVal(TRUE);&amp;nbsp;&amp;nbsp; //End of Write, pin 116 GPIO_E_D10 as High&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;The pin 116 is never 0v0, never LOW. The SPI clock impossible that the I/O is Low and ever High.&lt;BR /&gt;&lt;DIV&gt;And thus form can not enable my Ethernet chip in my hardware. What's problem? Help-me please.&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8346-CodeWarrior8-ProcessorExpert-Problem-in-SPI-and-I-O-pin/m-p/187188#M4585</guid>
      <dc:creator>howdeterminepwm</dc:creator>
      <dc:date>2020-10-29T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8346/CodeWarrior8/ProcessorExpert/ - Problem in SPI and I/O pin using GPIO_E</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8346-CodeWarrior8-ProcessorExpert-Problem-in-SPI-and-I-O-pin/m-p/187189#M4586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The better way will be to log it directly in the Technical support system.&lt;BR /&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request. You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please provide us more details about the Tool version used.&lt;BR /&gt;To do that you must:&lt;BR /&gt;* CW:&lt;BR /&gt;Start the IDE and click on Help | About Metrowerks CodeWarrior.&lt;BR /&gt;Click on Installed Products&amp;nbsp;&lt;BR /&gt;Provide us all info displayed.&lt;BR /&gt;Or you can save them in a txt file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 21:39:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8346-CodeWarrior8-ProcessorExpert-Problem-in-SPI-and-I-O-pin/m-p/187189#M4586</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-10-08T21:39:50Z</dc:date>
    </item>
  </channel>
</rss>

