<?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: Program Freescale Microcontroller with MATLAB/Simulink in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322067#M14510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer can select to use Kinetis K10_72 product, such as MK10DX64VLH7. More detailed info, please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K10_72"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K10_72&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Freescale provide free Kinetis develop software: Kinetis_SDK, more detailed info please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS_SDK"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 02:56:10 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2014-07-22T02:56:10Z</dc:date>
    <item>
      <title>Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322066#M14509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;I am looking for a development platform with a microcontroller that can be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;programmed using MATLAB and Simulink.&amp;nbsp; The requirements for the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;microcontroller are listed below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;STRONG&gt;Microcontroller Requirements:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Must be available on a development platform (prefer the physical size of the platform to be small)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;CAN communication (1Mbps)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;8+ analog inputs (more is better)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Low cost for development platform&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;EM&gt;2+ DAC (not required but would be nice)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;Not important now but do you have any development platforms with the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;EM&gt;requirements listed above and support for a camera?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;I will be using &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;this on personal projects so I would like to keep the cost down &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;as much as &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;What development platforms do you recommend?&amp;nbsp; What software/licenses are&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;needed in order to program a Freescale microcontroller using MATLAB or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Simulink?&amp;nbsp; I spoke with MathWorks and got their requirements that are shown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;in the link below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mathworks.com/hardware-support/freescale.html" style="color: #1155cc; font-family: arial, sans-serif;" target="_blank"&gt;http://www.mathworks.com/hardware-support/freescale.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 12:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322066#M14509</guid>
      <dc:creator>archambo</dc:creator>
      <dc:date>2014-07-18T12:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322067#M14510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer can select to use Kinetis K10_72 product, such as MK10DX64VLH7. More detailed info, please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K10_72"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K10_72&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Freescale provide free Kinetis develop software: Kinetis_SDK, more detailed info please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS_SDK"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 02:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322067#M14510</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-07-22T02:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322068#M14511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming you have access to a Matlab license or are a student. Otherwise Matlab is far too expensive to be used for personal projects. The company I work for has several development tools that rely on Matlab. We make Rapid prototyping and calibration tools used in the engineering new vehicles. Our Matlab license costs are substantial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You really haven't given us enough information to help you. Your choice in processors really has to do more with the algorithms you're trying to run. Matlabs embedded coder can create C code that can run on just about any processor. We've used it to generate code for everything from 8 bit micros up to the latest and greatest 64 bit processors. The question is how complicated is the resultant code and how often do you need it to run? Do you need to support double precision floating point or can you get away with fixed point and integer math?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also need to decide what OS you will be running the models on. On some processors You will need to create an application that can wrap around the code generated by Matlab. You will want a fully supported OS driver set. In the Freescale world, the low/no cost choices are Linux, MQX or an OS you develop yourself. We use Linux and an in house developed RTOS we've been porting forward for at least 15 years on the embedded side. We market a windows data acquisition program that runs on our customers laptops and talks to our and our competitors embedded tools though multiple communication protocols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pick your tools based on the OS you will be running and the board you pick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can get away with using the MQX OS&amp;nbsp; or an in house OS, and don't need a double precision floating point, you can stay in the Kinetis family. If you need Linux and all the benefits it brings, you will want to look at the Vybrid or I.mx based development boards. The Kinetis product can use the free Freescale KDS IDE. The Vybrid and I.mx boards come with support tools for the Linux development environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a personal experimentation kind of thing, I would recommend the use of&amp;nbsp; one of the available Linux based boards Matlab supports directly. The Pandaboard, Arduino, or beagleboard. These boards are all ARM core based. The windows version of Matlab can build standalone apps for these boards. You won't need to write the wrapper application. They have prebuilt IO blocks that can access drivers in the OS. I would recommend this as a first step even if you do intend to create your own boards. These development boards are cheap, easy to use and will give you a great deal of experience with the Matlab-&amp;gt;embedded board environment. You'll need to check to see if Mathworks or Freescale has evolved any of their support for Freescale development boards to this level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 14:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322068#M14511</guid>
      <dc:creator>ndavies</dc:creator>
      <dc:date>2014-07-22T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322069#M14512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I talked to MathWorks they were under the impression that Freescale sells a library of Simulink blocks, is that true?&amp;nbsp; If so are there different library's for different microcontrollers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if the Kinetis SDK can easily be use to create the blocks in Simulink?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 17:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322069#M14512</guid>
      <dc:creator>archambo</dc:creator>
      <dc:date>2014-07-22T17:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322070#M14513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Norm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply it is very helpful.&amp;nbsp; It's very difficult to figure out what is needed to use a microcontroller on the Freescale website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently use the home version of MATLAB/Simulink 2014a with the support packages for Arduino micros and Raspberry Pi.&amp;nbsp; I am looking for a support package similar to the one for Arduino micros.&amp;nbsp; From what you posted Freescale micro's seem to require more than just a support package.&amp;nbsp; I used Freescale micro's with MATLAB/Simulink in my last job and was not involved in the initial setup so I thought you just had to buy a license.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main point of trying to use a Freescale micro is for CAN communication.&amp;nbsp; &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;There are ways to communicate with CAN using the SPI bus and additional IC's but I would like to eliminate that by using a microcontroller that already has CAN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Right now I don't need double precision floating point format.&amp;nbsp; Currently &lt;/SPAN&gt;I’m only making a data logger but my main project is&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt; a lead/chase involving two helicopters and a ground vehicle.&amp;nbsp; One helicopter is controlled by a user or program and tries to evade the ground vehicle and other helicopter which are autonomous.&amp;nbsp; &lt;SPAN style="font-family: Arial, sans-serif;"&gt;Some of the sensors I'm using communicate on CAN hence the desire to have a micro with CAN&lt;/SPAN&gt;.&amp;nbsp; The main form of communication is through Ethernet/Wifi.&amp;nbsp; Right now there are two micro's on each of the autonomous vehicles because the Raspberry Pi struggles so much with image processing that I added an Arduino to do vehicle control.&amp;nbsp; It would be really nice if the Freescale microcontroller could take the place of the two micro's I am currently using but it is not essential.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: Arial, sans-serif;"&gt;Overall I think I know what I have to do based on your post.&amp;nbsp; It's a lot more effort then I would like to put in but I figured that would be the case if I wanted to use a Freescale micro.&amp;nbsp; Do you have any&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: Arial, sans-serif;"&gt; advise or &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;recommendations?&amp;nbsp; I've never done this before so I would really appreciate any help you can give.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 20:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322070#M14513</guid>
      <dc:creator>archambo</dc:creator>
      <dc:date>2014-07-22T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Program Freescale Microcontroller with MATLAB/Simulink</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322071#M14514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you mentioned library set is The Automotive Math and Motor Control Library Set, which embedded in Freescale provided Motor control development toolbox, more detailed info, please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC_TOOLBOX&amp;amp;fsrch=1&amp;amp;sr=2&amp;amp;pageNum=1"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC_TOOLBOX&amp;amp;fsrch=1&amp;amp;sr=2&amp;amp;pageNum=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The MC_TOOLBOX supports few Freescale MCU for motor control, such as 16-bit MCU S12ZVM; 32-bit MCU KV1x and 32-bit DSC MC56F827xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, most customer select below IDE software for Kinetis product development:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis SDK;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KDS_IDE"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KDS_IDE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CodeWarrior MCU V10.x; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IAR ARM Workbench; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.iar.com/"&gt;http://www.iar.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keil;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www2.keil.com/freescale/"&gt;http://www2.keil.com/freescale/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The debugger tool, customer could select P&amp;amp;E USB Multilink Universal&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320137"&gt;http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320137&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or Segger J-Link&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.segger.com/jlink-debug-probes.html"&gt;http://www.segger.com/jlink-debug-probes.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think Kinetis SDK can easily create a block in Simulink. The Kinetis SDK is eclipse software, maybe there with patch tool to create, while I am not sure about it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 02:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-Freescale-Microcontroller-with-MATLAB-Simulink/m-p/322071#M14514</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-07-23T02:29:21Z</dc:date>
    </item>
  </channel>
</rss>

