<?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 rom driver - RX buffer and Data Length</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513363#M140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DAMEK on Wed Jun 11 06:02:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i using your periph_spi_rom_interrupt project in lpcOpen version 2.08b&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i use the 16bit data length option all works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;now i want to reduce the length to 8 bit (SPI_PARAM_T.fsize_sel from 0x0F0xxxxx to 0x070xxxxx) reference to uml10736 - page 402&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the total number of SPI Transfers *2 (e.g. for 2 bytes =&amp;gt;SPI_PARAM_T.size from 1 to 2)&amp;nbsp; but the rx buffer only have the last / highest 8 bit from the transfered 16 bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone have an idea? i think, the rom driver is only for 16 bit transfers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: i want to use the 8 bit mode for ungrade transfers. e.g. 9 byte or 3 byte. until a response arrives i try the dma spi rom mode :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and what detailed function have the function "pSpiApi-&amp;gt;spi_get_mem_size()" is that mem only for code or also for buffers? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;greatings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:06:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:06:07Z</dc:date>
    <item>
      <title>SPI rom driver - RX buffer and Data Length</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513363#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DAMEK on Wed Jun 11 06:02:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i using your periph_spi_rom_interrupt project in lpcOpen version 2.08b&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i use the 16bit data length option all works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;now i want to reduce the length to 8 bit (SPI_PARAM_T.fsize_sel from 0x0F0xxxxx to 0x070xxxxx) reference to uml10736 - page 402&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the total number of SPI Transfers *2 (e.g. for 2 bytes =&amp;gt;SPI_PARAM_T.size from 1 to 2)&amp;nbsp; but the rx buffer only have the last / highest 8 bit from the transfered 16 bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone have an idea? i think, the rom driver is only for 16 bit transfers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: i want to use the 8 bit mode for ungrade transfers. e.g. 9 byte or 3 byte. until a response arrives i try the dma spi rom mode :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and what detailed function have the function "pSpiApi-&amp;gt;spi_get_mem_size()" is that mem only for code or also for buffers? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;greatings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513363#M140</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: SPI rom driver - RX buffer and Data Length</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513364#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DAMEK on Tue Jun 17 10:46:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can nobody help me or is my question unclear?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it with the non rom examples but this ends in a hardfault.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;greatings&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513364#M141</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: SPI rom driver - RX buffer and Data Length</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513365#M142</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 Tue Jun 17 11:33:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The ROM example should work. and &lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;and what detailed function have the function "pSpiApi-&amp;gt;spi_get_mem_size()" is that mem only for code or also for buffers?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pSpiApi-&amp;gt;spi_get_mem_size()" allocates number of bytes in the RAM&amp;nbsp; for spi control block&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513365#M142</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPI rom driver - RX buffer and Data Length</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513366#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DAMEK on Tue Jun 17 15:27:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for this fast answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my fault. I wanted a char array passed (from space / operations reasons). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it may be that the pointer is incremented until the transfer length and then jumps to startpointer of array + i * 16?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;excuse my stupid question. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-rom-driver-RX-buffer-and-Data-Length/m-p/513366#M143</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:09Z</dc:date>
    </item>
  </channel>
</rss>

