<?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: NTBMS Evalution Board CAN Communication Error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1364641#M6621</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Are you trying to run on the board the reference design software delivered with the board?&lt;/P&gt;
&lt;P&gt;I am asking this because in this Community space we are only cover topics related to the Automatic Code generation from Matlab and Simulink environment.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 16:50:13 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2021-11-01T16:50:13Z</dc:date>
    <item>
      <title>NTBMS Evalution Board CAN Communication Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1361622#M6605</link>
      <description>&lt;P&gt;Hellow, NXP&lt;/P&gt;&lt;P&gt;I'm testing the NTBMS Evalution Board sold by NXP.&lt;BR /&gt;(&lt;A href="https://www.nxp.com/design/designs/newtec-battery-management-system-bms-reference-design:NEWTEC-NTBMS" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.nxp.com/design/designs/newtec-battery-management-system-bms-reference-design:NEWTEC-NTBM...&lt;/A&gt;)&lt;BR /&gt;Tested by connecting the Freemaster App with the provided software.&lt;BR /&gt;Software delivery link: (&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Several actions could be checked through UART communication. However, CAN communication is not connected.&lt;BR /&gt;I am getting an error as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_0-1635246746638.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160195iAAABE758536C85B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_0-1635246746638.jpeg" alt="seyoung_0-1635246746638.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please answer the two questions below. (Please help me...)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. The source part I changed is as follows.&lt;BR /&gt;Are there any additional changes that need to be made?&lt;BR /&gt;(I am using S32 Design Studio for ARM Version: 2018.R1.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;main.c (line 113)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_1-1635246746580.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160193iF8011BDB640E8BA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_1-1635246746580.jpeg" alt="seyoung_1-1635246746580.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;peripherals_init.c (line 88)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyoung_2-1635246746662.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160194i5B00B48343243E3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="seyoung_2-1635246746662.jpeg" alt="seyoung_2-1635246746662.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;freemaster_cfg.h (line 25)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure1.JPG" style="width: 803px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160197iD26F046FD181BDAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="figure1.JPG" alt="figure1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Data waveform changes between PC&amp;lt;-&amp;gt;FS4500 when performing Test Connection in Freemaster, but there is no change between FS4500&amp;lt;-&amp;gt;MPC. I think that I need to enable CAN for FS65 in the AppInit part of bms.c, is it applied?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 11:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1361622#M6605</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-10-26T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: NTBMS Evalution Board CAN Communication Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1364641#M6621</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Are you trying to run on the board the reference design software delivered with the board?&lt;/P&gt;
&lt;P&gt;I am asking this because in this Community space we are only cover topics related to the Automatic Code generation from Matlab and Simulink environment.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 16:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1364641#M6621</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-11-01T16:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: NTBMS Evalution Board CAN Communication Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1364813#M6628</link>
      <description>&lt;P&gt;Yes, it is.&lt;BR /&gt;I didn't know exactly where to inquire about the above.&lt;/P&gt;&lt;P&gt;Where can I inquire?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 04:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1364813#M6628</guid>
      <dc:creator>seyoung</dc:creator>
      <dc:date>2021-11-02T04:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: NTBMS Evalution Board CAN Communication Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1365161#M6631</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187526"&gt;@seyoung&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;I'm not familiar with this reference design but let me share my findings.&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1635855145791.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160979i4DFB39158FD98C15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1635855145791.png" alt="lukaszadrapa_0-1635855145791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It says that if you are going to use CAN, FMSTR_POLL_DRIVEN should be configured to '1'. So, no interrupts are needed.&lt;/P&gt;
&lt;P&gt;2. At the end of FS45xx initialization in AppInit, you can find:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1635855251368.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160981iA1ED2620B93268BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1635855251368.png" alt="lukaszadrapa_1-1635855251368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this should enable the CAN:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_2-1635855285035.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160982i84EB5E3FAC66CCE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_2-1635855285035.png" alt="lukaszadrapa_2-1635855285035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can check if this function is called.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 12:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NTBMS-Evalution-Board-CAN-Communication-Error/m-p/1365161#M6631</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-11-02T12:15:44Z</dc:date>
    </item>
  </channel>
</rss>

