<?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: about Xgate in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179291#M6452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hai evey1,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i am very new to this sort of discussion forms on technical aspects&lt;/DIV&gt;&lt;DIV&gt;I am very interested to work on micro controllers and related stuff. I am planning to start off working independently on microcontrollers...&lt;/DIV&gt;&lt;DIV&gt;What are the tools that i need to gather before starting like the things neccessary for coding compiling and flashing and where can i get them from.&lt;/DIV&gt;&lt;DIV&gt;Currently I am working in Visteon India it is an electronic products suppliers for automotives&lt;/DIV&gt;&lt;DIV&gt;please help me to put my interest into practice...&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 12:29:31 GMT</pubDate>
    <dc:creator>sainath</dc:creator>
    <dc:date>2008-01-28T12:29:31Z</dc:date>
    <item>
      <title>about Xgate - S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179286#M6447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using S12XDP512 with Code warrior 4.5. i am working on a project where i am going to use following tasks using microcontrollers resourses.&lt;/DIV&gt;&lt;DIV&gt;1) calculating RPM using &lt;SPAN style="color: #6633FF;"&gt;Capture &lt;SPAN style="color: #003300;"&gt;methode&lt;/SPAN&gt; using ECT.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;2) &lt;SPAN style="color: #6633FF;"&gt;SCI&lt;/SPAN&gt; communication through PC for sharing data.&lt;/DIV&gt;&lt;DIV&gt;3) &lt;SPAN style="color: #6633FF;"&gt;one XIRQ&lt;/SPAN&gt; interrupt for detecting external pulse (pulses vary from 0.25 to 6.25 msec)&lt;/DIV&gt;&lt;DIV&gt;4) one &lt;SPAN style="color: #6633FF;"&gt;&amp;nbsp;PIT Timer interrupt&lt;/SPAN&gt; &amp;nbsp;for Time out Period. and one &lt;SPAN style="color: #6633FF;"&gt;PIT timer (non interrupt)&lt;/SPAN&gt; &amp;nbsp;for some logic&amp;nbsp;&amp;nbsp;&amp;nbsp; development&lt;/DIV&gt;&lt;DIV&gt;5)&lt;SPAN style="color: #6633FF;"&gt;5 ADC analog channel&lt;/SPAN&gt; for sensing&amp;nbsp; analog value of external pins&lt;/DIV&gt;&lt;DIV&gt;6)3 Outputs Through I/O pins&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; above mentioned resourses are used by me in this project now i want to know that which&lt;/DIV&gt;&lt;DIV&gt;resourses are&amp;nbsp;implement through xgate and which implement by normal CPU by me? i gate little bit confuse. willl you please tell me which is better resourse to implement through xgate?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR in general which resourses are normally used when we are going to use xgate functionalty.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-01-14&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:11 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2008 13:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179286#M6447</guid>
      <dc:creator>vinay</dc:creator>
      <dc:date>2008-01-14T13:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: about Xgate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179287#M6448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;vinay you can use either the CPU or the XGATE for all of those except item 3) because the XIRQ goes directly to the CPU.&lt;/DIV&gt;&lt;DIV&gt;The choice of which core to use depends on your software requirements. If the CPU is heavily loaded doing some complex algorithm then you probably want to use XGATE to handle the interrupts so that they don't go to the CPU. You can use the XGATE as:&lt;/DIV&gt;&lt;DIV&gt;a/ A DMA moving data from I/O or peripherals to RAM and vice versa&lt;/DIV&gt;&lt;DIV&gt;b/ A preprocessor for interrupts that (for example) filters ATD results before the CPU uses them&lt;/DIV&gt;&lt;DIV&gt;c/ A programmable machine that can create a "virtual peripheral" where the real one doesn't exist. For example, with your SCI you can write code that makes it look as if the S12X has a buffered SCI that can handle whole messages instead of just one byte at a time.&lt;/DIV&gt;&lt;DIV&gt;If you are writing in C you can create all of the interrupts on the CPU as normal and then move one or more onto the XGATE by simply copying the code and changing the interrupt configuration so that XGATE gets the interrupt rather than the CPU.&lt;/DIV&gt;&lt;DIV&gt;Ultimately, the structure is up to you. Read &lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2615.pdf" rel="nofollow" target="_blank"&gt;AN2615&lt;/A&gt; and &lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN3144.pdf" rel="nofollow" target="_blank"&gt;AN3144&lt;/A&gt; for the overview and practical steps.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2008 18:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179287#M6448</guid>
      <dc:creator>Steve</dc:creator>
      <dc:date>2008-01-14T18:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: about Xgate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179288#M6449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Steve...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have one more question. in my program i make three file with there header files including main.c and xgate file. like, a.c,a.h,b.c,b.h,c.c,c.h,main.c and xgate.cxgate. now i facing problem is that i declare&amp;nbsp;two function in b.h and define in b.c.now insted of two, the no one function i am using in c.c file and one in xgate.cxgate file.i am getting linker error like _x_symbol_(function name) &amp;nbsp;undefined.&lt;/DIV&gt;&lt;DIV&gt;now&amp;nbsp;this same funcion i am using in a.c file insted of xgate it compiles and linked also.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; so my question is that while accessing a function&amp;nbsp;in xgate file,it&amp;nbsp;should&amp;nbsp;be&amp;nbsp;written &amp;nbsp;in&amp;nbsp;xgate.cxgate file????&amp;nbsp;hope u understand my query.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 21:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179288#M6449</guid>
      <dc:creator>vinay</dc:creator>
      <dc:date>2008-01-15T21:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: about Xgate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179289#M6450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;In CW, *.cxgate files&amp;nbsp;are compiled for XGATE CPU. And *.c files are compiled for S12X CPU. No XGATE routine can be called from S12X, and no S12X routine can be called from XGATE. That's why, probably,&amp;nbsp;XGATE compiler adds __X_ to every XGATE function, to prevent pointless linking between XGATE and S12X functions. You may use XGATE semaphores, variables and software triggers to communicate between two CPUs. Software trigger may be set from either CPU, and another CPU may be programmed to interrupt on specific software trigger...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 21:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179289#M6450</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2008-01-15T21:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: about Xgate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179290#M6451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;What kef says is correct, a "call" to an XGATE function from a CPU function is not allowed. Actually it's not a useful thing to do either.&lt;/DIV&gt;&lt;DIV&gt;Think about XGATE as a separate CPU which can run at exactly the same time as the CPU and be doing something useful even when the CPU is busy.&lt;/DIV&gt;&lt;DIV&gt;To make an XGATE function active you have to send an interrupt to the XGATE. You can send an interrupt from a peripheral or from the CPU by using the XGATE software interrupts. To see examples of both of these look at the application notes I referred to earlier or create a new project in CodeWarrior which shows you how to activate using a software interrupt.&lt;/DIV&gt;&lt;DIV&gt;To send data to and from the XGATE use the RAM by declaring a variable and using that in functions on the CPU and on the XGATE. Again this is shown in the app note.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 00:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179290#M6451</guid>
      <dc:creator>Steve</dc:creator>
      <dc:date>2008-01-16T00:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: about Xgate</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179291#M6452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hai evey1,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i am very new to this sort of discussion forms on technical aspects&lt;/DIV&gt;&lt;DIV&gt;I am very interested to work on micro controllers and related stuff. I am planning to start off working independently on microcontrollers...&lt;/DIV&gt;&lt;DIV&gt;What are the tools that i need to gather before starting like the things neccessary for coding compiling and flashing and where can i get them from.&lt;/DIV&gt;&lt;DIV&gt;Currently I am working in Visteon India it is an electronic products suppliers for automotives&lt;/DIV&gt;&lt;DIV&gt;please help me to put my interest into practice...&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 12:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/about-Xgate-S12XDP512/m-p/179291#M6452</guid>
      <dc:creator>sainath</dc:creator>
      <dc:date>2008-01-28T12:29:31Z</dc:date>
    </item>
  </channel>
</rss>

