<?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: DMA and PIT for FRDM K64F board in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495116#M30749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;BR /&gt;Can you answer this thread please?&lt;BR /&gt;&lt;A _jive_internal="true" class="" data-containerid="2019" data-containertype="14" data-objectid="433494" data-objecttype="1" href="https://community.nxp.com/thread/433494"&gt;USB CDC for Custom Board&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 20:11:35 GMT</pubDate>
    <dc:creator>kirantujare</dc:creator>
    <dc:date>2016-08-29T20:11:35Z</dc:date>
    <item>
      <title>DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495094#M30727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I'm working on a project where I'm trying to design a frequency generator. I want to use DMA and PIT(Periodic Interrupt Timer) feature on FRDM K64F board. I would like some help on the use of these on FRDM K64F board using KSDK+PE. I am using KDS Version: 3.2.0 and KSDK 1.3.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 14:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495094#M30727</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-03T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495095#M30728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran&lt;/P&gt;&lt;P&gt;The next KDS 1.3 examples will help you to understand the configuration of the different modules that you want to use, DMA and PIT after that, you can modify your project on PE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the next path you can find the examples of the modules&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmk64f\driver_examples\edma&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmk64f\driver_examples\pit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next example shows the configuration of PIT and DMA, saving the information that is taken of ADC channel&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-102951"&gt;https://community.freescale.com/docs/DOC-102951&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Mario Castañeda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 17:40:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495095#M30728</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-04T17:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495096#M30729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mario!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using DMA for a simple Sine wave and I got the correct output. However, I have to output 3 different waves for my project. I would like to know how I could make that work? Also, I want to use values from main.c file to trigger DMA in events.c file. How can I make that happen? Please let me know if you can provide any help whatsoever. I tried using "extern int q[50]" to access variable from main.c to events.c but it throws an error saying- " undefined reference to q"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 18:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495096#M30729</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-04T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495097#M30730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif; color: black;"&gt;If you want to use variable from main.c to other source files, you should declare this variable as global in main.c for example: int q[50] = {0}; and this same variable needs to be included as extern in the other source file, for example, it will look like extern int q[50]; in events.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp; are you getting the sin values?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif; color: black;"&gt;I am supposing you are moving data from internal buffers by using PIT to trigger dma channel, aren't you? If so, you will need to use other 2 dma channels as well as 2 PIT channels to replicate this behavior for other 2 signals and this way, all channels will be independently (frequency and data) for each signal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you have another question let me now&lt;/P&gt;&lt;P&gt;Mario Castañeda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 20:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495097#M30730</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-04T20:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495098#M30731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. It makes total sense now. I did like you said. But how do you check the output for the other two waveform. I am using DAC0_OUT(Analog Out) Pin to check the waveform on scope and I see only one waveform. Which pins will be used to check multiple outputs.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 12:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495098#M30731</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-05T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495099#M30732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use extern int q[7200]; in events .c after putting int q[7200] = {0} in main.c I get the error "undefined reference to 'q' " and if I use extern int q[7200] = {0} in events.c after putting int q[7200] = {0} in main.c I get a warning " 'q' initialized and declared 'extern' " Is this warning fine? I have attached the screenshots for the errors and warnings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 12:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495099#M30732</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-05T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495100#M30733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;Looks like you are struggling with basic C programming here, and the compiler is correct to flag what you did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using 'extern' is a *declaration*, i.e. it makes the symbol known to the compiler.&lt;/P&gt;&lt;P&gt;use something like&lt;/P&gt;&lt;P&gt;extern int q[7200];&lt;/P&gt;&lt;P&gt;is fine.&lt;/P&gt;&lt;P&gt;It is *not* ok in C to initialize a declaration like you did with&lt;/P&gt;&lt;P&gt;extern int q[7200] = {0};&lt;/P&gt;&lt;P&gt;as you mix up a declaration and a definition:&lt;/P&gt;&lt;P&gt;- declaration: makes the type/name of the variable known to the program&lt;/P&gt;&lt;P&gt;- definition: defines and allocates the memory for the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should use&lt;/P&gt;&lt;P&gt;extern int q[7200];&lt;/P&gt;&lt;P&gt;for example in the header file.&lt;/P&gt;&lt;P&gt;And in a C file (only there) you make the definition of it with&lt;/P&gt;&lt;P&gt;int q[7200] = {0};&lt;/P&gt;&lt;P&gt;and as this is the definition, you can initialize it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So one message from the compiler is that you should not initialize a declaration, the other message is that you only had a declaration, but no definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495100#M30733</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-05-05T13:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495101#M30734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;BR /&gt;Thank you for the explanation. &lt;BR /&gt;I tried doing what you said as you can see the error in the screenshot 1 in the previous message. What could be the reason for it? I tried using extern int q[7200] in events.c as well as events.h file differently and I still get the error "undefined reference to 'q ' "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495101#M30734</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-05T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495102#M30735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;extern int q[7200];&lt;/P&gt;&lt;P&gt;in events.h&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;int q[7200] = {0};&lt;/P&gt;&lt;P&gt;in events.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495102#M30735</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-05-05T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495103#M30736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Erich! It helped a lot. It is working now. &lt;BR /&gt;I want to output 3 waveforms from DAC. Is it possible to do that?&lt;BR /&gt;I am using DAC0_OUT(Analog Out) Pin to check the waveform on scope and I see only one waveform. Which pins will be used to check multiple outputs.? Is there an alternative way to do that. I am an amateur. This is my first project. Please bear with me if I sound silly.&lt;BR /&gt;Please let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:52:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495103#M30736</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-05T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495104#M30737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;If you want to see the 3 output waves at the same time is not possible. The FRDM K64F the package 100 LQFP only has 1 DAC module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.2PNG.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56622i2A8D136B2BD6D0A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.2PNG.PNG" alt="Capture.2PNG.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;But if you want to get the different signals, you only have to do is select different channel for the 3 output waves depending the mux channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Mario Castañeda&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 20:37:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495104#M30737</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-05T20:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495105#M30738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. Currently, I am using DAC + PIT on Processor Expert. I have no idea how to select DMA Channels. I also could not figure out how to get DMA working for KSDK+PE project. I am sending calculated values from user input to DAC using an array. I am not sure if the approach is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 21:07:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495105#M30738</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-05T21:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495106#M30739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we generate a wave using values generated from a user given input without putting constant values in a buffer??&lt;/P&gt;&lt;P&gt;For example to generate sin wave: I have used the following piece of code:&lt;/P&gt;&lt;P&gt;#define DAC_TEST_BUFF_SIZE&amp;nbsp; (120U)&lt;/P&gt;&lt;P&gt;uint16_t dac_buffer[DAC_TEST_BUFF_SIZE] =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {0x7ff, 0x86a, 0x8d5, 0x93f, 0x9a9, 0xa11, 0xa78, 0xadd, 0xb40, 0xba1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xbff, 0xc5a, 0xcb2, 0xd08, 0xd59, 0xda7, 0xdf1, 0xe36, 0xe77, 0xeb4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xeec, 0xf1f, 0xf4d, 0xf77, 0xf9a, 0xfb9, 0xfd2, 0xfe5, 0xff3, 0xffc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xfff, 0xffc, 0xff3, 0xfe5, 0xfd2, 0xfb9, 0xf9a, 0xf77, 0xf4d, 0xf1f,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xeec, 0xeb4, 0xe77, 0xe36, 0xdf1, 0xda7, 0xd59, 0xd08, 0xcb2, 0xc5a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xbff, 0xba1, 0xb40, 0xadd, 0xa78, 0xa11, 0x9a9, 0x93f, 0x8d5, 0x86a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7ff, 0x794, 0x729, 0x6bf, 0x655, 0x5ed, 0x586, 0x521, 0x4be, 0x45d,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3ff, 0x3a4, 0x34c, 0x2f6, 0x2a5, 0x257, 0x20d, 0x1c8, 0x187, 0x14a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x112, 0xdf, 0xb1, 0x87, 0x64, 0x45, 0x2c, 0x19, 0xb, 0x2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0, 0x2, 0xb, 0x19, 0x2c, 0x45, 0x64, 0x87, 0xb1, 0xdf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x112, 0x14a, 0x187, 0x1c8, 0x20d, 0x257, 0x2a5, 0x2f6, 0x34c, 0x3a4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3ff, 0x45d, 0x4be, 0x521, 0x586, 0x5ed, 0x655, 0x6bf, 0x729, 0x794};&lt;/P&gt;&lt;P&gt;uint16_t index = 0;&lt;/P&gt;&lt;P&gt;void pitTimer1_IRQHandler(void) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to generate a wave without using this lookup table. Is it possible to do that? &lt;BR /&gt;Does the buffer take constant values only?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 16:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495106#M30739</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-06T16:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495107#M30740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;I took a look of the code and the signal, the PIT and DAC configuration are correct, but I recommend use different buffers for each signal, or make test with constant values and select one signal buffer to the DAC _out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example show you how to create the sine signal, using PIT + DAC. Some recommendations to calculate the data for the signal with constant values.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/642235?et=watches.email.thread#comment-642235"&gt;https://community.freescale.com/message/642235?et=watches.email.thread#comment-642235&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps&lt;/P&gt;&lt;P&gt;Mario Castañeda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 16:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495107#M30740</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-06T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495108#M30741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I will try doing that and let you know how it goes.&lt;BR /&gt;The link redirects to the same page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 18:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495108#M30741</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-07T18:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495109#M30742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mario. I got it all figured out. I am getting the output correctly. The only thing is I want to see it on two separate channels. Since I am using only using DMA+PIT, I don't know how to get the output on two separate channels. Still trying to figure out a way to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495109#M30742</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-09T18:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495110#M30743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;BR /&gt;I just found out that my 7200 data points get halved ( 3600) after sending them over to DAC. &lt;BR /&gt;Do you know why this would happen? I have attached the screenshot. After using this line of code the datapoints are halved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 20:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495110#M30743</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-10T20:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495111#M30744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could tried this way &lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1462979735840464 jive_text_macro" data-renderedposition="86_8_1155_64" jivemacro_uid="_1462979735840464" modifiedtitle="true"&gt;&lt;P&gt;for(index = 0 ; index z buffer_size ; index++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DAC_DRV_Output(FSL_DACONV1,q[index]);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have with the output, let me know&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495111#M30744</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-11T15:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495112#M30745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario!&lt;/P&gt;&lt;P&gt;It does work. Thank you so much for your help :smileyhappy: &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495112#M30745</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-11T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and PIT for FRDM K64F board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495113#M30746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;My code works perfectly and the output is shown on the oscilloscope. The only problem is that the data doesn't show continuously on the scope. I get the stream of ones and zeros(square wave) and then it flats out. I want the continuous flow of square wave. I get the expected wave after putting it in an infinite 'for' loop but the next line of code doesn't run. Please let me know if you have any suggestion/solution for it? I have the code below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-and-PIT-for-FRDM-K64F-board/m-p/495113#M30746</guid>
      <dc:creator>kirantujare</dc:creator>
      <dc:date>2016-05-11T20:43:38Z</dc:date>
    </item>
  </channel>
</rss>

