<?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: how to use sci/uart to debug by freeamster in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790839#M1596</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp; Iulian&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the code is wrong , not the right code is upload.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 07:34:14 GMT</pubDate>
    <dc:creator>NoahXu</dc:creator>
    <dc:date>2024-01-18T07:34:14Z</dc:date>
    <item>
      <title>how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1789521#M1589</link>
      <description>&lt;P&gt;i use this public sw, but seems the sci port of ECU not respond .&lt;/P&gt;&lt;P&gt;i set the SCI as communication port ,also the freemaster SCI is stack is in place.&lt;/P&gt;&lt;P&gt;can you support to check why my app cannot work?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoahXu_0-1705411221178.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258399i970B0A5CB3ACAC01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NoahXu_0-1705411221178.png" alt="NoahXu_0-1705411221178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoahXu_1-1705411239861.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258400i9DD14BBBC1073DEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NoahXu_1-1705411239861.png" alt="NoahXu_1-1705411239861.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 13:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1789521#M1589</guid>
      <dc:creator>NoahXu</dc:creator>
      <dc:date>2024-01-16T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790309#M1591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219622"&gt;@NoahXu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is 9600 bps option selected on the UART screen ?&lt;/P&gt;
&lt;P&gt;I can see on your print screen 19200, but according to BLDC&amp;nbsp;&lt;SPAN&gt;MC9S12ZVML128 Motor Control Development Kit User Guide - default baudrate is 9600.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 11:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790309#M1591</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2024-01-17T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790334#M1592</link>
      <description>&lt;P&gt;Hello NoahXu,&lt;/P&gt;
&lt;P&gt;I am bit confused. Your screenshots are from FreeMASTER project created for PMSM FOC project, while you attached very very very old project for BLDC 6-Step comutation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please double check that you run the FreeMASTER project that came with project uploaded into MCU?&lt;BR /&gt;&lt;BR /&gt;Please let us know which sw project do you use.&lt;/P&gt;
&lt;P&gt;If you use standard S12ZVML EVB/KIT (e.g. &lt;A href="https://www.nxp.com/design/design-center/development-boards/automotive-motor-control-solutions/s12zvm-3-phase-bldc-pmsm-evaluation-board:S12ZVMEVB" data-dtmsubaction="S12ZVMEVB" target="_blank"&gt;&lt;SPAN class="name"&gt;S12ZVMEVB&lt;/SPAN&gt;&lt;/A&gt;, &lt;A href="https://www.nxp.com/design/design-center/development-boards/automotive-motor-control-solutions/s12zvm-pmsm-development-kit:MTRCKTSPNZVM128" data-dtmsubaction="MTRCKTSPNZVM128" target="_blank"&gt;&lt;SPAN class="name"&gt;MTRCKTSPNZVM128&lt;/SPAN&gt;&lt;/A&gt;), there are two USBs on the board. Please ensure that you connected the right USB port (accroding to J27 and J28 jumpers), you properly installed the&amp;nbsp;CP2102&amp;nbsp;(J27,J28 in possition 2-3) or OSBDM (J27,J28 in possition 1-2) drivers, you connected board to 12V and you uploaded the code into MCU, let the code run and disconnect (button in CW debugger) for avoiding interference with serial communication.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;RadekS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790334#M1592</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2024-01-17T12:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790837#M1595</link>
      <description>&lt;P&gt;Hi, Radek&lt;/P&gt;&lt;P&gt;it is my fault, i upload the wrong code.&lt;/P&gt;&lt;P&gt;now the right code is uploaded. it is the&amp;nbsp;S12ZVM_RDB_EWP.&lt;/P&gt;&lt;P&gt;the connection is like the screeshot.&lt;/P&gt;&lt;P&gt;but still got the negative feedback from freemaster.&lt;/P&gt;&lt;P&gt;is there any special setup should i do to start the sci connection?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoahXu_0-1705563046285.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258748iFAC7A06777FA483A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NoahXu_0-1705563046285.png" alt="NoahXu_0-1705563046285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790837#M1595</guid>
      <dc:creator>NoahXu</dc:creator>
      <dc:date>2024-01-18T07:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790839#M1596</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp; Iulian&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the code is wrong , not the right code is upload.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1790839#M1596</guid>
      <dc:creator>NoahXu</dc:creator>
      <dc:date>2024-01-18T07:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1792965#M1605</link>
      <description>&lt;P&gt;Hello NoahXu,&lt;/P&gt;
&lt;P&gt;Thank you for more details. Tips for you:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The standard BDM connector contains only BKGD, RESET and power supply pins. The RX and TX pins are there additionally, and I suppose, that the majority of BDM interfaces (like PEmicro Miltilink) will ignore these pins. You need both, BDM and any USB to TTL (at 5V) interfaces. The virtual COM port created by BDM interface typically works only in the case of on-board OSBDM, but not in the case of external interfaces like USB Multilink.&lt;/LI&gt;
&lt;LI&gt;When I open the attached SW, I can see that you tried to use the JTAG connection in FreeMASTER. This should be possible when you disconnect the BDM connection from CW debugger. However, the FreeMASTER features will be limited (e.g TSA tables or Recorder are not available). I believe that you tried that because you have a problem with the serial connection (original post).&lt;/LI&gt;
&lt;LI&gt;I checked in the SW that FreeMASTER set to use SCI1 at speed approx. 19200kbps (based on 50MHz bus clock and divider 2604). That should be correct.&lt;/LI&gt;
&lt;LI&gt;Remaining ideas:&lt;/LI&gt;
&lt;/UL&gt;
&lt;OL&gt;
&lt;LI&gt;Are you sure that you connected USB to serial interface correctly? The TX pin from interface should be connected with RX pin on board and opposite RX pin from interface should be connected with TX pin on board. I typically connect also the GND signal, but no power line (if available).&lt;/LI&gt;
&lt;LI&gt;Are you sure that you installed correctly the drivers for USB to TTL interface? Please use the Win+X buttons to open Device Manager and check what virtual COM port belongs to USB to TTL interface.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;RadekS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 11:57:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1792965#M1605</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2024-01-22T11:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1793003#M1606</link>
      <description>&lt;P&gt;Hi, Radek&lt;/P&gt;&lt;P&gt;due to the limited room of&amp;nbsp; the layput, i use the 6 pin connector as previous attatched for 2 purpose:&lt;/P&gt;&lt;P&gt;i made 2 cable harness, after i flasehed the ECU, i will disconnect the BDM cables and connect uart cables for debug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the uart cable have 3 pins , rx tx and gnd, which is conenct to tx rx and gnd of ECU.&lt;/P&gt;&lt;P&gt;i use this cable for other app, and it works. but for the s12z app it just not work.&lt;/P&gt;&lt;P&gt;so i cannot use this recorder function for some precise debug like the 3 phase current signal, svm sectors...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have some demos which is ok to use the uart debug functions? i would like to check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1793003#M1606</guid>
      <dc:creator>NoahXu</dc:creator>
      <dc:date>2024-01-22T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sci/uart to debug by freeamster</title>
      <link>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1793085#M1607</link>
      <description>&lt;P&gt;Hi NoahXu,&lt;/P&gt;
&lt;P&gt;attached is quite a primitive SCI example code for your reference.&lt;/P&gt;
&lt;P&gt;Just init and transmit strings in pooling mode.&lt;/P&gt;
&lt;P&gt;I hope it helps you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;RadekS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 15:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/how-to-use-sci-uart-to-debug-by-freeamster/m-p/1793085#M1607</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2024-01-22T15:40:59Z</dc:date>
    </item>
  </channel>
</rss>

