<?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のトピックNXP 3250 Library - SPI1 and SPI2 routines - polled, and DMA interrupt for IAR in C++</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-3250-Library-SPI1-and-SPI2-routines-polled-and-DMA-interrupt/m-p/543336#M12672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by trichloramine on Tue Nov 04 13:23:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written the code for a SPI interface that has support for multiple chip selects&amp;nbsp; with&amp;nbsp; microsecond control over transition times, and clock rates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A straight forward initialization starts DMA transfer that chains blocks together of up to 4095 bytes apiece though an interrupt handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pSpi = new Spi(1, GPIO_16, SPI_CLK(5.32),0,100,8);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;support for serial flash and shift registers is included as a derived class. Lots of working, SPI example code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash = new M25PxxFlash ( GPO_8 | GPO_16 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;polled mode example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;CsLow();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;Send(data);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;CsHigh();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you are interested in this part, any or all of the NXP library, please contact me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:27:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:27:54Z</dc:date>
    <item>
      <title>NXP 3250 Library - SPI1 and SPI2 routines - polled, and DMA interrupt for IAR in C++</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-3250-Library-SPI1-and-SPI2-routines-polled-and-DMA-interrupt/m-p/543336#M12672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by trichloramine on Tue Nov 04 13:23:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written the code for a SPI interface that has support for multiple chip selects&amp;nbsp; with&amp;nbsp; microsecond control over transition times, and clock rates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A straight forward initialization starts DMA transfer that chains blocks together of up to 4095 bytes apiece though an interrupt handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pSpi = new Spi(1, GPIO_16, SPI_CLK(5.32),0,100,8);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;support for serial flash and shift registers is included as a derived class. Lots of working, SPI example code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash = new M25PxxFlash ( GPO_8 | GPO_16 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;polled mode example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;CsLow();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;Send(data);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlash-&amp;gt;CsHigh();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you are interested in this part, any or all of the NXP library, please contact me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NXP-3250-Library-SPI1-and-SPI2-routines-polled-and-DMA-interrupt/m-p/543336#M12672</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:27:54Z</dc:date>
    </item>
  </channel>
</rss>

