<?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 SCI in 8 bit modes send the 9th (recessive) bit in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667048#M14044</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;I use S12ZVML uC and I have a stange issue with SCI.&lt;/P&gt;&lt;P&gt;SCI is used for LIN communication together with integrated LIN transceiver.&lt;/P&gt;&lt;P&gt;SCI is configured for 8 bit data Format (SCI0CR1_M = 0)&lt;/P&gt;&lt;P&gt;Communication works OK but with oscilloscope, I see that after every transmitted byte I have an additional recessive bit.&lt;/P&gt;&lt;P&gt;It looks like SCI transmitter always sends 11 bits (start bit, 8 data bits, 1 recessive bit, stop bit).&lt;/P&gt;&lt;P&gt;Does SCI transmitte always sends 11 bit? (Although SCI is configured for 8 data bit operation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2017 15:09:27 GMT</pubDate>
    <dc:creator>igorpepelyaev</dc:creator>
    <dc:date>2017-08-07T15:09:27Z</dc:date>
    <item>
      <title>SCI in 8 bit modes send the 9th (recessive) bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667048#M14044</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;I use S12ZVML uC and I have a stange issue with SCI.&lt;/P&gt;&lt;P&gt;SCI is used for LIN communication together with integrated LIN transceiver.&lt;/P&gt;&lt;P&gt;SCI is configured for 8 bit data Format (SCI0CR1_M = 0)&lt;/P&gt;&lt;P&gt;Communication works OK but with oscilloscope, I see that after every transmitted byte I have an additional recessive bit.&lt;/P&gt;&lt;P&gt;It looks like SCI transmitter always sends 11 bits (start bit, 8 data bits, 1 recessive bit, stop bit).&lt;/P&gt;&lt;P&gt;Does SCI transmitte always sends 11 bit? (Although SCI is configured for 8 data bit operation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 15:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667048#M14044</guid>
      <dc:creator>igorpepelyaev</dc:creator>
      <dc:date>2017-08-07T15:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: SCI in 8 bit modes send the 9th (recessive) bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667049#M14045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just try that on my side, but the signal looks as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LIN.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17452iC821CA05EAD2A6B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="LIN.png" alt="LIN.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you attach your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 07:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667049#M14045</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-08-09T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: SCI in 8 bit modes send the 9th (recessive) bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667050#M14046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for fast responding.&lt;/P&gt;&lt;P&gt;I have just found out what is the problem.&lt;/P&gt;&lt;P&gt;Our communication is driven by receive Interrupt (This is necessary for LIN communication).&lt;/P&gt;&lt;P&gt;As soon as we have receive Interrupt, byte is loaded in SCI data register.&lt;/P&gt;&lt;P&gt;It seems to be up to one bit time delta between byte is loaded in SCI data register and start bit appears on bus.&lt;/P&gt;&lt;P&gt;I think because of this, in reference manual section 16.4.5.2 "Character Transmittion) is said:&lt;/P&gt;&lt;P&gt;1) Poll the TDRE flag&lt;/P&gt;&lt;P&gt;2) If the TDRE flag is set, write the data to be transmitted to SCIDRH/L&lt;/P&gt;&lt;P&gt;Unfortunately it is not possible for LIN communication (This communication should be driven by receive Interrupt to be able to stop commnication in case of any problems). As a result I have up to 1 bit between bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 17:35:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI-in-8-bit-modes-send-the-9th-recessive-bit/m-p/667050#M14046</guid>
      <dc:creator>igorpepelyaev</dc:creator>
      <dc:date>2017-08-10T17:35:59Z</dc:date>
    </item>
  </channel>
</rss>

