Announcement

Collapse
No announcement yet.

Digital I/O

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Digital I/O

    Hi everyone,

    I'm trying to read or write on the digital PA12 (GPIO13) of a diablo.
    First of all, I mesure 3.3V with my DMM, the ouput never goes to 0 when I do that :
    Code:
    pin_Val(PA12,0);
    After, I put the pin as an input :
    Code:
    pin_Set(PIN_INP, PA12);
    And the return value of
    Code:
    pin_Read(PA12)
    is always 0.

    And when I connect a power supply on PA12 with +3.3V (no more), the value is always 0.
    A very simple example in attachment.

    My device :
    - ULCD70DT
    - 4D-UPA
    - WS4 Pro

    Regards.
    Attached Files

  • #2
    Ok, I've the response :

    "PA12 and PA13 are reserved and are used exclusively for the resistive touch controller, or the capacitive touch controller (DT/DCT models)."

    Comment


    • sherwin4D
      sherwin4D commented
      Editing a comment
      Hello SylvainLAURENT,

      Thank you for the update.

      Yes, in other words, you cannot use those pins unless the display module is a non-touch variant.

      Regards,
      Sherwin
Working...
X