<?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のトピックMC9S12XEP100 - Generating CAN-based message according to the transmission rate</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12XEP100-Generating-CAN-based-message-according-to-the/m-p/171695#M5796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to MCU design and just want to get some help on how to generate CAN message according to the official transmission rate. I am using the MC9S12XEP100, and I just figured out how to set up the ADC and be able to do the analog input conversion. I am wondering what I should do next in order to sample the converted ADC result and package them as CAN message. My concern is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Should I use ECT, PIT, RTI, or I don't need to use interrupt at all? Let say if I want to sample the analog input for every 100ms, what is the best approach to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I know the ADC&amp;nbsp;module comes with an interrupt channel too, but I am&amp;nbsp;not sure if it will work or not when this interrupt is time-driven (like interrupt every 100ms)rather than event-driven.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just confused with all the available counter, down-counter, and etc from the S12 family and just want to start with the best approach. Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2009 11:12:00 GMT</pubDate>
    <dc:creator>samsam</dc:creator>
    <dc:date>2009-04-14T11:12:00Z</dc:date>
    <item>
      <title>MC9S12XEP100 - Generating CAN-based message according to the transmission rate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12XEP100-Generating-CAN-based-message-according-to-the/m-p/171695#M5796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to MCU design and just want to get some help on how to generate CAN message according to the official transmission rate. I am using the MC9S12XEP100, and I just figured out how to set up the ADC and be able to do the analog input conversion. I am wondering what I should do next in order to sample the converted ADC result and package them as CAN message. My concern is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Should I use ECT, PIT, RTI, or I don't need to use interrupt at all? Let say if I want to sample the analog input for every 100ms, what is the best approach to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I know the ADC&amp;nbsp;module comes with an interrupt channel too, but I am&amp;nbsp;not sure if it will work or not when this interrupt is time-driven (like interrupt every 100ms)rather than event-driven.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just confused with all the available counter, down-counter, and etc from the S12 family and just want to start with the best approach. Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 11:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12XEP100-Generating-CAN-based-message-according-to-the/m-p/171695#M5796</guid>
      <dc:creator>samsam</dc:creator>
      <dc:date>2009-04-14T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12XEP100 - Generating CAN-based message according to the transmission rate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12XEP100-Generating-CAN-based-message-according-to-the/m-p/171696#M5797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lots of options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One implementation could use the RTI as a "heartbeat" for your application. Either set the interval to your desired 100ms, or run it faster and use a software down-counter within the RTI interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 18:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12XEP100-Generating-CAN-based-message-according-to-the/m-p/171696#M5797</guid>
      <dc:creator>jsmcortina</dc:creator>
      <dc:date>2009-05-10T18:47:45Z</dc:date>
    </item>
  </channel>
</rss>

