<?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: LIN Bridge application on S12ZVLA128 in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LIN-Bridge-application-on-S12ZVLA128/m-p/812206#M4196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as there is only a single slave bus set up in the NPF file, the NXP LIN stack automatically configures the PHY register.&amp;nbsp; As soon as I add a master bus to the other SCI port the stack stops configuring the PHY register for some odd reason.&amp;nbsp; It does not even enable the PHY at all.&amp;nbsp; You must manually set the LP0CR register values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2018 20:21:10 GMT</pubDate>
    <dc:creator>bigtwisty</dc:creator>
    <dc:date>2018-10-23T20:21:10Z</dc:date>
    <item>
      <title>LIN Bridge application on S12ZVLA128</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LIN-Bridge-application-on-S12ZVLA128/m-p/812205#M4195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The S12ZVLA128 has 2 LIN buses.&amp;nbsp; I am using SCI0 to drive the LIN Hardware Layer pin as a slave and SCI1 driving a LIN transceiver for the master bus.&amp;nbsp; I have timer 0 chan 2 and SCI0 set up as software controlled interrupts in Processor Expert named correctly from what I found in the LIN driver code, and I had to perform VERY minor surgery to&amp;nbsp;lin_isr.c to get it to play nicely with the ISR() formatting in Processor Expert.&amp;nbsp; I also told PE that SCI0 and SCI1 will be manually configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run as a slave only everything works exactly as expected.&amp;nbsp; As soon as I add a master bus and add the interrupt for SCI1 to PE it still compiles but the slave bus no longer recognizes incoming messages.&amp;nbsp; I've placed a break point directly in the ISR routine and it is no longer breaking there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no demos running both master and slave buses on the same micro.&amp;nbsp; Has anyone run in to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 13:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LIN-Bridge-application-on-S12ZVLA128/m-p/812205#M4195</guid>
      <dc:creator>bigtwisty</dc:creator>
      <dc:date>2018-10-19T13:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Bridge application on S12ZVLA128</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LIN-Bridge-application-on-S12ZVLA128/m-p/812206#M4196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as there is only a single slave bus set up in the NPF file, the NXP LIN stack automatically configures the PHY register.&amp;nbsp; As soon as I add a master bus to the other SCI port the stack stops configuring the PHY register for some odd reason.&amp;nbsp; It does not even enable the PHY at all.&amp;nbsp; You must manually set the LP0CR register values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 20:21:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LIN-Bridge-application-on-S12ZVLA128/m-p/812206#M4196</guid>
      <dc:creator>bigtwisty</dc:creator>
      <dc:date>2018-10-23T20:21:10Z</dc:date>
    </item>
  </channel>
</rss>

