Forum Discussion

Ayayaya's avatar
Ayayaya
Icon for New Contributor rankNew Contributor
7 years ago

How to use BOOTSEL ping as GPIO

Hello everyone,

I use custom board with cyclonev chip.

I use BOOTSEL[2] and BOOTSEL[0] pings as GPIO28, 60 by bi-directional ping.

BOOTSEL[2] and [0] are pulled-up by 10k ohm and I can read ping level(high level) through GPIO_EXT_PORTA register.

But I can't set LOW both ping with GPIO_SWPORTA_DR and DDR registers.

How should I set parameters to any registers ?

Or are thre any restriction to use BOOTSEL pings as GPIO output?

1 Reply

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hello,

    BOOTSEL supposed to be input not output.

    I dont think you will be able to write to them.

    Thanks