<?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: Matlab simulink interface? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283031#M10643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USB connection in this case means to implement USB-CDC in the target MCU. So, you have to use serial connection in FreeMaster tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 23:06:18 GMT</pubDate>
    <dc:creator>LuisCasado</dc:creator>
    <dc:date>2013-03-08T23:06:18Z</dc:date>
    <item>
      <title>Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283020#M10632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to tune some PID but since the only data I see from kinetis is through the debug interface, so it's being quite sloppy.&lt;/P&gt;&lt;P&gt;Is there any way to make a Simulink connection (this way I can use matlab to project my controllers) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not possible, how can I dump data back to the PC in a better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283020#M10632</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-05T04:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283021#M10633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;printf on a Serial Port? This could work with Simulink.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283021#M10633</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-05T04:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283022#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;printf (at least when im on eclipse) is extremely slow and cripples the behavior of my program, is it slow because of something on eclipse?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283022#M10634</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-05T04:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283023#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you printing to a serial port? If so what is the baud rate? Is it interrupt driven? How big are your buffers?&lt;/P&gt;&lt;P&gt;Are you using floating point?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Eclipse should really have nothing to do with printf, unless you are printing to the debug console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 04:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283023#M10635</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-05T04:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283024#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably the debug buffer since im just using "printf" (and I have&amp;nbsp; not specified the output buffer), maybe this buffer is extremely slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to find how to make a serial port and print over there. (Is this possible over USB? )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 05:35:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283024#M10636</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-05T05:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283025#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to use FreeMaster. FreeMaster is a powerful tool, it is not only an interface to watch/change/scope real time variables, it is an Active X component able to access to MCU variables through serial port/debugger tools, etc.&amp;nbsp; So, one of the reason of the existence of the tool is your use case, without stopping the application you can watch and change variables on target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a look to FreeMaster manual: C:\Program Files\Freescale\FreeMASTER 1.3\pcm_um.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find the Matlab script to access to the target:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;6.6.4Matlab m-script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial,Arial;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Test this code at Matlab console &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;% create FreeMASTER ActiveX object &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;fmstr = actxserver ('MCB.PCM'); &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;% write 0x10 value into "var16" variable defined in FreeMASTER project &lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;bSucc = fmstr.WriteVariable('var16inc', 16); &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;var16 = 0; % read the "var16" variable as defined in FreeMASTER project % "!" - immediate performs the command bSucc = fmstr.ReadVariable('var16'); if bSucc var16 = fmstr.LastVariable_vValue; end % show the value var16 % configure matlab to accept safe array as single dimension &lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;feature('COM_SafeArraySingleDim', 1) ; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;% write 4 bytes to memory 0x20. WriteMemory function expects SafeArray as input data &lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;bSucc = fmstr.WriteMemory(32, 4, {11;22;33;44}) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;% reads 4 bytes from memory at address of var32inc variable &lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;&lt;STRONG style="font-size: 8pt; font-family: Courier New,Courier New;"&gt;bSucc = fmstr.ReadMemory('var32inc', 4); &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier New; font-size: 8pt;"&gt;if bSucc % reads data of last call the ReadMemory()function. readMemResult = fmstr.LastMemory_data end % write to memory at pointer. The value of "var8" represents the pointer, 0x02 is offset. % this is only demonstration !!Beware that wrong value of var8 may cause memory corruption!! array = [11;22;33;44]; bSucc = fmstr.WriteUIntArray('valueof(var8) + 0x02', 4, 1, {array});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier New; font-size: 8pt;"&gt;Page 75 of the manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier New; font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier New; font-size: 8pt;"&gt;Luis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 10:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283025#M10637</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-03-05T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283026#M10638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What board are you using?&lt;/P&gt;&lt;P&gt;USB will add much more over head and effort on your part that just using the serial port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 13:55:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283026#M10638</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-05T13:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283027#M10639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MK40DX256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, looking around USB seems that would consume too much time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ill get my board back and see if the FreeMaster programs works for me (Seems to be close to what I need)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 15:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283027#M10639</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-05T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283028#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This program seems to be the right solution but it expects a serial connection, and Im connecting via usb/jtag&lt;/P&gt;&lt;P&gt;Is there a plugin I should install for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 00:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283028#M10640</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-08T00:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283029#M10641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For using serial port, you need to run the FreeMaster serial driver in your target. You can download communication drivers with examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=FMASTERSCIDRV&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Device"&gt;https://www.freescale.com/webapp/Download?colCode=FMASTERSCIDRV&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Device&lt;/A&gt; Drivers&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=exe&amp;amp;WT_ASSET=Downloads&amp;amp;sr=3&amp;amp;Parent_nodeId=from search&amp;amp;Parent_pageType=from search&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 09:46:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283029#M10641</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-03-08T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283030#M10642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have a serial connection, but the documentation shows it should be possible to do it via usb.&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER&amp;amp;tab=In-Depth_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER&amp;amp;tab=In-Depth_Tab"&gt;FreeMASTER Run-Time Debugging Tool Product Summary Page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm having a hard time figuring out what is the right combination of software to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ohh I had to reinstall freemaster so it would detect the freemaster driver, but still, the configuration tab only shows P&amp;amp;E usb and I'm on segger J-link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess the USB support is only for P&amp;amp;E...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(this is my board btw &lt;A href="http://www.newark.com/jsp/search/productdetail.jsp?SKU=27T6527&amp;amp;CMP=KNC-GPLA&amp;amp;mckv=|pcrid|20115736341|plid" title="http://www.newark.com/jsp/search/productdetail.jsp?SKU=27T6527&amp;amp;CMP=KNC-GPLA&amp;amp;mckv=|pcrid|20115736341|plid"&gt;http://www.newark.com/jsp/search/productdetail.jsp?SKU=27T6527&amp;amp;CMP=KNC-GPLA&amp;amp;mckv=|pcrid|20115736341|plid&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like I'll have to go the write my own interface approach...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 10:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283030#M10642</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-08T10:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283031#M10643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USB connection in this case means to implement USB-CDC in the target MCU. So, you have to use serial connection in FreeMaster tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 23:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283031#M10643</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-03-08T23:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283032#M10644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you will need to do is get a serial port working.&lt;/P&gt;&lt;P&gt;I am pretty sure&amp;nbsp; I have seem some kwik stick sample code for that. Check the dvd that came with it..&lt;/P&gt;&lt;P&gt;I think it will plug into a tower backplane and you could use the tower serial board to get the level conversion and db-9 connector.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 04:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283032#M10644</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-10T04:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283033#M10645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;That still a hassle... I don't own a tower and I don't have serial connection on my pc, and I have no code guarantee (IMO usb tutorials/code sample should be around, and yet it's hard to find)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://arduino.cc/en/Serial/Print" title="http://arduino.cc/en/Serial/Print"&gt; &lt;/A&gt;Isn't there something simple as &lt;A href="http://arduino.cc/en/Serial/Print"&gt;arduino-print&lt;/A&gt; for freescale?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Making clear, I know arduino is on a DSL so it's impossible to be as simple, but that follows the same construct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 17:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283033#M10645</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-10T17:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283034#M10646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I don't have serial connection on my pc,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Well, a serial to USB cable is what I mean.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If you are using&amp;nbsp; arduino print then you have decided to use a framework. There are frameworks available, like MQX, but they are not as simple to use.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 18:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283034#M10646</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2013-03-10T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283035#M10647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FreeMaster comm drivers, you have an example of using&amp;nbsp; Kinetis as USB-CDC on target and Freemaster comm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files\Freescale\FreeMASTER Serial Communication V1.6\examples\Kxx&lt;/P&gt;&lt;P&gt;You need to change in freemaster_cfg.h&lt;SPAN style="font-size: 10pt; font-family: MS Shell Dlg 2;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#define FMSTR_USE_USB_CDC 1 /* To select USB CDC communication interface */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If the device is different to the Kinetis examples, you can use the implementation from USB stack, the file structure is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MEDICALUSB"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MEDICALUSB&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 10:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283035#M10647</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-03-11T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283036#M10648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice getting closer to get it done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah the device is right, the code compiles (after fixing some read only stuff and making sure the folder hierarchy is the same), but still has some steps to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running the code and having a new USB device detected, I got to install the right driver.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(The device is detected at JM CDC Demo, but has a driver error)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only driver on the&amp;nbsp; support\...\\cdc folder is fsl_fmstr_wxp, that doesn't work (and it's windows xp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the one on the USB code stack is detected as valid, but since it has no digital signature it requires me to change some settings on w8 to install, Ill see if it's working fine tomorrow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 09:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283036#M10648</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-12T09:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283037#M10649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After installing the driver provided by the USB code stack, compiled the example program in freemaster example + the demo project, I got it to work via USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now going to hack this into my project!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 19:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283037#M10649</guid>
      <dc:creator>mathieugranzott</dc:creator>
      <dc:date>2013-03-12T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab simulink interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283038#M10650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the feedback!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 22:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Matlab-simulink-interface/m-p/283038#M10650</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-03-12T22:16:19Z</dc:date>
    </item>
  </channel>
</rss>

