<?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 SPI EXAMPLE IS NOT WORKING PLEASE HELP IMMEDIATLY... in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-EXAMPLE-IS-NOT-WORKING-PLEASE-HELP-IMMEDIATLY/m-p/647027#M39289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;------------- SPI driver example -------------- &lt;BR /&gt; &lt;BR /&gt;This example application demonstrates usage of SPI driver. &lt;BR /&gt;It transfers data to/from external memory over SPI bus. &lt;BR /&gt;The default settings in memory.h apply to TWR-MEM flash memory. &lt;BR /&gt;Current baud rate ... 9600000 Hz &lt;BR /&gt;Changing the baud rate to 500000 Hz ... OK &lt;BR /&gt;Current baud rate ... 500000 Hz &lt;BR /&gt;Setting clock mode to SPI_CLK_POL_PHA_MODE0 ... OK &lt;BR /&gt;Getting clock mode ... SPI_CLK_POL_PHA_MODE0 &lt;BR /&gt;Setting endian to SPI_DEVICE_BIG_ENDIAN ... OK &lt;BR /&gt;Getting endian ... SPI_DEVICE_BIG_ENDIAN &lt;BR /&gt;Setting transfer mode to SPI_DEVICE_MASTER_MODE ... OK &lt;BR /&gt;Getting transfer mode ... SPI_DEVICE_MASTER_MODE &lt;BR /&gt;Clearing statistics ... OK &lt;BR /&gt;Getting statistics: &lt;BR /&gt;Rx packets: 0 &lt;BR /&gt;Tx packets: 0 &lt;BR /&gt; &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write unprotect memory ... OK &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write unprotect memory ... OK &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Erase whole memory chip: &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Erase chip ... OK &lt;BR /&gt; &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write byte 0xba to location 0x000000f0 in memory ... done &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Read byte from location 0x000000f0 in memory ... 0x00 &lt;BR /&gt;Byte test ... ERROR &lt;BR /&gt;Getting statistics: &lt;BR /&gt;Rx packets: 8 &lt;BR /&gt;Tx packets: 25 &lt;BR /&gt; &lt;BR /&gt;IO_IOCTL_SPI_READ_WRITE ... OK &lt;BR /&gt;Simultaneous write and read - memory read from 0x000000f0 (10): &lt;BR /&gt;Write: 0x03 0x00 0x00 0xf0 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;Read : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;Simultaneous read/write (data == 0x00) ... ERROR &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a custom board to build the spi example. spi1 is used to acess W25Q64FV which is an spi flash.I have done all the configurations for spi1 in bsp files.&lt;/P&gt;&lt;P&gt;why this is happening I have tried many times always the read test is failing please anybody help... :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2016 12:23:58 GMT</pubDate>
    <dc:creator>yadhukrishnanvm</dc:creator>
    <dc:date>2016-09-23T12:23:58Z</dc:date>
    <item>
      <title>SPI EXAMPLE IS NOT WORKING PLEASE HELP IMMEDIATLY...</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-EXAMPLE-IS-NOT-WORKING-PLEASE-HELP-IMMEDIATLY/m-p/647027#M39289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;------------- SPI driver example -------------- &lt;BR /&gt; &lt;BR /&gt;This example application demonstrates usage of SPI driver. &lt;BR /&gt;It transfers data to/from external memory over SPI bus. &lt;BR /&gt;The default settings in memory.h apply to TWR-MEM flash memory. &lt;BR /&gt;Current baud rate ... 9600000 Hz &lt;BR /&gt;Changing the baud rate to 500000 Hz ... OK &lt;BR /&gt;Current baud rate ... 500000 Hz &lt;BR /&gt;Setting clock mode to SPI_CLK_POL_PHA_MODE0 ... OK &lt;BR /&gt;Getting clock mode ... SPI_CLK_POL_PHA_MODE0 &lt;BR /&gt;Setting endian to SPI_DEVICE_BIG_ENDIAN ... OK &lt;BR /&gt;Getting endian ... SPI_DEVICE_BIG_ENDIAN &lt;BR /&gt;Setting transfer mode to SPI_DEVICE_MASTER_MODE ... OK &lt;BR /&gt;Getting transfer mode ... SPI_DEVICE_MASTER_MODE &lt;BR /&gt;Clearing statistics ... OK &lt;BR /&gt;Getting statistics: &lt;BR /&gt;Rx packets: 0 &lt;BR /&gt;Tx packets: 0 &lt;BR /&gt; &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write unprotect memory ... OK &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write unprotect memory ... OK &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Erase whole memory chip: &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Erase chip ... OK &lt;BR /&gt; &lt;BR /&gt;Enable write latch in memory ... OK &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Write byte 0xba to location 0x000000f0 in memory ... done &lt;BR /&gt;Read memory status ... 0x00 &lt;BR /&gt;Read byte from location 0x000000f0 in memory ... 0x00 &lt;BR /&gt;Byte test ... ERROR &lt;BR /&gt;Getting statistics: &lt;BR /&gt;Rx packets: 8 &lt;BR /&gt;Tx packets: 25 &lt;BR /&gt; &lt;BR /&gt;IO_IOCTL_SPI_READ_WRITE ... OK &lt;BR /&gt;Simultaneous write and read - memory read from 0x000000f0 (10): &lt;BR /&gt;Write: 0x03 0x00 0x00 0xf0 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;Read : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;Simultaneous read/write (data == 0x00) ... ERROR &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a custom board to build the spi example. spi1 is used to acess W25Q64FV which is an spi flash.I have done all the configurations for spi1 in bsp files.&lt;/P&gt;&lt;P&gt;why this is happening I have tried many times always the read test is failing please anybody help... :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 12:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-EXAMPLE-IS-NOT-WORKING-PLEASE-HELP-IMMEDIATLY/m-p/647027#M39289</guid>
      <dc:creator>yadhukrishnanvm</dc:creator>
      <dc:date>2016-09-23T12:23:58Z</dc:date>
    </item>
  </channel>
</rss>

