<?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>S32K中的主题 Re: CAN 250kbps device returns bad</title>
    <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750955#M2089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!, Ana.&lt;/P&gt;&lt;P&gt;Let me try the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 14:36:15 GMT</pubDate>
    <dc:creator>nishantsood</dc:creator>
    <dc:date>2018-03-13T14:36:15Z</dc:date>
    <item>
      <title>CAN 250kbps device returns bad</title>
      <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750951#M2085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have this S32k developer EVB evaluation kit using which I'm trying to talk to a 250Kbps bit rate CAN device on the CAN bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection:&lt;/P&gt;&lt;P&gt;There are only 2 devices on the whole CANbus 1) The s32k EVB and, 2) The other CAN device which Im trying to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm skeptical on 2 things:&lt;/P&gt;&lt;P&gt;1) My bitrate calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.bitrate = { // 80 /( [(1 + (4+1) + (1+1) + (7)] x (1+1)) = 80 / ([15] x 2) = 80/30 = 2.6Mhz&lt;BR /&gt; .propSeg = 126, // Fcanclk /( [(1 + (15+1) + (15+1) + (127)] x (1+1)) = 80/ [( 40+50+70) x 2]] = 80/320 =&amp;nbsp;&lt;BR /&gt; .phaseSeg1 = 15,&lt;BR /&gt; .phaseSeg2 = 15,&lt;BR /&gt; .preDivider = 1,&lt;BR /&gt; .rJumpwidth = 1&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The mailbox addresses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined(MASTER)&lt;BR /&gt; #define TX_MAILBOX (1UL)&lt;BR /&gt; #define TX_MSG_ID (0x01de0800UL)&lt;BR /&gt; #define RX_MAILBOX (2UL)&lt;BR /&gt; #define RX_MSG_ID (0x01df0900UL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm reading, but I'm not getting the correct replys. As I have tested it before with an Arduino , on it I get all data correctly (extended identifier based call backs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 04:32:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750951#M2085</guid>
      <dc:creator>nishantsood</dc:creator>
      <dc:date>2018-03-13T04:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: CAN 250kbps device returns bad</title>
      <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750952#M2086</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;Are you using the S32 SDK FlexCAN driver with S32 Design Studio? If so, you could use the bitrate calculator from the graphical interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please provide the clock source for the Protocol Engine clock and its frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 10:24:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750952#M2086</guid>
      <dc:creator>AnaAldescu</dc:creator>
      <dc:date>2018-03-13T10:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: CAN 250kbps device returns bad</title>
      <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750953#M2087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I'm using the S32 Design Studio. Please, let me know from where to access this graphical tool for bitrate calculation!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I'm using the flexcan_encrypted example as the basis for my project. (although, I'm not using any encryption!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The clock settings are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18978i22878845A17D1231/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:55:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750953#M2087</guid>
      <dc:creator>nishantsood</dc:creator>
      <dc:date>2018-03-13T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: CAN 250kbps device returns bad</title>
      <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750954#M2088</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;You can see the graphical interface in "Component Inspector" view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pex_config.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19031i8D28705B1325D99E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pex_config.PNG" alt="pex_config.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cannot see this view by default, please access Window &amp;gt; Show view &amp;gt; Other &amp;gt; Processor Expert &amp;gt; Component Inspector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this view you can generate the user configuration structure for the FlexCAN driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pex_user_config.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19067i15495820C6C31C80/image-size/large?v=v2&amp;amp;px=999" role="button" title="pex_user_config.PNG" alt="pex_user_config.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For any other information regarding the FlexCAN example (how to enable/disable encryption, etc.), please read the example documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750954#M2088</guid>
      <dc:creator>AnaAldescu</dc:creator>
      <dc:date>2018-03-13T14:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: CAN 250kbps device returns bad</title>
      <link>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750955#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!, Ana.&lt;/P&gt;&lt;P&gt;Let me try the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-250kbps-device-returns-bad/m-p/750955#M2089</guid>
      <dc:creator>nishantsood</dc:creator>
      <dc:date>2018-03-13T14:36:15Z</dc:date>
    </item>
  </channel>
</rss>

