<?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: LPC1518 RS485 master mode (9th bit) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634942#M25067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to write it as a word and not as a byte. I.e. any value over 255 will have the ninth bit set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't remember if the current CMSIS code treats it as a word or if I wrote my own function in there to allow it. Some of the code cast the value as a uint8_t which chops off that ninth bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 21:21:22 GMT</pubDate>
    <dc:creator>chrispflieger</dc:creator>
    <dc:date>2017-10-05T21:21:22Z</dc:date>
    <item>
      <title>LPC1518 RS485 master mode (9th bit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634938#M25063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set the 9th bit when sending data with a LPC1518,?&lt;/P&gt;&lt;P&gt;On the LPC1830 I have used the sticky parity for this but I can't find this for the LPC 1518.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jeroen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 13:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634938#M25063</guid>
      <dc:creator>jeroenbussink</dc:creator>
      <dc:date>2017-03-08T13:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1518 RS485 master mode (9th bit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634939#M25064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen Bussink,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to set the 9 bit mode, you can select the DATAEN as 0x02, just like the user manual:&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/16594iC00F78A0CDC0EBF9/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16648iD5E37D41590F5453/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&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>Thu, 09 Mar 2017 10:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634939#M25064</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-09T10:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1518 RS485 master mode (9th bit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634940#M25065</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;Thanks for you answer, the things you point out I already set.&lt;/P&gt;&lt;P&gt;But my question is how do I set the 9th bit to 1 so the LPC1518 will send data with the 9th bit set to 1.&lt;/P&gt;&lt;P&gt;In our protocol we send out the first byte (address) with the 9th bit set to 1 and the rest of the bytes with the 9th bit 0, so the slave device knows when a address byte is received.&lt;/P&gt;&lt;P&gt;On the LPC1830 I set the sticky parity to 1 or 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jeroen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634940#M25065</guid>
      <dc:creator>jeroenbussink</dc:creator>
      <dc:date>2017-03-09T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1518 RS485 master mode (9th bit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634941#M25066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen Bussink,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think maybe you misunderstanding the 9bit function in the LPC15xx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Multiprocessor/multidrop (9-bit) mode with software address compare.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the user manual, this 9bit is just used for the address compare, you can consider the MSB=1 when set the 9bit mode, it normally used for the address compare, the data sending may don't have the 9 bit function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&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>Mon, 13 Mar 2017 10:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634941#M25066</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-13T10:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1518 RS485 master mode (9th bit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634942#M25067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to write it as a word and not as a byte. I.e. any value over 255 will have the ninth bit set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't remember if the current CMSIS code treats it as a word or if I wrote my own function in there to allow it. Some of the code cast the value as a uint8_t which chops off that ninth bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 21:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1518-RS485-master-mode-9th-bit/m-p/634942#M25067</guid>
      <dc:creator>chrispflieger</dc:creator>
      <dc:date>2017-10-05T21:21:22Z</dc:date>
    </item>
  </channel>
</rss>

