<?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>S12 / MagniV MicrocontrollersのトピックHow to communicate with Even Parity device?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-communicate-with-Even-Parity-device/m-p/1055508#M17215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mcu is MC9S12XEP.I use it's serial communication interface to communicate with other device which is EVEN Parity 485 Bus.It doesn't work now.But i can use PC software(Even Parity) to communicate with that device.&lt;/P&gt;&lt;P&gt;In the RM file : SCICR1.PE = 1 enable the parity function and insert a parity bit in the most significiant bit position.And i get the result in PC software like this:&lt;/P&gt;&lt;P&gt;0x01 change to 0x81&lt;/P&gt;&lt;P&gt;0x85 change to 0x05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally Even Parity will insert a parity bit at the end of data.&lt;/P&gt;&lt;P&gt;What can i do to communicate with Even Parity communication device using MC9S12XEP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2020 02:37:11 GMT</pubDate>
    <dc:creator>everkimage</dc:creator>
    <dc:date>2020-05-07T02:37:11Z</dc:date>
    <item>
      <title>How to communicate with Even Parity device?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-communicate-with-Even-Parity-device/m-p/1055508#M17215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mcu is MC9S12XEP.I use it's serial communication interface to communicate with other device which is EVEN Parity 485 Bus.It doesn't work now.But i can use PC software(Even Parity) to communicate with that device.&lt;/P&gt;&lt;P&gt;In the RM file : SCICR1.PE = 1 enable the parity function and insert a parity bit in the most significiant bit position.And i get the result in PC software like this:&lt;/P&gt;&lt;P&gt;0x01 change to 0x81&lt;/P&gt;&lt;P&gt;0x85 change to 0x05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally Even Parity will insert a parity bit at the end of data.&lt;/P&gt;&lt;P&gt;What can i do to communicate with Even Parity communication device using MC9S12XEP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 02:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-communicate-with-Even-Parity-device/m-p/1055508#M17215</guid>
      <dc:creator>everkimage</dc:creator>
      <dc:date>2020-05-07T02:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to communicate with Even Parity device?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-communicate-with-Even-Parity-device/m-p/1055509#M17216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SCICR1.PE = 1 enable the parity function and insert a parity bit in the most significiant bit position&lt;/LI&gt;&lt;LI&gt;Normally Even Parity will insert a parity bit at the end of data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCI is LSB first. So most significant bit position is at the end of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even or odd parity is set up using PT bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW you didn't say how many bits is your data format, 8 or 9. If your S12XE is set up for 8bits, it would mean then 8bits &lt;STRONG&gt;including&lt;/STRONG&gt; parity bit. Don't you need 8bits &lt;STRONG&gt;plus&lt;/STRONG&gt; parity bit&amp;nbsp; = 9 bits? Please check 20.4.3 Data Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2020 20:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-communicate-with-Even-Parity-device/m-p/1055509#M17216</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2020-05-10T20:37:43Z</dc:date>
    </item>
  </channel>
</rss>

