Texas Instruments TMS320C64x DSP Benutzerhandbuch

Seite von 306
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
VICIN
VIC Input Register
VICDIV
VIC Clock Divider Register
Enabling VIC Port / VIC Port Registers