<?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 transmitter buffer is full</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691784#M14432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is nothing possible to say from your description. Is it immediate status at the beginning or it happens during Tx.&lt;/P&gt;&lt;P&gt;As a first approach for CAN debugging I use loop-back mode to be sure the CAN is correctly working at the MCU. Then I try to use it to communicate with other nodes. Sometimes I also use communication between two CANs at the same MCU without transceiver. (requires a few diodes and resistors) This approach then helps me to localize source of the issue easier.&lt;/P&gt;&lt;P&gt;So from the beginning.&lt;/P&gt;&lt;P&gt;1) Communication related: Have you read the error messages? Are you sure the last messages has been sent?&lt;/P&gt;&lt;P&gt;2) Setup related: What is the transceiver RxTx delay and line delay [us/m]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example code , uses 4MHz oscclk, CAN0 in loopback mode, data Tx/Rx are sent to SCI, 8bit, 9600bps.&lt;/P&gt;&lt;P&gt;Please , test only it is working to be sure the CAN peripheral is OK. (There are some dditional excel files as a part of the project attached, only as an example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 09:36:45 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2017-05-24T09:36:45Z</dc:date>
    <item>
      <title>S12ZVC CAN transmitter buffer is full</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691783#M14431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;when i call the function&amp;nbsp;byte MSCAN0_SendFrameExt(dword MessageID,byte FrameType,byte Length,const byte *Data),&lt;/P&gt;&lt;P&gt;it returns&amp;nbsp;ERR_TXFULL,i check the register CANTFLG = 0x00,it means message duffer is full,so i don`t konw why buffers are all full?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="360截图-29151610.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20475i06931D1FE76B8BC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="360截图-29151610.jpg" alt="360截图-29151610.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;i conncet a kvaser CAN&amp;nbsp;data analysis as the other node,and this is my Processor Expert configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="360截图-29188801.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20517i54772441E937F2BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="360截图-29188801.jpg" alt="360截图-29188801.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 08:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691783#M14431</guid>
      <dc:creator>cwtc</dc:creator>
      <dc:date>2017-05-24T08:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC CAN transmitter buffer is full</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691784#M14432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is nothing possible to say from your description. Is it immediate status at the beginning or it happens during Tx.&lt;/P&gt;&lt;P&gt;As a first approach for CAN debugging I use loop-back mode to be sure the CAN is correctly working at the MCU. Then I try to use it to communicate with other nodes. Sometimes I also use communication between two CANs at the same MCU without transceiver. (requires a few diodes and resistors) This approach then helps me to localize source of the issue easier.&lt;/P&gt;&lt;P&gt;So from the beginning.&lt;/P&gt;&lt;P&gt;1) Communication related: Have you read the error messages? Are you sure the last messages has been sent?&lt;/P&gt;&lt;P&gt;2) Setup related: What is the transceiver RxTx delay and line delay [us/m]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example code , uses 4MHz oscclk, CAN0 in loopback mode, data Tx/Rx are sent to SCI, 8bit, 9600bps.&lt;/P&gt;&lt;P&gt;Please , test only it is working to be sure the CAN peripheral is OK. (There are some dditional excel files as a part of the project attached, only as an example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 09:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691784#M14432</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-05-24T09:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC CAN transmitter buffer is full</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691785#M14433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lama,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; thank you for your example code,but my mcu is S12ZVC64,so there`s something wrong when i debug it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; when i call the function&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MSCAN0_SendFrameExt at first three times,err=0,mcu try to find a empty buffer to send&amp;nbsp;message.until all buffers are full, function&amp;nbsp;returns error&amp;nbsp;&lt;SPAN&gt;ERR_TXFULL,so i think messages hasn`t been sent.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="360截图-6729727.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20008i28C29BE8C98936A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="360截图-6729727.jpg" alt="360截图-6729727.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="360截图-6752830.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20058iF0C9AF9026CE8DA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="360截图-6752830.jpg" alt="360截图-6752830.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;meanwhile,oscilloscope does not show any waveform from CAN_H or CAN_L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; by the way,i tried loop mode,&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;call the same function,in this way it returned OK,so does it mean&amp;nbsp;&lt;SPAN&gt;CAN peripheral is OK?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 02:05:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691785#M14433</guid>
      <dc:creator>cwtc</dc:creator>
      <dc:date>2017-05-25T02:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC CAN transmitter buffer is full</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691786#M14434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Now I have the only question. Is your CAN bus connected to another node. The CAN is not working when there is no acknowledge from other node.&lt;/P&gt;&lt;P&gt;Loop-back mode helps you to say the CAN peripheral is OK and something wrong is on the BUS or transceiver.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 10:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691786#M14434</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-05-29T10:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC CAN transmitter buffer is full</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691787#M14435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lama,&lt;/P&gt;&lt;P&gt;now i found the reason,i forgot enable CAN Physical Layer control register,that`s the reason why loop-back mode runs without any problem but can`t send data to bus.&lt;/P&gt;&lt;P&gt;thanks again&amp;nbsp;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-CAN-transmitter-buffer-is-full/m-p/691787#M14435</guid>
      <dc:creator>cwtc</dc:creator>
      <dc:date>2017-06-01T06:19:50Z</dc:date>
    </item>
  </channel>
</rss>

