<?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: SPI communication with DAC (MCP4912) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1458004#M63102</link>
    <description>Hi Pavel, Thanks! That was the issue. I was sending my SPI too fast. This kind of brings up another question. I am currently using a PIT Timer at 1kHz to call a send SPI message function, but I am thinking whether there is a quicker way to just grab the current clock tick from some registers without setting up the timer handler?</description>
    <pubDate>Fri, 13 May 2022 13:43:31 GMT</pubDate>
    <dc:creator>laonia</dc:creator>
    <dc:date>2022-05-13T13:43:31Z</dc:date>
    <item>
      <title>SPI communication with DAC (MCP4912)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1457443#M63095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having some trouble using the SPI module on my FRDM-KEA128. I am trying to change voltage output on a MCP4912.&amp;nbsp;I compared my SPI signals to an example on the datasheet. They seem correct to me, but I'm still not detecting any voltage change. Is there anything I am missing?&lt;/P&gt;&lt;P&gt;The following image is me trying to send two bytes: 0xFA and 0xAA. I tied LDAC pin to ground, so voltage should be updated when a 16bits message is received.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My SPI Signal" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179655i1921B8A06D897D76/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="My SPI Signal" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;My SPI Signal&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example on Datasheet" style="width: 645px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179656i8C9C26B6A53AEDC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Example on Datasheet" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example on Datasheet&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 18:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1457443#M63095</guid>
      <dc:creator>laonia</dc:creator>
      <dc:date>2022-05-12T18:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication with DAC (MCP4912)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1457530#M63097</link>
      <description>&lt;P&gt;The image uploaded of the oscilloscope shows the 0xFA and 0xAA, the SPI seems right, from KEA128, this can be an issue with the MPC, you need to consult the datasheet from the MCP or contact the vendor of that device. I suggest reviewing the velocity of the MCP has support.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 23:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1457530#M63097</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-05-12T23:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication with DAC (MCP4912)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1458004#M63102</link>
      <description>Hi Pavel, Thanks! That was the issue. I was sending my SPI too fast. This kind of brings up another question. I am currently using a PIT Timer at 1kHz to call a send SPI message function, but I am thinking whether there is a quicker way to just grab the current clock tick from some registers without setting up the timer handler?</description>
      <pubDate>Fri, 13 May 2022 13:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1458004#M63102</guid>
      <dc:creator>laonia</dc:creator>
      <dc:date>2022-05-13T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPI communication with DAC (MCP4912)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1458111#M63104</link>
      <description>&lt;P&gt;Hello, there are many ways to get an internal trigger but all need setting to guarantee the time. the other way with the minimum setting is to use the SysTick_Handler, but I suggest the use of the PIT or RTC.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 16:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-communication-with-DAC-MCP4912/m-p/1458111#M63104</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-05-13T16:31:03Z</dc:date>
    </item>
  </channel>
</rss>

