The Input/Output Pins (I/O PINS) are for receiving external signals and sending signals out. These general purpose I/Os (GPIOs), can be configured as Analog and Digital inputs and outputs with the exception of PIN2 which can only serve as a digital input or external reset. Pins 9 and 10 can be configured with super drive 4x pull ups and/or pull downs.

External Reset Activation


To active PIN2 as an External Reset, set the ‘Reset’ parameter to ‘Enable’.

PARAMETERS


I/O selection:

Different mode selections per pin can have different restrictions on input/output types.

Pin not used: will default the PIN with a Pull down 1MOhm resistor;

Digital input;

Analog input/output;

Digital output;

Digital input/output;


Input mode OE=0:

Only available for Input or Input/Output Pins.

Digital in without Schmitt trigger;

Digital in with Schmiitt trigger: configures the PIN to have hysteresis which rejects fast and spurious signal transitions;

Low voltage digital input: the voltage threshold which determines HIGH from LOW is lower than in regular Digital input mode;


Output mode OE=1:

Only available for Output or Input/Output Pins

1x push pull;

2x push pull;

1x open drain NMOS;

2x open drain NMOS;

1x open drain PMOS;

2x open drain PMOS;


Resistor:

Available for both Input and Output modes. All ports are in Hi-Z state until chip is powered up.

Pull down resistor: Default low;

Pull up resistor: Default high;

Floating: no resistor;


Resistor value:

If a Pull up or Pull down resistor was chosen for the Resistor parameter, there are three selectable resistor values.

10k: strongest pull up/down;

100k: medium pull up/down;

1M: weakest pull up/down;


Reset: (PIN2 only)

Reset the chip while powered on. PIN2 must be configured as a Digital Input. Unlike POR, External Reset affects only GPI, LUTs, DLY, RC OSC, DFFs, Latches, PIPE DELAY, Matrix and GPO. NVM remains in its previous state.
During External Reset, the output pin’s status will depend on the OE control circuits. Enabling this parameter unlocks ‘Bypass’ and ‘Edge detect mode’.

For more information, see Datasheet section 22.7 External reset

Bypass: (PIN2 External Reset only)

Select whether the External Reset is level sensitive or edge sensitive. To enable this parameter, PIN2 must be configured as a Digital Input and Reset Enabled.

Edge active: Edge sensitive. An edge on PIN2 resets the device and begins the reset power on sequence;

High active: Level sensitive. If the input is HIGH, then the device is in a reset mode where all internal devices are reset. When this pin goes LOW, then the device will begin the reset power on sequence;


For more information, see Datasheet section 22.7 External reset

Edge detect mode: (PIN2 External Reset and Edge Active only)

If ‘Edge active’ mode is selected, define which edge the reset is sensitive to.

Rising Edge: The Rising Edge resets the device;

Falling Edge: The Falling Edge resets the device;


For more information, see Datasheet section 22.7 External reset