<?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: MPC8xx HDLC Postambule in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487568#M1415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i set GMSR_H to 0 so &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;GSMR_H[RTSM] =0&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I am not sure but in HDLC mpde i think the GSMR_H[RTSM] and GSMR_L[TEND] are the same, ie. idle mode == GSMR_H[RTSM]&amp;nbsp; &lt;STRONG&gt;or&lt;/STRONG&gt; GSMR_L[TEND].&lt;/P&gt;&lt;P&gt;Because i try to set RTSM and reset TEND or reset RTSM and set TEND =&amp;gt; idle is always encoded, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to set the GSMR_L[TSNC] to . 01 14- or 6.5-bit times as determined by RDCR and all other values, GSMR_L[RDCR] is set 16x but there is not difference error AB still present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This configuration comes from an old project, on this project on the second board the HDLC/FM0 is managed by an FPGA and not by the MPC885.&lt;/P&gt;&lt;P&gt;Message from first board (HDLC managed by MPC885 and ADA driver) to second board, no postambule.&lt;/P&gt;&lt;P&gt;Message from second board (HDLC manage by the FPGA) to first board, a postambule is present and no error AB.&lt;/P&gt;&lt;P&gt;FPGA's team has confirmed to me that a postambule is added but no feedback why ??&amp;nbsp; maybe to fixe this pb ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sebastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2016 21:06:37 GMT</pubDate>
    <dc:creator>sebastienblavie</dc:creator>
    <dc:date>2016-01-18T21:06:37Z</dc:date>
    <item>
      <title>MPC8xx HDLC Postambule</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487566#M1413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to dialog 2 boards&amp;nbsp; through HDLC FM0 =&amp;gt;&amp;nbsp; MPC885 on both side. &lt;/P&gt;&lt;P&gt;(configuration , preambule 8 bits 0xFF, Glitch=OFF, Transparent mode=OFF, CRC=16 bits, TX=16 bytes, RX=32 bytes, X21=OFF, TBRTSM=0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i set the field TEND of GSMR_L to 1,&amp;nbsp; ie. TXD is always encoded, even when idles are sent&amp;nbsp; =&amp;gt;&amp;nbsp;&amp;nbsp; no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i set the field TEND to 0,&amp;nbsp; ie. TXD is encoded only when data is sent ,&lt;STRONG&gt; on Rx board side the MPC885 log the error AB and skip the check of CRC on each received frame.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The datasheet $23.3 says &lt;/P&gt;&lt;P&gt;Note that an SCC in HDLC mode, or any other synchronous mode, must receive a minimum of eight &lt;/P&gt;&lt;P&gt;clocks after the last bit arrives to account for Rx FIFO delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i think when the TEND field is set to 0, 8 clock are automaticly sent&amp;nbsp; but not with TEND set to 0 which is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To&amp;nbsp; send a second closing flag or a postambule ( $23.3 adding 8 clock at the end) , i set the field&amp;nbsp; NOF of the PSMR to&amp;nbsp; 2.&lt;/P&gt;&lt;P&gt;Note NOF : Number of flags. Minimum number of flags between or before frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in this case (NOF ==2)&amp;nbsp; only the opening flagis impact&amp;nbsp; (at least 2 opening flag)&amp;nbsp; never for the closing flag (always 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody can help me to add the 8 clock at the end of closing flag ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 10:51:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487566#M1413</guid>
      <dc:creator>sebastienblavie</dc:creator>
      <dc:date>2016-01-13T10:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8xx HDLC Postambule</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487567#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what "X21=OFF, TBRTSM=0" mean. I guess you set GSMR_H[RTSM] = 0. If so than the manual clearly state that if you set GSMR_L[TEND] = 0 then after HDLC frame closing flag the TX signal is driven high (or by other word idle is not FM0 encoded). &lt;/P&gt;&lt;P&gt;I do not think your problem is related to the 8 clocks required to push out the last frame byte. They mean that the last byte will be just delayed if there is not 8 clocks after. I.e. when the next frame begins it pushes-out the last byte of the previous without any error.&lt;/P&gt;&lt;P&gt;I believe "error AB" means ABort sequence detected (i.e. seven or more consecutive ones are received while receiving a frame) when the channel closes the buffer and sets RxBD[AB]. The receiver then enters hunt mode.&lt;/P&gt;&lt;P&gt;I may suppose that while TX-to-Rx line is high after closing flag the RX DPLL continues to operate and restores it as abort sequence. I recommend to set RTSM or TEND. May be GSMR_L[TSNC] can help - try to decrease the amount of time the internal sense signal stays active after the last transition on the RXDx pin.&lt;/P&gt;&lt;P&gt;&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, 18 Jan 2016 20:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487567#M1414</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2016-01-18T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8xx HDLC Postambule</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487568#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i set GMSR_H to 0 so &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;GSMR_H[RTSM] =0&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I am not sure but in HDLC mpde i think the GSMR_H[RTSM] and GSMR_L[TEND] are the same, ie. idle mode == GSMR_H[RTSM]&amp;nbsp; &lt;STRONG&gt;or&lt;/STRONG&gt; GSMR_L[TEND].&lt;/P&gt;&lt;P&gt;Because i try to set RTSM and reset TEND or reset RTSM and set TEND =&amp;gt; idle is always encoded, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to set the GSMR_L[TSNC] to . 01 14- or 6.5-bit times as determined by RDCR and all other values, GSMR_L[RDCR] is set 16x but there is not difference error AB still present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This configuration comes from an old project, on this project on the second board the HDLC/FM0 is managed by an FPGA and not by the MPC885.&lt;/P&gt;&lt;P&gt;Message from first board (HDLC managed by MPC885 and ADA driver) to second board, no postambule.&lt;/P&gt;&lt;P&gt;Message from second board (HDLC manage by the FPGA) to first board, a postambule is present and no error AB.&lt;/P&gt;&lt;P&gt;FPGA's team has confirmed to me that a postambule is added but no feedback why ??&amp;nbsp; maybe to fixe this pb ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sebastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 21:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487568#M1415</guid>
      <dc:creator>sebastienblavie</dc:creator>
      <dc:date>2016-01-18T21:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8xx HDLC Postambule</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487569#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DPLL is not documented in details so I wrote try to use TSNC if it can help. Yes I recommended to set RTSM or TEND because any of these settings will keep FM0 alive on the line. I think it reasonable to keep valid FM0 signal on line while receiver continue to expect FM0 signal otherwise it may get invalid values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 10:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8xx-HDLC-Postambule/m-p/487569#M1416</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2016-01-19T10:04:31Z</dc:date>
    </item>
  </channel>
</rss>

