<?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: UART Interrupt in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179063#M2555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UART3 is mapped into TTYD device in MQX. If you would like to use MQX serial driver you can remap default serial console from OSJTAG to TWR-SER uart with using interrupt mode by adding following lines into user_config.h.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_TTYD 0&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_ITTYD 1&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL "ittyd:" /* TWR-SER interrupt mode */&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL_DEFINED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other parameters as baud rate ,.... can be changed in init_sci.c file. Then recompile BSP and your application and you can test it. Run hello example application and it will print "Hello World" message into UART3 in interrupt mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2011 23:05:54 GMT</pubDate>
    <dc:creator>petr_uhlir</dc:creator>
    <dc:date>2011-11-03T23:05:54Z</dc:date>
    <item>
      <title>UART Interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179062#M2554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the UART3 connector to exchange data between PC an kinets K60 Tower.&lt;/P&gt;&lt;P&gt;Without MQX I ve no problems to read the data via interrupt. Now I try to do the same inside a MQX project.&lt;/P&gt;&lt;P&gt;I used the same interrupt routine as bevore and I exchange the command&lt;/P&gt;&lt;P&gt;enable_irq(51);&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;_int_install_isr(INT_UART3_RX_TX, isr_uart3,isr_ptr);&lt;/P&gt;&lt;P&gt;but I never jump into the isr. The initialization of the UART3 cannot be the problem, cause I used the same routine as in my former non MQX project and a comparison of the register settings shows the same. And I can read the UART receive data by polling. But fortunately my application need a interrupt solution.&lt;/P&gt;&lt;P&gt;I tried the isr example in the mqx directory without problems. In the isr example project there s no problem in jumping to the isr routine.&lt;/P&gt;&lt;P&gt;Instead of&lt;/P&gt;&lt;P&gt;_int_install_isr(INT_UART3_RX_TX, isr_uart3,isr_ptr);&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;_int_install_isr(51,isr_uart3,isr_ptr);&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;_int_install_isr(67,isr_uart3,isr_ptr);&lt;/P&gt;&lt;P&gt;and many different other numbers, everything without success.&lt;/P&gt;&lt;P&gt;I read in the forum, that maybe the settings for BSPCFG_ENABLE_ITTYA&lt;/P&gt;&lt;P&gt;BSPCFG_ENABLE_ITTYB&lt;/P&gt;&lt;P&gt;BSPCFG_ENABLE_ITTYC&lt;/P&gt;&lt;P&gt;BSPCFG_ENABLE_TTYA&lt;/P&gt;&lt;P&gt;BSPCFG_ENABLE_TTYB&lt;/P&gt;&lt;P&gt;BSPCFG_ENABLE_TTYC&lt;/P&gt;&lt;P&gt;might be the problem. But I tried many different combinations of 1 or 0 and recompile the BSP project, but everything without success.&lt;/P&gt;&lt;P&gt;So I hope you can help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 21:44:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179062#M2554</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-03T21:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: UART Interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179063#M2555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UART3 is mapped into TTYD device in MQX. If you would like to use MQX serial driver you can remap default serial console from OSJTAG to TWR-SER uart with using interrupt mode by adding following lines into user_config.h.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_TTYD 0&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_ITTYD 1&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL "ittyd:" /* TWR-SER interrupt mode */&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL_DEFINED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other parameters as baud rate ,.... can be changed in init_sci.c file. Then recompile BSP and your application and you can test it. Run hello example application and it will print "Hello World" message into UART3 in interrupt mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 23:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179063#M2555</guid>
      <dc:creator>petr_uhlir</dc:creator>
      <dc:date>2011-11-03T23:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: UART Interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179064#M2556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That s the solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 15:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-Interrupt/m-p/179064#M2556</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-04T15:50:42Z</dc:date>
    </item>
  </channel>
</rss>

