<?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>Other NXP ProductsのトピックRe: SJA1000 CAN controller RX error</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200804#M10069</link>
    <description>&lt;P&gt;YES! Everything is okay after the resistor added.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 02:02:52 GMT</pubDate>
    <dc:creator>Sightrix</dc:creator>
    <dc:date>2020-12-17T02:02:52Z</dc:date>
    <item>
      <title>SJA1000 CAN controller RX error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200342#M10061</link>
      <description>&lt;P&gt;Could you anyone help to check what's the problem with the&amp;nbsp;SJA1000 CAN controller? Thanks in advanced.&lt;/P&gt;&lt;P&gt;It reports RX error when received a message from PCAN-View, here is my test logs:&lt;/P&gt;&lt;P&gt;test: 0xab (test register read back OK)&lt;BR /&gt;set mode to 0x01&lt;BR /&gt;mode: 33&lt;BR /&gt;---- read back configs ----&lt;BR /&gt;mode: 9&lt;BR /&gt;BTR0: 0x80 (bitrate 1M/s at 24M CLK)&lt;BR /&gt;BTR1: 0x36&lt;BR /&gt;ACR: 255 255 255 255&lt;BR /&gt;AMR: 255 255 255 255&lt;BR /&gt;OCR: 26&lt;BR /&gt;mode after started: 8&lt;BR /&gt;status: 12&lt;BR /&gt;CANDRV started!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;status: 12, mode: 8, ECC: 0, RXERR: 0&lt;/P&gt;&lt;P&gt;status: 92, mode: 8, ECC: 167, RXERR: 135&lt;/P&gt;&lt;P&gt;=================================================&lt;/P&gt;&lt;P&gt;ECC: 167 means "stuff error", "ID.17 to ID.13"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the message sent with PCAN-View:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN.msg.png" style="width: 345px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132839i4D50AD85BFE376EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN.msg.png" alt="CAN.msg.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, the controller cannot send any message out also, and there's no 120 oms resistor between CAN-H and CAN-L.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 10:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200342#M10061</guid>
      <dc:creator>Sightrix</dc:creator>
      <dc:date>2020-12-16T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1000 CAN controller RX error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200373#M10062</link>
      <description>&lt;P&gt;If the 120ohms resistor is MUST?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 11:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200373#M10062</guid>
      <dc:creator>Sightrix</dc:creator>
      <dc:date>2020-12-16T11:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1000 CAN controller RX error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200804#M10069</link>
      <description>&lt;P&gt;YES! Everything is okay after the resistor added.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 02:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1200804#M10069</guid>
      <dc:creator>Sightrix</dc:creator>
      <dc:date>2020-12-17T02:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1000 CAN controller RX error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1575881#M16205</link>
      <description>&lt;P&gt;Hi, Can you please help me the following issue in SJA1000.&lt;/P&gt;&lt;P&gt;We are using SJA1000 for CAN communication.&lt;BR /&gt;I have followed Datasheet and AN97076, AN97046.&lt;BR /&gt;I have verified by reading the Default values initially to know we can access Reading the registers.&lt;BR /&gt;I have configured Registers that shall be modified in Reset Mode only and Read back.&lt;BR /&gt;I observed Reading and Writing the registers are Okay.&lt;BR /&gt;My init function like below.&lt;BR /&gt;1. Go to Reset Mode by writing MOD.RM = 1&lt;BR /&gt;2. In CDR register, Pelican Mode, CBP =1, CD=0 is written, Read back value = 0xC1&lt;BR /&gt;3. Acceptance &amp;amp; Mask are 0x00 and 0xFF respectively&lt;BR /&gt;4. BTR0 = 0x40 , BTR1 = 0xA5 ( 20MHz clock and 1Mbps Baud rate required)&lt;BR /&gt;5. Output Control : Normal Mode, TX0 pushpull&lt;BR /&gt;6. Interrupts are Not enabled&lt;BR /&gt;7. Go to Normal Mode MOD.RM = 0&lt;BR /&gt;I read these registers and confirmed the values are modified as I written.&lt;/P&gt;&lt;P&gt;I am unable to Transmit the data from Module.&lt;BR /&gt;My TX handler is as below.&lt;BR /&gt;1. Check Status Register SR.TR = 0 and SR.TBS = 1&lt;BR /&gt;2. If no Txn is pending, updating the TX Buffers as below.&lt;BR /&gt;TX Frame Info (CAN adr = 16) : Extended CAN, RTR=0, DLC=8 Value = 0x88&lt;BR /&gt;TX ID1 to ID4 (CAN adr = 17 to 20) : 0xA5, 0x20, 0xEF, 0xF0&lt;BR /&gt;TX Data (CAN adr = 21 to 28) : Some Fixed Data&lt;BR /&gt;3. Cheking Status Register again SR.TR=0, SR.TBS=1, SR.TCS=1&lt;BR /&gt;If SR is Okay, Writing Command Register CMR.TR = 1 to start Transmission.&lt;BR /&gt;Waiting until SR.TR = 0 and SR.TBS = 1 and SR.TCS = 1&lt;/P&gt;&lt;P&gt;But I am not receiving the data at other end. I have connected CAN Analyzer and following data is observed.&lt;BR /&gt;Please check the picture.&lt;BR /&gt;0x1FFFFFC0x DLC = 75 This is wrong.&lt;BR /&gt;Then I have read the data written in Tx Buffers as mention in AN97076.&lt;BR /&gt;From CAN adr 16 to 28 : All values are 0x0C&lt;BR /&gt;From CAN adr 96 to 108 : Below values are observed.&lt;BR /&gt;Please check pictures.&lt;BR /&gt;When Decoding 97 to 100 Adr data : I got 1DFFFFC0 which is shown in CAN analyzer.&lt;BR /&gt;No error is observed in Error Code Capture register (Adr 12)&lt;BR /&gt;I have doubt whether the registers 16 to 28 have write access or not. Because these registers always showing 0x0C.&lt;/P&gt;&lt;P&gt;I have looked some codes available with LPC2000 module. But I have everything is Same as our Software.&lt;BR /&gt;I have 120 Ohm termination resistor. I am using Intel mode.&lt;BR /&gt;Please check all these data and help us. Very much Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 06:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1000-CAN-controller-RX-error/m-p/1575881#M16205</guid>
      <dc:creator>San_96</dc:creator>
      <dc:date>2022-12-31T06:56:37Z</dc:date>
    </item>
  </channel>
</rss>

