beautypg.com

4 enabling vic port, 5 vic port registers – Texas Instruments TMS320C64x DSP User Manual

Page 272

background image

Enabling VIC Port

6-5

VCXO Interpolated Control Port

SPRU629

6.4

Enabling VIC Port

Perform the following steps to enable the VIC port.

1) Clear the GO bit in the VIC control register (VICCTL) to 0.

2) Set the PRECISION bits in VICCTL to the desired precision.

3) Set the VIC clock divider register (VICDIV) bits to appropriate value based

on the precision and interpolation frequency.

4) Set the GO bit in VICCTL to 1.

5) The VIC input register (VICIN) is written into every time a new input code

is available for interpolation. Repeat step 3 as often as needed.

6.5

VIC Port Registers

The VIC port registers are listed in Table 6–3. See the device-specific data-
sheet for the memory address of these registers.

Table 6–3. VIC Port Registers

Acronym

Register Name

Section

VICCTL

VIC Control Register

6.5.1

VICIN

VIC Input Register

6.5.2

VICDIV

VIC Clock Divider Register

6.5.3

Enabling VIC Port / VIC Port Registers