<?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 SDIO Interrupt mode - OSAEvent error in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296729#M45597</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am having an issue with SDIO communication. I am using interrupt mode with 4 data lines and high speed.&lt;BR /&gt;My program tries to interface with SDIO device and the commands are working properly.&lt;BR /&gt;Unfortunately sometimes the communication fails - it always happend at the exact same moment of running the program.&lt;/P&gt;&lt;P&gt;I use functions:&lt;BR /&gt;SDMMC_OSAEventClear&lt;BR /&gt;SDIF_TransferNonBlocking&lt;BR /&gt;SDMMC_OSAEventWait&lt;/P&gt;&lt;P&gt;The last one is getting Error event from the SDIO bus. Evant value 14 (1110 in binary), meaning I get SDMMC_OSA_EVENT_TRANSFER_CMD_FAIL, SDMMC_OSA_EVENT_TRANSFER_DATA_SUCCESS and SDMMC_OSA_EVENT_TRANSFER_DATA_FAIL.&lt;/P&gt;&lt;P&gt;What may cause such a behaviour? The command used is 53, with argument 603979780, reading register. This command is happening diretly after writing data using block mode.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Piotr&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 09:02:35 GMT</pubDate>
    <dc:creator>PIHL</dc:creator>
    <dc:date>2021-06-23T09:02:35Z</dc:date>
    <item>
      <title>SDIO Interrupt mode - OSAEvent error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296729#M45597</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am having an issue with SDIO communication. I am using interrupt mode with 4 data lines and high speed.&lt;BR /&gt;My program tries to interface with SDIO device and the commands are working properly.&lt;BR /&gt;Unfortunately sometimes the communication fails - it always happend at the exact same moment of running the program.&lt;/P&gt;&lt;P&gt;I use functions:&lt;BR /&gt;SDMMC_OSAEventClear&lt;BR /&gt;SDIF_TransferNonBlocking&lt;BR /&gt;SDMMC_OSAEventWait&lt;/P&gt;&lt;P&gt;The last one is getting Error event from the SDIO bus. Evant value 14 (1110 in binary), meaning I get SDMMC_OSA_EVENT_TRANSFER_CMD_FAIL, SDMMC_OSA_EVENT_TRANSFER_DATA_SUCCESS and SDMMC_OSA_EVENT_TRANSFER_DATA_FAIL.&lt;/P&gt;&lt;P&gt;What may cause such a behaviour? The command used is 53, with argument 603979780, reading register. This command is happening diretly after writing data using block mode.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296729#M45597</guid>
      <dc:creator>PIHL</dc:creator>
      <dc:date>2021-06-23T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: SDIO Interrupt mode - OSAEvent error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296757#M45598</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; This command is happening diretly after writing data using block mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A write will take some time on a MMC device, like with internal Flash. Basically, these are similar technologies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I didn't work with OSA yet, but you might need to check the status, or wait.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296757#M45598</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-06-23T09:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: SDIO Interrupt mode - OSAEvent error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296772#M45599</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The ESP32 SDIO Card peripherals (Host, Slave) shares two sets of pins as below table. The first set is usually occupied by SPI0 bus which is responsible for the SPI flash holding the code to run. This means SDIO slave driver can only runs on the second set of pins while SDIO host is not using it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jcpenneykiosk.run/" target="_self"&gt;jcpenneykiosk login&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 04:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1296772#M45599</guid>
      <dc:creator>Abernathy</dc:creator>
      <dc:date>2021-06-24T04:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: SDIO Interrupt mode - OSAEvent error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1318918#M46072</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found out that the issue was in the code that I implemented myself. Long story short - in bulk data transfer I was calculating data size incorrectly.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 09:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDIO-Interrupt-mode-OSAEvent-error/m-p/1318918#M46072</guid>
      <dc:creator>PIHL</dc:creator>
      <dc:date>2021-08-05T09:43:50Z</dc:date>
    </item>
  </channel>
</rss>

