<?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: MKV31F128VLL10 - SPI  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV31F128VLL10-SPI/m-p/483150#M29573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Devan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which interrupt flag is risen when the first bit is sent? It is the same when driver is configured as LSB first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please be so kind to attach your project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 20:34:58 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-03-22T20:34:58Z</dc:date>
    <item>
      <title>MKV31F128VLL10 - SPI</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV31F128VLL10-SPI/m-p/483149#M29572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have run into a very critical issue with SPI in the Kinetis device MKV31F128VLL10 when interfaced with an SPI EEPROM M95M02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The eeprom expects most significant bit to be sent first so I have configured the device using PE expert to do that. Now the problem is every time a byte is sent out, the interrupt flag is raised when the first bit is sent (which happens to be most significant bit in our case) and the chip gets de-selected causing transmission failure. I have tried to use the transmit buffer empty flag as well as interrupts but with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second problem (not a critical one) is where the receive buffer does not overwrite on the last received byte even though the buffer size configured is 0. So I continuously read&amp;nbsp; dummy bytes as I am sending out. Again I am not sure if this something to do with Processor expert(Kinetis Studio) or feature of the actual silicon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether this is due to code generated by Kinetis compiler (Processor Expert) or it is a bug in silicon that is not documented anywhere. I have already invested a whole week for just a simple interface with SPI EEPROM in trying to get to the bottom of this and could only get it to work with delays. It is not a nice solution because I am unable to use interrupts and have to waste processor time in delay cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if there is any solution/workaround for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 05:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV31F128VLL10-SPI/m-p/483149#M29572</guid>
      <dc:creator>Deejay</dc:creator>
      <dc:date>2016-03-17T05:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: MKV31F128VLL10 - SPI</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV31F128VLL10-SPI/m-p/483150#M29573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Devan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which interrupt flag is risen when the first bit is sent? It is the same when driver is configured as LSB first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please be so kind to attach your project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 20:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV31F128VLL10-SPI/m-p/483150#M29573</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-03-22T20:34:58Z</dc:date>
    </item>
  </channel>
</rss>

