<?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のトピック1</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1466353#M18677</link>
    <description>&lt;P&gt;lin总线以 9600 波特率的速率 发送周期50ms. 同时用pmf的 outc 模式控制gdu 每87us（用定时器T0定时产生中断） 极性翻转一次，极性翻转是在 定时器T0定中断中完成并且lin发送50ms 定时也由定时器T0在中断中计数50ms发送lin.&lt;BR /&gt;现在出现的问题是当lin总线发出时影响gdu 输出波形，图形上看是使gdu的每87us 延时程lin的发送总周期 。直到lin 发送完成后也持续影响lin总周期的时间 。如何做到互不相应&lt;BR /&gt;void TI1_OnInterrupt(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;EnterCritical();&lt;BR /&gt;PMFCFG2_MSK = 0X35;&lt;BR /&gt;_PMFOUTC_OUTCTL = 0X0A;&lt;BR /&gt;_PMFCFG1.Bits.BOTNEGA = ~_PMFCFG1.Bits.BOTNEGA;&lt;BR /&gt;_PMFCFG1.Bits.BOTNEGB = ~_PMFCFG1.Bits.BOTNEGB;&lt;BR /&gt;ExitCritical() ;&lt;/P&gt;&lt;P&gt;if (bia == 500)&lt;BR /&gt;{bia =0;&lt;BR /&gt;dataa[0] = 0x1a;&lt;BR /&gt;dataa[1] = 0x2a;&lt;BR /&gt;dataa[2] = 0x3a;&lt;BR /&gt;dataa[3] = 0x4a;&lt;BR /&gt;dataa[4] = 0x5a;&lt;BR /&gt;dataa[5] = 0x6a;&lt;BR /&gt;dataa[6] = 0x1a;&lt;BR /&gt;dataa[7] = 0x2a;&lt;BR /&gt;EnterCritical();&lt;BR /&gt;LIN_send_data(0x33, 8, &amp;amp;dataa[7]);&lt;BR /&gt;ExitCritical() ;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;Contact Name&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2022 15:30:35 GMT</pubDate>
    <dc:creator>kaimi</dc:creator>
    <dc:date>2022-05-30T15:30:35Z</dc:date>
    <item>
      <title>1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1466353#M18677</link>
      <description>&lt;P&gt;lin总线以 9600 波特率的速率 发送周期50ms. 同时用pmf的 outc 模式控制gdu 每87us（用定时器T0定时产生中断） 极性翻转一次，极性翻转是在 定时器T0定中断中完成并且lin发送50ms 定时也由定时器T0在中断中计数50ms发送lin.&lt;BR /&gt;现在出现的问题是当lin总线发出时影响gdu 输出波形，图形上看是使gdu的每87us 延时程lin的发送总周期 。直到lin 发送完成后也持续影响lin总周期的时间 。如何做到互不相应&lt;BR /&gt;void TI1_OnInterrupt(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;EnterCritical();&lt;BR /&gt;PMFCFG2_MSK = 0X35;&lt;BR /&gt;_PMFOUTC_OUTCTL = 0X0A;&lt;BR /&gt;_PMFCFG1.Bits.BOTNEGA = ~_PMFCFG1.Bits.BOTNEGA;&lt;BR /&gt;_PMFCFG1.Bits.BOTNEGB = ~_PMFCFG1.Bits.BOTNEGB;&lt;BR /&gt;ExitCritical() ;&lt;/P&gt;&lt;P&gt;if (bia == 500)&lt;BR /&gt;{bia =0;&lt;BR /&gt;dataa[0] = 0x1a;&lt;BR /&gt;dataa[1] = 0x2a;&lt;BR /&gt;dataa[2] = 0x3a;&lt;BR /&gt;dataa[3] = 0x4a;&lt;BR /&gt;dataa[4] = 0x5a;&lt;BR /&gt;dataa[5] = 0x6a;&lt;BR /&gt;dataa[6] = 0x1a;&lt;BR /&gt;dataa[7] = 0x2a;&lt;BR /&gt;EnterCritical();&lt;BR /&gt;LIN_send_data(0x33, 8, &amp;amp;dataa[7]);&lt;BR /&gt;ExitCritical() ;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;Contact Name&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 15:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1466353#M18677</guid>
      <dc:creator>kaimi</dc:creator>
      <dc:date>2022-05-30T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: 1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1468680#M18681</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197525"&gt;@kaimi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Does it mean that becasue of the LIN operation, the GDU polarity reverse is delayed?&lt;BR /&gt;If so, it looks like the issue is in the CPU load when servising the LIN communication.&lt;BR /&gt;How long it takes to complete the LIN_send_data(0x33, 8, &amp;amp;dataa[7])?&lt;BR /&gt;It looks like this is a blocking function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 10:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1468680#M18681</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-06-03T10:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: 1</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1469465#M18682</link>
      <description>&lt;P&gt;I have a little project that demonstrates how to make a segment in a linker file as well as how to add some data to the segment.&lt;/P&gt;&lt;P class="lia-align-right"&gt;&lt;A href="https://cookie-clicker2.co" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;cookie clicker&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 15:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/1/m-p/1469465#M18682</guid>
      <dc:creator>joany38</dc:creator>
      <dc:date>2022-06-06T15:55:22Z</dc:date>
    </item>
  </channel>
</rss>

