<?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: LPC11U68JBD48 - DSR Pin State in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697862#M28086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gordon Jefferies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let's confirm the question again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you mean, you enable the PIO1_20 as UART DSR pin at first, then change the pin function to SPI SCK function, but you didn't disable the UART module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; At this time, you want to know the UART DSR state, is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Aug 2017 06:48:30 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-08-15T06:48:30Z</dc:date>
    <item>
      <title>LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697859#M28083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am looking at using the LPC11U68 in a product. I need USART0 and 1 and the SPI (SSP) 0 and 1.&lt;/P&gt;&lt;P&gt;With regards to the USART0, I just need the TX, RX, CTS and RTS.&lt;/P&gt;&lt;P&gt;My question is, should I allocate the DSR0 (PIO1_20) to the SSP1_SCK in the pins function register, what will be the 'state' of DSR0 that the modem control register will see?&lt;/P&gt;&lt;P&gt;Does it see it as permanently ready?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Aug 2017 11:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697859#M28083</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-13T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697860#M28084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gordon Jefferies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you for your interest in NXP LPC product, I would like to provide service for you.&lt;BR /&gt;If you want to use the PIO1_20 as the SPI_SCK pin, you must configure the digitial pin control register, FUNC=2, because func2 is the SSPI1_SCK pin, you can find it in the user manual, &lt;BR /&gt;Table 83. IOCON function assignments.&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/20483iF0E43115FE764955/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;Then it is no relationship with the DSR0 function, it is controlled by the SPI module now.&lt;BR /&gt;After you configure the SPI as the master, then the SPI_SCK is the output pin.&lt;BR /&gt;The state of the pin is determined by your SPI module CPOL, &lt;BR /&gt;If the CPOL=0, then when no clock to output, the state is low;&lt;BR /&gt;If the CPOL=1, then when no clock to output, the state is high;&lt;BR /&gt;Wish it helps you!&lt;BR /&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 03:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697860#M28084</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-15T03:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697861#M28085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question was more with regards to the modem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to the modem functionality, modem has a number of control&lt;/P&gt;&lt;P&gt;lines to manage the flow of data. RTS, CTS, DTR, DCD, DSR, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSR is an input and is usually used to signify that the device it is&lt;/P&gt;&lt;P&gt;connected to is ready for use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What state will be read from the modem status register (address 0x4000 8018&lt;/P&gt;&lt;P&gt;bit 1) when the pin is assigned to the SPI_SCK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 06:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697861#M28085</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-15T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697862#M28086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gordon Jefferies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let's confirm the question again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you mean, you enable the PIO1_20 as UART DSR pin at first, then change the pin function to SPI SCK function, but you didn't disable the UART module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; At this time, you want to know the UART DSR state, is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 06:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697862#M28086</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-15T06:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697863#M28087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use the UART and the SPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PIO1_20 is only assigned to the SPI SCK - never to the USART0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I read the modem status register (address 0x4000 8018 bit 1) what will I&lt;/P&gt;&lt;P&gt;read?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 06:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697863#M28087</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-15T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697864#M28088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way of asking:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use USART0 and SPI 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I assign PIO1_20 to the SPI SCK, will the modem still work? Is DSR bit&lt;/P&gt;&lt;P&gt;in the modem control / status register set to a state to allow the modem to&lt;/P&gt;&lt;P&gt;function correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On 15 August 2017 at 08:53, Gordon Jefferies &amp;lt;gordon.jefferies@gmail.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 07:33:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697864#M28088</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-15T07:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697865#M28089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon Jefferies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find in the register, after reset, the data is 0 in default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But, if you run some codes, then want to know the DSR data, you can read MSR[DSR] directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Actually, you can debug it on your board, then you will get the result which you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697865#M28089</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-15T08:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697866#M28090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you change PIO1_20 function from DSR to SPI_SCK, the DSR function won't work any more, unless you choose the DSR pin for the UART module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697866#M28090</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-15T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697867#M28091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the DSR function not working, will the modem, with the rest of the&lt;/P&gt;&lt;P&gt;flow control, continue to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 09:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697867#M28091</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-15T09:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U68JBD48 - DSR Pin State</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697868#M28092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been going through the posts trying to understand where we are missing&lt;/P&gt;&lt;P&gt;each other and maybe it is in my title to the post. So I'll start again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all I don't have any hardware. I am trying to make sure this&lt;/P&gt;&lt;P&gt;processor is suitable for my application before I do a PCB layout. So I&lt;/P&gt;&lt;P&gt;cannot read any registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different manufacturers offer different options with the peripherals, so I&lt;/P&gt;&lt;P&gt;cannot assume how NXP have configured this processor, so I need to make use&lt;/P&gt;&lt;P&gt;I understand it before I make PCB's. In addition I cannot find the&lt;/P&gt;&lt;P&gt;information in the datasheet or the user manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The title of my post probably should have been 'DSR register state' because&lt;/P&gt;&lt;P&gt;that is where I need understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSR is the 'Data set ready' control bit. It is an indication that the&lt;/P&gt;&lt;P&gt;device, this modem wants to talk to is read to receive data. If this is not&lt;/P&gt;&lt;P&gt;in the correct state, the modem will not send data because it believes the&lt;/P&gt;&lt;P&gt;device it wants to send data to is not in a state to receive the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the pin that indicates this to the modem control register is PIO1_2.&lt;/P&gt;&lt;P&gt;But I need to assign this pin as the SPI_SCK. So my question is - if this&lt;/P&gt;&lt;P&gt;pin is assigned to SPI_SCK what tells the modem control that it is OK to&lt;/P&gt;&lt;P&gt;send the data? What sets the bit in the control register to the correct&lt;/P&gt;&lt;P&gt;value? Is this bit set automatically to the correct state within the modem&lt;/P&gt;&lt;P&gt;control register, to allow the modem to function, when this pin is assigned&lt;/P&gt;&lt;P&gt;to another function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is the modem not usable when the PIO1_2 is assigned to the SPI_SCK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On 15 August 2017 at 11:13, Gordon Jefferies &amp;lt;gordon.jefferies@gmail.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 07:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U68JBD48-DSR-Pin-State/m-p/697868#M28092</guid>
      <dc:creator>gjeff</dc:creator>
      <dc:date>2017-08-16T07:05:56Z</dc:date>
    </item>
  </channel>
</rss>

