G E N m o d u l e r e g i s t e r s

PORTA

AMODE=0

 

AMODE=1

 

bit

 

 

 

 

ADIR=0

ADIR=1

ADIR=0

ADIR=1

 

 

 

 

 

 

PORTA1

GPIO IN

GPIO OUT

SER1_CTS

DONE1_OUT_

 

 

 

 

 

PORTA0

GPIO IN

GPIO OUT

SER1_SPI_S_ENABLE_

SER1_SPI_M_ENABLE_

 

 

 

IN/SER1_DCD_/

OUT/SER1_OUT2

 

 

 

DONE1_IN_/

 

 

 

 

SER1_TXC IN

 

 

 

 

 

 

Table 30: PORTA configuration

Inputs

An input that provides one or more input signals to different blocks in the chip is always connected to those blocks. The target block must be configured to use the input; similarly, those blocks that should not use the input must be configured not to use it.

Outputs

Configuring a pin for an output function also enables the tri-state driver for that pin. There should be no external driver on a pin configured for output.

READBACK

When reading the ADATA field, the data read depends on how the pin is configured:

Configured as GPIO output. Reads data from the register whose data drives the pin. This can, for example, mask a short circuit on the output pin.

All other configurations. Reads the state of the pin.

PORTA4

When PORTA4 is configured with AMODE[4]=1:ADIR[4]=1, the configuration of Serial

Channel A determines the function SER1_SPI_M_CLK_OUT, SER1_OUT1, SER1_RXC_OUT.

PORTA2

The memory module configures the AMUX output signal. The AMUX configuration overrides the AMODE, ADIR, and ADATA fields.

PORTA0

When PORTA0 is configured with AMODE[0]=1:ADIR[0]=1, the configuration of Serial Channel A determines the function SER1_SPI_M_ENABLE_A_ OUT or SER1_OUT2.

7 6

N S 7 5 2 0 H a r d w a r e R e f e r e n c e , R e v . D 0 3 / 2 0 0 6

Page 90
Image 90
Digi NS7520 Inputs, Outputs, PORTA1 Gpio Gpio OUT SER1CTS DONE1OUT PORTA0 SER1SPISENABLE, IN/SER1DCD, DONE1IN SER1TXC