<?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: Rx Error When running two UCCs in Parallel  in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672214#M2091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply for answer 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously I was using the Clock speed of 153.6K and now I reduced the&lt;/P&gt;&lt;P&gt;speed to 19.2K. But still the problem exists. I tried out few cases. Out of&lt;/P&gt;&lt;P&gt;those cases the Rx Drop doesn't happen only when I use read/write buffer&lt;/P&gt;&lt;P&gt;size as 32bytes minimum. If I reduce the buffer size less than 32bytes,&lt;/P&gt;&lt;P&gt;again I see the Rx Drop. Is there any possibility that Buffer size play a&lt;/P&gt;&lt;P&gt;role in the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this, If an UCC is initialized  when other UCC is running&lt;/P&gt;&lt;P&gt;(doing Tx and Rx), at that time also there is Rx drop (only till the UCC&lt;/P&gt;&lt;P&gt;initialization completes). There is no packet drop after that UCC&lt;/P&gt;&lt;P&gt;initialization. Why Rx drop happens during the initialization?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply for Answer 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Tried the configurations whatever you mentioned in the reply. CDP and&lt;/P&gt;&lt;P&gt;CTSP is set to '0' . The CTS and CD pins are configured as GPO pins. But&lt;/P&gt;&lt;P&gt;still the loop back doesn't succeed. Attached the register dumps for you&lt;/P&gt;&lt;P&gt;kind reference. Please let me know if i configured anything wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subash Rajaram&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VVDN Technologies Pvt Ltd&lt;/STRONG&gt; &amp;lt;http://www.vvdntech.com/&amp;gt;&lt;/P&gt;&lt;P&gt;Mobile: +91 8903001376 | Skype: subashjayaraj25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jun 26, 2017 at 12:04 PM, alexander.yakovlev &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2017 14:44:10 GMT</pubDate>
    <dc:creator>subashrajaram</dc:creator>
    <dc:date>2017-06-26T14:44:10Z</dc:date>
    <item>
      <title>Rx Error When running two UCCs in Parallel</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672212#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks&lt;/P&gt;&lt;P&gt;We are using MPC8309 as well as MPC8321 in our project. Here I have two questions&lt;/P&gt;&lt;P&gt;1) When I use two UCCs in the SDLC mode simultaneously then I see One of the UCC has the Rx Packet drops and in other one there is no such a loss.&lt;/P&gt;&lt;P&gt;When I explore on this, there is Rx Interrupts at all. So I Dumped the Buffer descriptors. The length field is not updated. The expected value of the Buffer descriptor in case of no reception is 0x9000 but the value obtained is 0x9c00. So I am considering that F and L bit are set by the RISC but the legth is not updated. What may be the Reason? If I run the Single port alone, then there is no such a Rx loss.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The Control Signals CTS, RTS and CD should be shorted if we use the UCC in Loop-back mode or else those signals should be driven according to the third party device. But the requirement is to run the ports in HDLC mode without shorting the CTS/RTS/CD pins. \&lt;/P&gt;&lt;P&gt;So we tried by configuring those pins as GPIOs with the following values.&lt;BR /&gt;For Example, I am using UCC2 . Following are the pins and their corresponding CPPAR and CPDIR values.&lt;BR /&gt;&lt;STRONG&gt;PINS: PA26, PA28 and PA30&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CPPAR_REGS: 00, 00 and 00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CPDIR_REGS: 11, 11 and 11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But the loopback fails. Are we doing anything wrong?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alexander.yakovlev"&gt;alexander.yakovlev&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 07:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672212#M2089</guid>
      <dc:creator>subashrajaram</dc:creator>
      <dc:date>2017-06-23T07:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Error When running two UCCs in Parallel</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672213#M2090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fro question #1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first what comes to mind is QE performance issue. If each channel works perfect, abut two channels simultaneously do not work and produce random behavior, than it might be internal QE RISC processor performance is not enough to sustain both channels simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try reducing channel speed and check if two channels can run simultaneously, but at two times reduced speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For question #2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTS is output signal, you do not need to take care about this signal. CTS and CD are inputs and should be configured properly, if not used. Please look MPC8321 Reference Manual, Table 3-11. In this table you can see column "Default input", showing "GND" for both SER2_CD and SER2_CTS. This means - if this particular pin is configured to any other function, for example - to GPO,&amp;nbsp; internal UCC input SER2_CD will be connected internally to GND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the above, you should also configure CDP and CTSP bits in UCC mode register to "0" to envelope data. This settings allows leaving CTS and CD permanently asserted.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alexander&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 26 Jun 2017 06:34:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672213#M2090</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2017-06-26T06:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Error When running two UCCs in Parallel</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672214#M2091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply for answer 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously I was using the Clock speed of 153.6K and now I reduced the&lt;/P&gt;&lt;P&gt;speed to 19.2K. But still the problem exists. I tried out few cases. Out of&lt;/P&gt;&lt;P&gt;those cases the Rx Drop doesn't happen only when I use read/write buffer&lt;/P&gt;&lt;P&gt;size as 32bytes minimum. If I reduce the buffer size less than 32bytes,&lt;/P&gt;&lt;P&gt;again I see the Rx Drop. Is there any possibility that Buffer size play a&lt;/P&gt;&lt;P&gt;role in the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this, If an UCC is initialized  when other UCC is running&lt;/P&gt;&lt;P&gt;(doing Tx and Rx), at that time also there is Rx drop (only till the UCC&lt;/P&gt;&lt;P&gt;initialization completes). There is no packet drop after that UCC&lt;/P&gt;&lt;P&gt;initialization. Why Rx drop happens during the initialization?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply for Answer 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Tried the configurations whatever you mentioned in the reply. CDP and&lt;/P&gt;&lt;P&gt;CTSP is set to '0' . The CTS and CD pins are configured as GPO pins. But&lt;/P&gt;&lt;P&gt;still the loop back doesn't succeed. Attached the register dumps for you&lt;/P&gt;&lt;P&gt;kind reference. Please let me know if i configured anything wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subash Rajaram&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VVDN Technologies Pvt Ltd&lt;/STRONG&gt; &amp;lt;http://www.vvdntech.com/&amp;gt;&lt;/P&gt;&lt;P&gt;Mobile: +91 8903001376 | Skype: subashjayaraj25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jun 26, 2017 at 12:04 PM, alexander.yakovlev &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672214#M2091</guid>
      <dc:creator>subashrajaram</dc:creator>
      <dc:date>2017-06-26T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Error When running two UCCs in Parallel</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672215#M2092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply for answer 1:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Previously I was using the Clock speed of 153.6K and now I reduced the speed to 19.2K. But still the problem exists. I tried out few cases. Out of those cases the Rx Drop doesn't happen only when I use read/write buffer size as 32bytes minimum. If I reduce the buffer size less than 32bytes, again I see the Rx Drop. Is there any possibility that Buffer size play a role in the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this, If an UCC is initialized &amp;nbsp;when other UCC is running (doing Tx and Rx), at that time also there is Rx drop (only till the UCC initialization completes). There is no packet drop after that UCC initialization. Why Rx drop happens during the initialization?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply for Answer 2:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Yes. Tried the configurations whatever you mentioned in the reply. CDP and CTSP is set to '0' . The CTS and CD pins are configured as GPO pins. But still the loop back doesn't succeed. Attached the register dumps for you kind reference. Please let me know if i configured anything wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UCC2 Fast registers:&lt;BR /&gt;gumr : val=0x01800030&lt;BR /&gt;upsmr : val=0x30000000&lt;BR /&gt;utodr : val=0x0000&lt;BR /&gt;udsr : val=0x7e7e&lt;BR /&gt;ucce : val=0x00000000&lt;BR /&gt;uccm : val=0x009f0000&lt;BR /&gt;uccs : val=0x00&lt;BR /&gt;urfb : val=0x00000200&lt;BR /&gt;urfs : val=0x0100&lt;BR /&gt;urfet : val=0x0080&lt;BR /&gt;urfset: val=0x00c0&lt;BR /&gt;utfb : val=0x00000100&lt;BR /&gt;utfs : val=0x0100&lt;BR /&gt;utfet : val=0x0080&lt;BR /&gt;utftt : val=0x0040&lt;BR /&gt;utpt : val=0x0100&lt;BR /&gt;urtry : val=0x00000000&lt;BR /&gt;guemr : val=0x13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dumping UCC 2 Parameter RAM&lt;BR /&gt;ucc_hdlc : rbase = 0x7017000&lt;BR /&gt;ucc_hdlc : rbptr = 0x0&lt;BR /&gt;ucc_hdlc : mrblr = 0x800&lt;BR /&gt;ucc_hdlc : rbdlen = 0x0&lt;BR /&gt;ucc_hdlc : rbdstat = 0x0&lt;BR /&gt;ucc_hdlc : rstate = 0x30000000&lt;BR /&gt;ucc_hdlc : rdptr = 0x0&lt;BR /&gt;ucc_hdlc : riptr = 0x320&lt;BR /&gt;ucc_hdlc : tbase = 0x36c3000&lt;BR /&gt;ucc_hdlc : tbptr = 0x36c3018&lt;BR /&gt;ucc_hdlc : tbdlen = 0x20&lt;BR /&gt;ucc_hdlc : tbdstat = 0x9c00&lt;BR /&gt;ucc_hdlc : tstate = 0x3004001f&lt;BR /&gt;ucc_hdlc : tdptr = 0x6211800&lt;BR /&gt;ucc_hdlc : tiptr = 0x380&lt;BR /&gt;ucc_hdlc : rcrc = 0x0&lt;BR /&gt;ucc_hdlc : tcrc = 0x0&lt;BR /&gt;ucc_hdlc : c_mask = 0xf0b8&lt;BR /&gt;ucc_hdlc : c_pers = 0xffff&lt;BR /&gt;ucc_hdlc : disfc = 0x0&lt;BR /&gt;ucc_hdlc : crcec = 0x0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump tx BDs&lt;BR /&gt;0xc36c3000: 1c000020 06210000 1c000020 06210800&lt;BR /&gt;0xc36c3010: 1c000020 06211000 9c000020 06211800&lt;BR /&gt;0xc36c3020: 14000000 06212000 14000000 06212800&lt;BR /&gt;0xc36c3030: 14000000 06213000 14000000 06213800&lt;BR /&gt;0xc36c3040: 14000000 06214000 14000000 06214800&lt;BR /&gt;0xc36c3050: 14000000 06215000 14000000 06215800&lt;BR /&gt;0xc36c3060: 14000000 06216000 14000000 06216800&lt;BR /&gt;0xc36c3070: 14000000 06217000 34000000 06217800&lt;/P&gt;&lt;P&gt;Dump rx BDs&lt;BR /&gt;0xc7017000: 90000000 06200000 90000000 06200800&lt;BR /&gt;0xc7017010: 90000000 06201000 90000000 06201800&lt;BR /&gt;0xc7017020: 90000000 06202000 90000000 06202800&lt;BR /&gt;0xc7017030: 90000000 06203000 90000000 06203800&lt;BR /&gt;0xc7017040: 90000000 06204000 90000000 06204800&lt;BR /&gt;0xc7017050: 90000000 06205000 90000000 06205800&lt;BR /&gt;0xc7017060: 90000000 06206000 90000000 06206800&lt;BR /&gt;0xc7017070: 90000000 06207000 90000000 06207800&lt;BR /&gt;0xc7017080: 90000000 06208000 90000000 06208800&lt;BR /&gt;**************End of the Log*********&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:48:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Rx-Error-When-running-two-UCCs-in-Parallel/m-p/672215#M2092</guid>
      <dc:creator>subashrajaram</dc:creator>
      <dc:date>2017-06-26T14:48:04Z</dc:date>
    </item>
  </channel>
</rss>

