<?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: FlexCAN How can I get data frame signal on loop-back mode</title>
    <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1564983#M19245</link>
    <description>&lt;P&gt;my test code, here&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 07:25:38 GMT</pubDate>
    <dc:creator>buccno</dc:creator>
    <dc:date>2022-12-06T07:25:38Z</dc:date>
    <item>
      <title>FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1564375#M19226</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am using an eval board with an S32k116 processor. I wrote a simple code about the FlexCAN-BUS protocol, I could see in the IDE that the data I sent was successfully transmitted. But I'm having trouble with the signal,&lt;/P&gt;&lt;P&gt;1st one; How can I see the data frame signal using a logic analyzer? (I connected the logic analyzer to the CAN TX pin, but it was constantly showing high when I read the reference manual, it said it would always show high or low.)&lt;/P&gt;&lt;P&gt;RMS32K1xx CAN TX: This pin is the transmit pin to the CAN bus transceiver. The dominant state is represented by logic level 0. The recessive state is represented by logic level 1.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2nd one; When I put the transmit and receive function I wrote into an infinite loop (I verified that it works by turning on the LED and in the expression section). When I connected the oscilloscope probes to the CAN HIGH and CAN LOW outputs, I could not get a proper signal. What would be the reason? I used to send and receive functions in blocking mode.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 12:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1564375#M19226</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-05T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1564983#M19245</link>
      <description>&lt;P&gt;my test code, here&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 07:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1564983#M19245</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-06T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565171#M19257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;in loopback mode you will see nothing on CAN pins. Change configuration for normal mode, also modify bit timing, probably 83kbps is not desired one.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1670326792822.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203214iCC297A5A65CE8C31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1670326792822.png" alt="PetrS_0-1670326792822.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PetrS_0-1670326792822.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also board have to be powered with external 12V so SBC's transceiver is active. Then you should see transmitted message on CAN pins.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 11:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565171#M19257</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-12-06T11:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565354#M19270</link>
      <description>&lt;P&gt;Thanks a lot for your answer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My current problem is; I enter timeout in receive or transmit functions in normal mode.&lt;/P&gt;&lt;P&gt;When I call the Confix RX function and call the receive function, I enter the timeout. When I use normal receive instead of blocking, I do not enter timeout. I am sending data from an external source. (Same ID with receive func)&lt;/P&gt;&lt;P&gt;Should I call another function?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 17:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565354#M19270</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-06T17:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565838#M19305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can simply use nonblocking function with testing transfer status&lt;/P&gt;
&lt;P&gt;ret = FLEXCAN_DRV_Receive(INST_FLEXCAN_CONFIG_1, RX_MAILBOX, &amp;amp;received_data);&lt;/P&gt;
&lt;P&gt;while(FLEXCAN_DRV_GetTransferStatus(INST_FLEXCAN_CONFIG_1, RX_MAILBOX) != STATUS_SUCCESS) {;}&lt;/P&gt;
&lt;P&gt;It will wait on while loop until message is received.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565838#M19305</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-12-07T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565916#M19310</link>
      <description>&lt;P&gt;Is this look good?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#define MSG_ID_1 (0x02)&lt;BR /&gt;&lt;BR /&gt;#define MB_RX_0 (1U)&lt;/P&gt;&lt;P&gt;uint32_t CAN_config(const uint8_t mb_id, const uint32_t msg_id)&lt;BR /&gt;{&lt;BR /&gt;flexcan_data_info_t dataInfo =&lt;BR /&gt;{&lt;BR /&gt;.data_length = 8U,&lt;BR /&gt;.msg_id_type = FLEXCAN_MSG_ID_STD,&lt;BR /&gt;.enable_brs = false,&lt;BR /&gt;.fd_enable = false,&lt;BR /&gt;.fd_padding = 0U&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;status_t ret = FLEXCAN_DRV_ConfigRxMb(INST_FLEXCAN_CONFIG_1, mb_id, &amp;amp;dataInfo, msg_id);&lt;/P&gt;&lt;P&gt;return (ret == STATUS_SUCCESS);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;uint32_t CAN_receive_data(const uint8_t mb_id)&lt;BR /&gt;{&lt;BR /&gt;flexcan_msgbuff_t rcv_data = {0};&lt;/P&gt;&lt;P&gt;/*rcv_data.cs = 0;&lt;BR /&gt;rcv_data.data =*/&lt;/P&gt;&lt;P&gt;//FLEXCAN_DRV_SetRxMaskType(INST_FLEXCAN_CONFIG_1, type_mask);&lt;/P&gt;&lt;P&gt;status_t ret = FLEXCAN_DRV_Receive(INST_FLEXCAN_CONFIG_1, mb_id, &amp;amp;rcv_data); //BLOCKING&lt;/P&gt;&lt;P&gt;while(FLEXCAN_DRV_GetTransferStatus(INST_FLEXCAN_CONFIG_1, mb_id) != STATUS_SUCCESS) {;}&lt;/P&gt;&lt;P&gt;return (ret == STATUS_SUCCESS);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 12:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565916#M19310</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-07T12:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565934#M19311</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="buccno_0-1670418153439.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203379i6F6C58363C21F14D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="buccno_0-1670418153439.png" alt="buccno_0-1670418153439.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;buccno_0-1670418153439.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can send data in the CAN analysis program, I think the trace part confirms this. But there is no success from GetTransferStatus in S32DS.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 13:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1565934#M19311</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-07T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1566806#M19331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;be sure your RX MB is configured to receive the ID you sent from CAN tool.&lt;BR /&gt;Or clear mask register to receive all IDs, for test.&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 10:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1566806#M19331</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-12-08T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1567375#M19351</link>
      <description>&lt;P&gt;Sorry, I know, I ask a lot of questions but how can I clear register all ID's? IDK. My peripheral window is empty. I cannot check.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 08:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1567375#M19351</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-09T08:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1567511#M19359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can refer to below thread for masking demo&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1567511#M19359</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-12-09T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN How can I get data frame signal on loop-back mode</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1568885#M19407</link>
      <description>&lt;P&gt;Hey Petr, I was wrong to set my CAN transceiver wake-up pins. My problem was solved—no such things as masking. Thanks for all your reply.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-How-can-I-get-data-frame-signal-on-loop-back-mode/m-p/1568885#M19407</guid>
      <dc:creator>buccno</dc:creator>
      <dc:date>2022-12-13T08:46:22Z</dc:date>
    </item>
  </channel>
</rss>

