<?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 OpenSDA Circuit Design &amp; Implementation in MBDT DIY projects</title>
    <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950356#M13</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Discussion space for the hardware design and implementation of the OpenSDA interface circuit - highlighting use of the K20DX.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 13:39:43 GMT</pubDate>
    <dc:creator>343mjt</dc:creator>
    <dc:date>2019-07-08T13:39:43Z</dc:date>
    <item>
      <title>OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950356#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Discussion space for the hardware design and implementation of the OpenSDA interface circuit - highlighting use of the K20DX.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 13:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950356#M13</guid>
      <dc:creator>343mjt</dc:creator>
      <dc:date>2019-07-08T13:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950357#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;would like to start with a question about the level-shifting logic in the OpenSDA circuit.or the OpenSDA circuit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In viewing the schematic for the OpenSDA circuit used in the FRDM-K22F (Sheet 4, "OpenSDA Interface"), the level-shifter U2 has its direction pin (DIR, pin 5) tied between 10k/GND and 4.7k/3.3V. This brings it to about 2.24V. It is connected to a net titled SDA_RX_EN, but that net shows up nowhere else throughout the multi-page schematic, so apparently it is just a label with no external driving factor influencing it, meaning it just stays hovering at 2.24V. &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90581i873CBA2999C0C92B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;datasheet for the&amp;nbsp;74LVCH1T45 (U2) specifies that the DIR input for VCCI between 3.0V and 3.6V is a 2.0V minimum. For an application where VCCI is 3.3V, having DIR tied to 2.24V is uncomfortably close to the 2.0V edge case, especially if for no particular reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90582i4D5C7DF67D757427/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U2 follows a slightly different pattern than U11 and U6 since its DIR pin is being tied manually and not toggled digitally by an external pin (recall that the net it's attached to connects to nothing else in the design, even across other Freedom board designs).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90577iE9153D03D171B73E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;So why would this pin not be tied to a solid high (P3V3_SDA) or solid low (GND)? Wouldn't residing near an edge case only be a risk for trouble? Is there something else I might be missing about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950357#M14</guid>
      <dc:creator>343mjt</dc:creator>
      <dc:date>2019-07-08T14:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950358#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/adriantudor"&gt;adriantudor&lt;/A&gt;‌, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950358#M15</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-07-08T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950359#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also is the reasoning for different part number on the one level shifter just to get another channel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 18:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950359#M16</guid>
      <dc:creator>loverdeg</dc:creator>
      <dc:date>2019-07-08T18:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950360#M17</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/loverdeg@embeddedplanet.com"&gt;loverdeg@embeddedplanet.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately we are not responsible with the PCB design for the EVB and the same reverse engineer we do whenever there's an issue or so.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we do believe that the signal SDA_RX_EN might be propagated from an older, different schematic or so, which had a&amp;nbsp;direction control. As you said, that looks like a voltage divider to keep the DIR up at 3V3 from 5V. Maybe this was kept or forgotten, lately connected to the 3V3 and just works due to the low 2V high logic limit of the transceiver. But it is useless to control the pin direction for the serial RX or TX because it will work in only one way.&amp;nbsp;In your schematic (If you will build a PCB), I think it is safer to connect the DIR directly to the 3V3 or through a pull up resistor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, for U11 and U6 the OpenSDA controls the Data and Clock direction ( Serial Wire Debugger is bidirectional communication), the same question is raised up here too: Why was the need to use a resistor level shifter from 3V3 to the&amp;nbsp; 2.24V. This has the same feeling that the schematic has been propagated from another board and the level shifter was used from 5V. Same, I think it will work only with a pull up resistor from 3V3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90649i77CA22C3322118F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the last question, I think they used for U1 a transceiver with two level shifters because for the UART_TX_MCU and the other signal the direction is always from B to A like in the Table attached. So there was no need to put two components with the DIR connected directly to ground from two signals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same schematic is used on the S32K EVB which&amp;nbsp;strengthens my assumption that the logical design is the same on multiple boards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to design your own PCB with K22F mcu or S32K you can&amp;nbsp;put just the MCU on the board, but having a header pin connected to the&amp;nbsp;SWD_DIO_TGTMCU,&amp;nbsp;SWD_CLK_TGTMCU and MCU's RESET pin. Keep the OpenSDA on the Eval Board&amp;nbsp; and connect&amp;nbsp; the EVB when programming to your board trough the J4, J10 and J13 pins. You just need to be carefull to have the same GND between the boards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 11:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950360#M17</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-07-09T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950361#M18</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to use the K20 for SWO. We&amp;nbsp; know we would need to add software support for this ourselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further insight into the topic of SWO?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 21:27:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950361#M18</guid>
      <dc:creator>loverdeg</dc:creator>
      <dc:date>2019-07-11T21:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950362#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/loverdeg@embeddedplanet.com"&gt;loverdeg@embeddedplanet.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In think you will find a nice tutorial here:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/"&gt;https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You can also have a look on this topic:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/318058"&gt;https://community.nxp.com/thread/318058&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 07:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/950362#M19</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-07-12T07:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDA Circuit Design &amp; Implementation</title>
      <link>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/1159562#M30</link>
      <description>&lt;P&gt;OpenSDA is a serial and debug adapter that is built into the entire Freedom board lineup, and can also be found on other embedded boards. It provides a bridge between your computer (or other USB host) and the embedded target processor.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 04:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MBDT-DIY-projects/OpenSDA-Circuit-Design-Implementation/m-p/1159562#M30</guid>
      <dc:creator>Batiste</dc:creator>
      <dc:date>2020-09-26T04:28:35Z</dc:date>
    </item>
  </channel>
</rss>

