<?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: trouble reading uart in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394519#M1241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot post the whole project &amp;gt; I am trying to just read one character at a time or call the ISR. It does not do either&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 16:05:38 GMT</pubDate>
    <dc:creator>josephgundel</dc:creator>
    <dc:date>2015-07-08T16:05:38Z</dc:date>
    <item>
      <title>trouble reading uart</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394517#M1239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 UARTs I am using on the K02 Board I have.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One is set up for DEBUG and it works normal. I can Use Interrupts no problem.&lt;/P&gt;&lt;P&gt;When I configure the 2nd UART, UART1 I cannot read anything out of the port. I cannot use Interrupts as well.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my configuration:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*! User configuration structure 0 */&lt;/P&gt;&lt;P&gt;/*! fsl_uart1 configuration structure */&lt;/P&gt;&lt;P&gt;const uart_user_config_t fsl_uart1_InitConfig0 = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .baudRate = 115228U,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .parityMode = kUartParityDisabled,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .stopBitCount = kUartOneStopBit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bitCountPerChar = kUart8BitsPerChar,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static uart_status_t uart1_init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uart_status_t status = UART_DRV_Init(FSL_FSL_UART1, &amp;amp;uart1_state, &amp;amp;fsl_uart1_InitConfig0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_HAL_SetIntMode(g_uartBaseAddr[FSL_FSL_UART1],kUartIntRxDataRegFull,true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return status;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried reading using blocking and also using an Interrupt and It never reads anything. I can transmit out no problem but I cannot read.&lt;/P&gt;&lt;P&gt;I know it is not a hardware issue because when i switch this port to the debug instance it works correctly. Something must be configuring it differrently when used as Debug.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 14:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394517#M1239</guid>
      <dc:creator>josephgundel</dc:creator>
      <dc:date>2015-07-08T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: trouble reading uart</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394518#M1240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, where do you have any array for received characters?&lt;/P&gt;&lt;P&gt;Can you attach whole project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 14:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394518#M1240</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-07-08T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: trouble reading uart</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394519#M1241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot post the whole project &amp;gt; I am trying to just read one character at a time or call the ISR. It does not do either&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 16:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394519#M1241</guid>
      <dc:creator>josephgundel</dc:creator>
      <dc:date>2015-07-08T16:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: trouble reading uart</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394520#M1242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joseph, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;never mind, please just send me part of the code where you work with uart.&lt;/P&gt;&lt;P&gt;I mean pin settings on UART, UART settings, interrupts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 12:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/trouble-reading-uart/m-p/394520#M1242</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-07-10T12:08:14Z</dc:date>
    </item>
  </channel>
</rss>

