<?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 Re: eSDHC on the P1021 in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211179#M116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Just to provide an update, I did make sure the GUTS_PMUXCR[SDHC_CD] and GUTS_PMUXCR[SDHC_WP] are&amp;nbsp; set to '1' as these pins have alternate functions.&amp;nbsp; In addition, I configure the clock frequency to be as close to 400 kHz as possible.&amp;nbsp; I am still unable to get this functionality working.&amp;nbsp; Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 04:30:36 GMT</pubDate>
    <dc:creator>mrhicks</dc:creator>
    <dc:date>2012-12-19T04:30:36Z</dc:date>
    <item>
      <title>eSDHC on the P1021</title>
      <link>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211178#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am starting out to developed a device driver for the eSDHC peripheral on the P1021.&amp;nbsp; In section 16.6.2.1 Card Detect of the P1021 QorIQ Integrated Processor Reference Manual (Document Number: P1021RM, Rev. 5, 06/2011), it outlines what is needed to initialize the hardware in order to detect a card insertion (card detect).&amp;nbsp; Unfortunately, I am unable to get this working, so I have a few questions and observations of what I am seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; As a general statement, I perform a reset of the controller by setting SYSCTL[RSTA] and wait for it to clear.&amp;nbsp; Next, the clock is set as close as possible to 400 KHz.&amp;nbsp; In addition, I am using the P1021 Moduled Development System Processor Board (P1021-MDS-PB) as my current target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It seems that when I have IRQSIGEN[CINSIEN] set, I am seeing a constantly interrupt generated.&amp;nbsp; During the service routine handler, the IRQSTAT register is read and then written back to clear the interrupts, but I don't see this flag (IRQSTAT[CINS]) every get cleared, why????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is odd, is that I am seeing an IRQSTAT[CINS] interrupt even when there is not card present in the system, how can that be??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) During the configuration, both Card Insert and Card Removal events for the Interrupt Status Enable, IRQSIGEN, and Interrupt Signal Enable , IRQSTATEN, are configured (i.e., set to '1').&amp;nbsp; I never see a Card Removal even when I insert the card and remove it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) I don't understand why there is a Interrupt Status Enable and Interrupt Signal Enable registers?&amp;nbsp; Is the Interrupt Status Enable meant to be use for a system that will implement polling of the Interrupt Status (IRQSTAT) register?&amp;nbsp; If that is the case, if I were to use interrupts then I shouldn't need to configure the Interrupt Status Enable register at all, right?&amp;nbsp; Are they meant to be used in a mutual exclusive manner?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) I have tried using interrupts, via the IRQSIGEN register, and a polling mechanism, via the IRQSTATEN, but can't can't seem to get them to work properly.&amp;nbsp; I am always seeing a Card Insertion event that never clears and occurs even when there is not card in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) Is there another peripheral that I need to configure or register(s) somewhere in order to use the eSDHC peripheral?&amp;nbsp; For example, does the eSDHC use one of the QUICCK engines which I need to configure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 20:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211178#M115</guid>
      <dc:creator>mrhicks</dc:creator>
      <dc:date>2012-12-17T20:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: eSDHC on the P1021</title>
      <link>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211179#M116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Just to provide an update, I did make sure the GUTS_PMUXCR[SDHC_CD] and GUTS_PMUXCR[SDHC_WP] are&amp;nbsp; set to '1' as these pins have alternate functions.&amp;nbsp; In addition, I configure the clock frequency to be as close to 400 kHz as possible.&amp;nbsp; I am still unable to get this functionality working.&amp;nbsp; Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 04:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211179#M116</guid>
      <dc:creator>mrhicks</dc:creator>
      <dc:date>2012-12-19T04:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: eSDHC on the P1021</title>
      <link>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211180#M117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I contacted Freescale technical support and they were kind enough to tell me there is an issue with the P1021-MDS-PB development board.&amp;nbsp; From the errata, it states: "SD Card cannot be dynamically detected by the controller as the SD_CD pin from the connector are not connected to the controller".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/eSDHC-on-the-P1021/m-p/211180#M117</guid>
      <dc:creator>mrhicks</dc:creator>
      <dc:date>2012-12-21T18:50:30Z</dc:date>
    </item>
  </channel>
</rss>

