<?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: LIN on K66 not working in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-on-K66-not-working/m-p/669536#M41129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;Have you config the corresponding pin to uart mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 10:09:56 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2017-06-27T10:09:56Z</dc:date>
    <item>
      <title>LIN on K66 not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-on-K66-not-working/m-p/669535#M41128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to port&amp;nbsp;FSL_LIN_2.x_STACK_4.5.9 on K66 processor and I took KEA128 project as reference from the stack. After porting I dont see any messages sent over the Tx line of UART. At this point my UART registers looks like this&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/23712i518A652132A08CDB/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;UART is initialized&amp;nbsp;as LIN using the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART_Type* const BASE[] = UART_BASE_PTRS;&lt;BR /&gt; UART_Type* base = BASE[4];&lt;/P&gt;&lt;P&gt;// Un-gate UART module clock&lt;BR /&gt; CLOCK_SYS_EnableUartClock(4);&lt;/P&gt;&lt;P&gt;// UART clock source is either system or bus clock depending on instance&lt;BR /&gt; l_u32 uartSourceClock = CLOCK_SYS_GetUartFreq(4);&lt;/P&gt;&lt;P&gt;// Initialize UART baud rate, bit count, parity and stop bit.&lt;BR /&gt; UART_HAL_SetBaudRate(base, uartSourceClock, lconf_p-&amp;gt;baud_rate);&lt;/P&gt;&lt;P&gt;_pUART-&amp;gt;uartcr1.byte = 0x00; /* one start bit, eight data bits, one stop bit */&lt;BR /&gt; _pUART-&amp;gt;uartcr2.byte = (UARTCR2_TE_MASK | UARTCR2_RE_MASK);&lt;/P&gt;&lt;P&gt;_pUART-&amp;gt;uartsr2.byte |= (UARTSR2_LBKDIF_MASK | UARTSR2_BRK13_MASK | UARTSR2_LBKDE_MASK); /* clear LIN Break Detection flag */&lt;BR /&gt; NVIC_EnableIRQ(UART4_RX_TX_IRQn);&lt;BR /&gt; _pUART-&amp;gt;uartcr2.byte |= UARTCR2_RIE_MASK | UARTCR2_RWU_MASK; /* enable RX complete interrupt */&lt;BR /&gt; _pUART-&amp;gt;uartcr3.byte |= UARTCR3_FEIE_MASK; /* Enable Frame Error interrupt */&lt;BR /&gt; _pUART-&amp;gt;uartbdh.byte |= UARTBDH_LBKDIE_MASK; /* enable LIN Break Detection interrupt */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why am I not seeing any messages sent over UART's Tx line, am I missing any configuration? Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 17:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-on-K66-not-working/m-p/669535#M41128</guid>
      <dc:creator>madhusandeept</dc:creator>
      <dc:date>2017-06-21T17:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: LIN on K66 not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-on-K66-not-working/m-p/669536#M41129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;Have you config the corresponding pin to uart mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-on-K66-not-working/m-p/669536#M41129</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-06-27T10:09:56Z</dc:date>
    </item>
  </channel>
</rss>

