<?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>S12 / MagniV MicrocontrollersのトピックRe: S12ZVC  CAN  PHY</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-160-CAN-160-PHY/m-p/624259#M13370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi xiaohui,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to your description, it rather looks like some hardware issue or problem with CAN timing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you really want to communicate at 100kbit/s? The standard is 125kbit/s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The generated PE code configure bit rate with a big error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW: I would like to recommend use external oscillator as the clock source for MSCAN module instead of bus clock (your case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I select 4MHz external oscillator as the clock source, the PE do not offer me any configuration for 100kbit/s bitrate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The CAN PHY slew rate influences propagation delay and this way also ideal CAN bitrate configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For such low bitrates, I would like to recommend for example CAN Physical Layer slew rate 6 (CPCR_SLR2-0 = 0b110).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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>Wed, 30 Nov 2016 18:36:31 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2016-11-30T18:36:31Z</dc:date>
    <item>
      <title>S12ZVC  CAN  PHY</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-160-CAN-160-PHY/m-p/624258#M13369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Iam now &amp;nbsp;using S12ZVC .My problem is when Busoff occured . CANerror interrupt could &amp;nbsp;happen .but somtimes when I deal the the&amp;nbsp;&lt;SPAN&gt; CANerror interrupt .It will enter&amp;nbsp;CANerror interrupt again .The following codes is all right&amp;nbsp;&amp;nbsp;in Demo&amp;nbsp; board and in 10 percents of &amp;nbsp;my boards .But 90 percents of &amp;nbsp;my boards &amp;nbsp;will enter&amp;nbsp;CANerror interrupt again and again when busoff happened(use the following codes). &amp;nbsp;I could not sove the problem&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any &amp;nbsp;points to taken when deal MSCAN with the CAN PTY ,I just &amp;nbsp;use&amp;nbsp; CP0CR_CPE = 1;CP0CR_SPE = 1;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other Registers about CAN PTY need &amp;nbsp;care.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338762"&gt;S12ZVC_Bus_off.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 08:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-160-CAN-160-PHY/m-p/624258#M13369</guid>
      <dc:creator>xiaohui200808</dc:creator>
      <dc:date>2016-11-25T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC  CAN  PHY</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-160-CAN-160-PHY/m-p/624259#M13370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi xiaohui,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to your description, it rather looks like some hardware issue or problem with CAN timing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you really want to communicate at 100kbit/s? The standard is 125kbit/s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The generated PE code configure bit rate with a big error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW: I would like to recommend use external oscillator as the clock source for MSCAN module instead of bus clock (your case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I select 4MHz external oscillator as the clock source, the PE do not offer me any configuration for 100kbit/s bitrate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The CAN PHY slew rate influences propagation delay and this way also ideal CAN bitrate configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For such low bitrates, I would like to recommend for example CAN Physical Layer slew rate 6 (CPCR_SLR2-0 = 0b110).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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>Wed, 30 Nov 2016 18:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-160-CAN-160-PHY/m-p/624259#M13370</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-11-30T18:36:31Z</dc:date>
    </item>
  </channel>
</rss>

