<?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: K60 FlexCAN demo problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213009#M3571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies. I can't measure any activity on the CAN TX/RX pins in the tower connector (the white PCI-like connector), so I think it might be a hardware issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 14:00:28 GMT</pubDate>
    <dc:creator>UniversalTroope</dc:creator>
    <dc:date>2011-09-29T14:00:28Z</dc:date>
    <item>
      <title>K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213005#M3567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to run the FlexCAN demo on a Tower K60 board, with serial board. (MQX 3.7 and IAR EW-ARM 6.20)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't seem to work - data is apparently transmitted, but nothing is received. Also, I can't measure any activity on the CAN RX/TX pins in tower connector. I checked pin mux is ok. Also, I tried to fix for the e2583 errata, which seems to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// e2583&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OSC_CR |= 0x01&amp;lt;&amp;lt;OSC_CR_ERCLKEN_SHIFT;﻿&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Can you successfully run the FlexCAN demo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my output:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data transmit: 155&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FLEXCAN tx update message. result: 0x0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Data transmit: 156&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FLEXCAN tx update message. result: 0x0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Data transmit: 157&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FLEXCAN tx update message. result: 0x0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 20:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213005#M3567</guid>
      <dc:creator>UniversalTroope</dc:creator>
      <dc:date>2011-06-08T20:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213006#M3568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New Kinetis board, same problem... Any ideas please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 17:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213006#M3568</guid>
      <dc:creator>UniversalTroope</dc:creator>
      <dc:date>2011-09-27T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213007#M3569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's your hardware setup? Is there another piece of CAN hardware you communicate with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 17:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213007#M3569</guid>
      <dc:creator>konrada_anton</dc:creator>
      <dc:date>2011-09-27T17:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213008#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have much to add except: yes, I do have the Flexcan demo running (although I'm using Codewarrior 10.1) and note that the terminal output doesn't seem to tell us much. &amp;nbsp;I just tried disconnecting the receiver from the CAN bus altogether and the terminal output keeps chirping away with the same message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with the receiver connected, I can see the messages coming in at a regular pace and can send a message to ID 0x123 and it is received by the K60 and printed to the terminal. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this is all obvious, but check to see that your frequencies match and that you've got the 3 pin connector on the TWR-SER wired up correctly. &amp;nbsp; Note that the DB9 is for RS232, and doesn't get re-wired for CAN as it does with many Freescale development kits. &amp;nbsp; I believe my hand-wired adapter goes J7 pin 1 to DB9 pin 7, J7 pin 2 to DB9 pin 3, and J7 pin 3 to DB9 pin 2. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JPA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 20:08:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213008#M3570</guid>
      <dc:creator>jpa</dc:creator>
      <dc:date>2011-09-27T20:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213009#M3571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies. I can't measure any activity on the CAN TX/RX pins in the tower connector (the white PCI-like connector), so I think it might be a hardware issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 14:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213009#M3571</guid>
      <dc:creator>UniversalTroope</dc:creator>
      <dc:date>2011-09-29T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213010#M3572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A Freescale FAE has resolved the problem as a hardware issue with the CAN bus on my tower kit. The CAN bus works fine on my new kit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 17:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213010#M3572</guid>
      <dc:creator>UniversalTroope</dc:creator>
      <dc:date>2011-10-03T17:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213011#M3573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same problem. The demo is running fine but I dont see any activity on J7 pins. What hardware changes have been suggested or can you tell me the version of the kit you are using now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhinav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213011#M3573</guid>
      <dc:creator>Abhitechmania</dc:creator>
      <dc:date>2011-11-15T21:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213012#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone explain the problem with the board? I think I am having the same issue here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2011 19:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213012#M3574</guid>
      <dc:creator>amish_M4</dc:creator>
      <dc:date>2011-12-03T19:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213013#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*BUMP*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone (Freescale folks?!?!) have any further info on this? I'm having exactly the same problem. I would have expected the FlexCAN demo to work out of the box on the TWR K60N512, but I haven't been able to get it to communicate. Like previous posters, the terminal output says that everything is working fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*********FLEXCAN TEST PROGRAM.*********&lt;BR /&gt;Message format: Standard (11 bit id)&lt;BR /&gt;Message buffer 0 used for Tx and Rx.&lt;BR /&gt;Interrupt Mode: Enabled&lt;BR /&gt;Operation Mode: TX and RX --&amp;gt; Normal&lt;BR /&gt;***************************************&lt;/P&gt;&lt;P&gt;selected frequency (Kbps) is: 125&lt;BR /&gt;Data length: 1&lt;BR /&gt;FLEXCAN reset. result: 0x0&lt;BR /&gt;FLEXCAN initilization. result: 0x0&lt;BR /&gt;FLEXCAN mode selected. result: 0x0&lt;BR /&gt;FLEXCAN global mask. result: 0x0&lt;BR /&gt;FLEXCAN Error ISR install, result: 0x0&lt;BR /&gt;FLEXCAN Bus off ISR install, result: 0x0&lt;BR /&gt;FLEXCAN error interrupt enable. result: 0x0&lt;BR /&gt;FLEXCAN rx remote mailbox initialization. result: 0x0&lt;BR /&gt;FLEXCAN rx mailbox initialization. result: 0x0&lt;BR /&gt;FLEXCAN mailbox activation. result: 0x0&lt;BR /&gt;FLEXCAN RX ISR install. result: 0x0&lt;BR /&gt;FLEXCAN RX remote ISR install. result: 0x0&lt;BR /&gt;FLEXCAN tx remote mailbox initialization. result: 0x0&lt;BR /&gt;FLEXCAN tx mailbox initialization. result: 0x0&lt;BR /&gt;FLEXCAN tx mailbox activation. result: 0x0&lt;BR /&gt;FLEXCAN TX ISR install. result: 0x0&lt;BR /&gt;FLEXCAN TX remote ISR install. result: 0x0&lt;BR /&gt;FLEXCAN started. result: 0x0&lt;BR /&gt;Data transmit: 0&lt;BR /&gt;Data transmit: 1&lt;BR /&gt;FLEXCAN tx update message. result: 0x0&lt;BR /&gt;Data transmit: 2&lt;BR /&gt;FLEXCAN tx update message. result: 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried probing the CAN pins on the A Expansion Port, and the TX (pin 42) is just floating high with no data on it. I've stimulated pins 1 and 3 on TWR SER J7 with CAN data at 125kbps, and was able to view the data on Pin 41 using a logic analyzer, so at least my TWR SER must be configured correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I used the Memory viewer in my debugger to check the TX mailbox (memory location 0x400A4098), and am able to see the data value increment in sync with the one spit out on the terminal. However, the CANbus remains dead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts? I've spent the whole day messing with this, and would love to get this demo working!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 08:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213013#M3575</guid>
      <dc:creator>unmannedrussery</dc:creator>
      <dc:date>2012-01-26T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: K60 FlexCAN demo problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213014#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update... FIXED!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is with the TWR SER jumper setup specified in&amp;nbsp;TWRSERUM.pdf (or at least my interpretation of that setup). The table for J5 says shorting pins 1-2 "Put[s] CAN transceiver into sleep mode". &lt;STRONG&gt;This is actually incorrect.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Installing this jumper connects the "S" pin on the transceiver to ground, which puts the transceiver into normal operation or high speed mode (see pg. 4 of the datasheet&amp;nbsp;&lt;A href="http://www.nxp.com/documents/data_sheet/TJA1050.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/data_sheet/TJA1050.pdf&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for this demo to work, you must short pins 1-2 of J5 on the TWR SER board. I had tried this earlier, but was doing it with a loose piece of wire (I'm short on 0.1" jumpers), and must not have had the two pins shorted effectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 10:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-FlexCAN-demo-problem/m-p/213014#M3576</guid>
      <dc:creator>unmannedrussery</dc:creator>
      <dc:date>2012-01-26T10:33:33Z</dc:date>
    </item>
  </channel>
</rss>

