<?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>Other NXP ProductsのトピックRe: SC16IS740 SPI TLR Interrupt</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692463#M4967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satbir,&lt;/P&gt;&lt;P&gt;Can you read the TLR register in order to verify that 0x10 has been written? Can you please share your results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an additional note, if a crystal is used, the host processor must wait until the crystal is generating a stable clock before accessing the UART transmitter or receiver. Are you waiting for the stable clock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crystal’s start-up time depends on the crystal being used, VCC ramp-up time and the loading capacitor values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2017 17:07:21 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2017-07-31T17:07:21Z</dc:date>
    <item>
      <title>SC16IS740 SPI TLR Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692462#M4966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get an interrupt when 4 characters have been received by the SPI to UART bridge, and I do get an interrupt on the IRQ pin, but the interrupt source is always Time Out 0xCC, in IIR, instead of 0xC4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is used to set the UART Bridge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPI_Write (0x03, 0x80); // LCR 0x80 to program baud rate&lt;BR /&gt; SPI_Write (0x00, 0x0D); // DLL 0xD = 9600 with X1=2 MHz&lt;BR /&gt; SPI_Write (0x01, 0x00); // DLH divisor = 0xD for 9600 BPS&lt;/P&gt;&lt;P&gt;SPI_Write (0x03, 0xBF); // LCR access EFR register&lt;BR /&gt; SPI_Write (0x02, 0x10); // EFR enable enhanced registers EFR[4] = 1&lt;BR /&gt; SPI_Write (0x04, 0x04); // MCR enable TLR registers MCR[2] = 1&lt;BR /&gt; SPI_Write (0x07, 0x10); // TLR RX interrupt Trigger Level Set to 4 Characters&lt;BR /&gt; SPI_Write (0x04, 0x00); // MCR Disable TLR registers MCR = 0&lt;/P&gt;&lt;P&gt;SPI_Write (0x03, 0x00); // LCR Clear LCR&lt;/P&gt;&lt;P&gt;SPI_Write (0x03, 0x03); // LCR 8 data bit, 1 stop bit, no parity&lt;BR /&gt; SPI_Write (0x01, 0x01); // IER Enable RX Interrupt&lt;/P&gt;&lt;P&gt;SPI_Write (0x02, 0x06); // FCR reset TXFIFO, reset RXFIFO, non FIFO mode&lt;BR /&gt; SPI_Write (0x02, 0x01); // FCR enable FIFO mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It interrupts correctly if I send 8 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice if this is even possible or what am I doing wrong?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satbir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 21:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692462#M4966</guid>
      <dc:creator>satbir7</dc:creator>
      <dc:date>2017-07-11T21:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: SC16IS740 SPI TLR Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692463#M4967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satbir,&lt;/P&gt;&lt;P&gt;Can you read the TLR register in order to verify that 0x10 has been written? Can you please share your results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an additional note, if a crystal is used, the host processor must wait until the crystal is generating a stable clock before accessing the UART transmitter or receiver. Are you waiting for the stable clock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crystal’s start-up time depends on the crystal being used, VCC ramp-up time and the loading capacitor values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:07:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692463#M4967</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2017-07-31T17:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: SC16IS740 SPI TLR Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692464#M4968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have tried reading the 0x07 Register, after I have written to it, and it does return 0x10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the CLKOUT feature of the LPC11C14 to provide clock to SPI/UART chip, and the MCU runs of a 16MHz crystal. The PLL loops waits for the clock to get stable and then the Setup is done on the chip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other advise ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satbir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 22:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SC16IS740-SPI-TLR-Interrupt/m-p/692464#M4968</guid>
      <dc:creator>satbir7</dc:creator>
      <dc:date>2017-08-21T22:41:06Z</dc:date>
    </item>
  </channel>
</rss>

