Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 Oct 2004 05:07 PM by  mikea@logicpd.com
Port G and H, multiplexed but want as GPIO
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mpinton
New Member
New Member
Posts:


--
29 Oct 2004 03:14 PM
    Hi,
    Our device wants to use Ports G and H as GPIO not as PC Card 1 and 2. When using the development system (CardEngine & app board), I tried disabling the cards via PCMCIACON register PC12EN bits (e.g. I wrote 0's to bit 0 and 1 of that register). [When inspecting the register, prior to me changing the register both bits were 1.] As soon as I did that, CE went off to never-never land (no exception, just off, lost contact with the debugger). Does the BSP "require" that th PC Card bits be enabled? Is there anything else I need to do? I do not include the PCMCIA drivers in my build.

    TIA,
    /michel
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    29 Oct 2004 05:07 PM
    Michel,
    When using Port G and H as GPIO, the PCMCIA control signals going striaght to the on-board CPLD cause a lock-up. In order to prevent this, you must set a bit in the CPLD. This bit is in the GPIO Direction Register (0x71A00000) and GPACT (GPIO Active), bit 1. It will make the CPLD ignore the PCMCIA signals.

    GPIO Direction Register (0x71A00000)
    GPACT - bit 1
    0 = PCMCIA Control active
    1 = PCMCIA Control deactivated (GPIO Mode)

    You can check out PCN 239 for more information and also the I/O Controller spec.

    Also, one other document, White Paper 264 (LH7A400-10 GPIO Usage) is a good reference.

    Thanks,
    Mike A.
    You are not authorized to post a reply.