<?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: Using Uart with Kinetis KE02 without processor expert in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-Uart-with-Kinetis-KE02-without-processor-expert/m-p/1202638#M59154</link>
    <description>&lt;P&gt;Hey everyone, i'm fixed the problem, so i'm going to share the solution only if someone else need it.&lt;/P&gt;&lt;P&gt;Basically i forgot enable the clock source for the peripheral, so, setting the right bit in the register&amp;nbsp;SIM_SCGC the peripheral works, for UART0 you can use a mask included in the header for ke02z:&lt;/P&gt;&lt;P&gt;SIM_SCGC |= SIM_SCGC_UART0_MASK;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 21:31:48 GMT</pubDate>
    <dc:creator>Ofgallo96</dc:creator>
    <dc:date>2020-12-21T21:31:48Z</dc:date>
    <item>
      <title>Using Uart with Kinetis KE02 without processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-Uart-with-Kinetis-KE02-without-processor-expert/m-p/1201994#M59143</link>
      <description>&lt;P&gt;Hey guys, i'm trying to use uart peripheral with mke02z32vlc4, with processor isn't hard but for my application i need optimize the size code because i have many other modules.&lt;/P&gt;&lt;P&gt;The solution was try make all project with manual register write, but, when i put some value in any config register peripheral the program enter in a loop to irq default handler, in the debug is something like:&lt;/P&gt;&lt;P&gt;-&amp;gt; write register ----&amp;gt; defalut irq handler ---|&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;^--------------------------------------------------|&lt;/P&gt;&lt;P&gt;This occurs with other peripherals too, SPI, ADC, ... the line that crash the program is:&lt;/P&gt;&lt;P&gt;UART1_SC2 = 0x0C; //write config to enable uart&lt;/P&gt;&lt;P&gt;And the entire code is:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://3.15.96.69/html/code.PNG" border="0" alt="" width="735" height="550" /&gt;I think that is a problem with the interrupt configs in kinetis, but i don't have many experience with this, so please, if anybody can help me&amp;nbsp;&lt;SPAN&gt;I will appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 23:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-Uart-with-Kinetis-KE02-without-processor-expert/m-p/1201994#M59143</guid>
      <dc:creator>Ofgallo96</dc:creator>
      <dc:date>2020-12-19T23:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Uart with Kinetis KE02 without processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-Uart-with-Kinetis-KE02-without-processor-expert/m-p/1202638#M59154</link>
      <description>&lt;P&gt;Hey everyone, i'm fixed the problem, so i'm going to share the solution only if someone else need it.&lt;/P&gt;&lt;P&gt;Basically i forgot enable the clock source for the peripheral, so, setting the right bit in the register&amp;nbsp;SIM_SCGC the peripheral works, for UART0 you can use a mask included in the header for ke02z:&lt;/P&gt;&lt;P&gt;SIM_SCGC |= SIM_SCGC_UART0_MASK;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 21:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-Uart-with-Kinetis-KE02-without-processor-expert/m-p/1202638#M59154</guid>
      <dc:creator>Ofgallo96</dc:creator>
      <dc:date>2020-12-21T21:31:48Z</dc:date>
    </item>
  </channel>
</rss>

