<?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>LPC MicrocontrollersのトピックSPI question</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578503#M19840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Richard Chen on Sat Jul 11 15:57:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all, I looked at the APIs in spi_18xx_43xx.h, like readData () and writeData (), I am puzzled how I can enter the addressing information for the slave device to access a specific location? Can someone shed some light on this? Is there any place where I can get some example code on how to use the SPI library support?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:01:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:01:17Z</dc:date>
    <item>
      <title>SPI question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578503#M19840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Richard Chen on Sat Jul 11 15:57:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all, I looked at the APIs in spi_18xx_43xx.h, like readData () and writeData (), I am puzzled how I can enter the addressing information for the slave device to access a specific location? Can someone shed some light on this? Is there any place where I can get some example code on how to use the SPI library support?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578503#M19840</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPI question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578504#M19841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Jul 11 23:59:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Richard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPI uses hardware signals (like a chip select CS) to access a certain device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure you wanted to use SPI? Or are you searching for I2C?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give more details?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If really SPI and perhaps a serial flash, then you must look into datasheet of your serial flash,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how it wants to bytes (perhaps included address information, commands, data).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578504#M19841</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPI question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578505#M19842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Richard Chen on Mon Jul 13 09:17:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Martin, yes I need to use SPI. You are correct that I need to look into the specific flash datasheet for the address information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578505#M19842</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPI question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578506#M19843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Jul 13 09:54:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Richard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Serial Flash has read/write commands. You will have to send first command and then address of the memory location. As suggested by martin please look memory datasheet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578506#M19843</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: SPI question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578507#M19844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Richard Chen on Mon Jul 13 11:01:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks MC, is there any example code on how to use the APIs in spi_18xx_43xx.h? I have looked at the datasheet of the SPI flash that I am using, and understand its opcode and address width etc, however I wonder if I need to provide the callback functions to SPI_DATA_SETUP_T structure? I don't fully understand how these callback function will be used/called, and what they intent are etc, is there any document on them as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-question/m-p/578507#M19844</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:01:19Z</dc:date>
    </item>
  </channel>
</rss>

