<?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: NXP SBC Fs23 CAN transceiver debugging, MCU CAN remains in a busy state in S32K</title>
    <link>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860436#M35041</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When the FS23 is in Debug mode, the CAN transceiver is set to Active mode by default, there is no need to set CAN_MODE = 0b1x.&lt;/P&gt;&lt;P&gt;Are you using an NXP EVB or your own board? Could you please share your schematic to double check your HW setup?&lt;/P&gt;&lt;P&gt;If you have a logic analyzer or an oscilloscope, could you share a snapshot with the following signals captured:&lt;/P&gt;&lt;P&gt;- CANTXD, CANRXD, CANH and CANL?&lt;/P&gt;&lt;P&gt;BR, Tomas&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 09:57:07 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2024-05-07T09:57:07Z</dc:date>
    <item>
      <title>NXP SBC Fs23 CAN transceiver debugging, MCU CAN remains in a busy state</title>
      <link>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860208#M35022</link>
      <description>&lt;P&gt;Using s32k312 chip to control sbc fs23.&lt;/P&gt;&lt;P&gt;I want to use the built-in CAN transceiver in NXP's SBC FS23 to send CAN messages. Use SPI communication to initialize the registers of fs23, and then set the registers related to the CAN transceiver.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_0-1715061042536.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277363i5EDBF868B1BEB477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_0-1715061042536.png" alt="txp_camel_0-1715061042536.png" /&gt;&lt;/span&gt;The value of this register is 0x3f08(can enable)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_1-1715061186244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277365i85E3890C989A12BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_1-1715061186244.png" alt="txp_camel_1-1715061186244.png" /&gt;&lt;/span&gt;The value of this register is 0x02a0(&lt;/P&gt;&lt;P&gt;CAN Transceiver active mode)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_2-1715061294167.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277366i32B4CBA79BA8445B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_2-1715061294167.png" alt="txp_camel_2-1715061294167.png" /&gt;&lt;/span&gt;The value of this register is 0x308f(Strangely, SBC is in both normal and init states)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_3-1715061430404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277369iC4304F104468918F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_3-1715061430404.png" alt="txp_camel_3-1715061430404.png" /&gt;&lt;/span&gt;The value of this register is 0x061f(Can state machine in normal mode)&lt;/P&gt;&lt;P&gt;For debugging convenience, I connected the debug pin of sbc fs23 to a voltage of 3.8V.&lt;/P&gt;&lt;P&gt;M_SYS1_CFG reg is 0x8(sbc in debug mode)&lt;/P&gt;&lt;P&gt;Above is my register settings，But when sending can messages, can remains in a busy state.&lt;/P&gt;&lt;P&gt;The following is the code for sending CAN messages.&lt;/P&gt;&lt;DIV&gt;&l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t;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;msgId&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;txMsg&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 06:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860208#M35022</guid>
      <dc:creator>txp_camel</dc:creator>
      <dc:date>2024-05-07T06:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: NXP SBC Fs23 CAN transceiver debugging, MCU CAN remains in a busy state</title>
      <link>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860436#M35041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When the FS23 is in Debug mode, the CAN transceiver is set to Active mode by default, there is no need to set CAN_MODE = 0b1x.&lt;/P&gt;&lt;P&gt;Are you using an NXP EVB or your own board? Could you please share your schematic to double check your HW setup?&lt;/P&gt;&lt;P&gt;If you have a logic analyzer or an oscilloscope, could you share a snapshot with the following signals captured:&lt;/P&gt;&lt;P&gt;- CANTXD, CANRXD, CANH and CANL?&lt;/P&gt;&lt;P&gt;BR, Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 09:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860436#M35041</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-05-07T09:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: NXP SBC Fs23 CAN transceiver debugging, MCU CAN remains in a busy state</title>
      <link>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860943#M35075</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I am using my own&amp;nbsp;board.&lt;/P&gt;&lt;P&gt;S32k312 uses spi2 to connect to fs23, while s32k312 uses can1 to connect to fs23.&lt;/P&gt;&lt;P&gt;The following is a schematic diagram of connecting pins.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_0-1715134480868.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277586iBD597B429D238630/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_0-1715134480868.png" alt="txp_camel_0-1715134480868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are the collected signals of CANH and CANL&lt;BR /&gt;Ch0 connects to CANL, ch1 connects to CANH.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txp_camel_1-1715134621728.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277587iC8D46AA16FF7F677/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txp_camel_1-1715134621728.png" alt="txp_camel_1-1715134621728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 02:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1860943#M35075</guid>
      <dc:creator>txp_camel</dc:creator>
      <dc:date>2024-05-08T02:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: NXP SBC Fs23 CAN transceiver debugging, MCU CAN remains in a busy state</title>
      <link>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1960993#M41307</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233155"&gt;@txp_camel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing the same issue on my board. I am also using s32k312 board,fs23 chip. CAN ports and SPI ports are same like as you guys mentioned above.&lt;/P&gt;&lt;P&gt;I am seeing same register values for all the registers you mentioned.in the above email.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I contacted one nxp support, They suggested to add the pullup resistor for the reset pin after that hardware change SBC is in normal mode. But the SBC CAN communication is still not working.&lt;/P&gt;&lt;P&gt;If you find the solution for this issue, Please let me know i will try those changes from my end too.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay Chitturi.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 18:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/NXP-SBC-Fs23-CAN-transceiver-debugging-MCU-CAN-remains-in-a-busy/m-p/1960993#M41307</guid>
      <dc:creator>vinaychitturi</dc:creator>
      <dc:date>2024-09-24T18:08:00Z</dc:date>
    </item>
  </channel>
</rss>

